All files / test/Slice/moduleName Test.js

83.78% Statements 31/37
100% Branches 2/2
25% Functions 1/4
83.78% Lines 31/37

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 381x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x     1x 1x     1x 1x     1x 1x 1x  
// Copyright (c) ZeroC, Inc.
 
// slice2js version 3.9.0-alpha.0
// <auto-generated>Generated from Slice file 'Test.ice'.</auto-generated>
 
/* eslint-disable */
/* jshint ignore: start */
 
import { Ice } from "@zeroc/ice";
 
import { 
    Test as __test_dep_Test, } from "./test-dep.js"
 
const Test = {
    ...__test_dep_Test,
};
export const MyTest = {};
 
MyTest.Bar = class {
    constructor(foo = new Test.Foo()) {
        this.foo = foo;
    }
 
    _write(ostr) {
        Test.Foo.write(ostr, this.foo);
    }
 
    _read(istr) {
        this.foo = Test.Foo.read(istr, this.foo);
    }
 
    static get minWireSize() {
        return  4;
    }
};
 
Ice.defineStruct(MyTest.Bar, true, false);