All files / test/Slice/moduleName test-dep.js

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

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 321x 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-dep.ice'.</auto-generated>
 
/* eslint-disable */
/* jshint ignore: start */
 
import { Ice } from "@zeroc/ice";
 
export const Test = {};
 
Test.Foo = class {
    constructor(x = 0) {
        this.x = x;
    }
 
    _write(ostr) {
        ostr.writeInt(this.x);
    }
 
    _read(istr) {
        this.x = istr.readInt();
    }
 
    static get minWireSize() {
        return  4;
    }
};
 
Ice.defineStruct(Test.Foo, true, false);