All files / test/Ice/moduleAggregation/relative First.js

81.25% Statements 52/64
75% Branches 3/4
25% Functions 2/8
81.25% Lines 52/64

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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 651x 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     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 'First.ice'.</auto-generated>
 
/* eslint-disable */
/* jshint ignore: start */
 
import { Ice } from "@zeroc/ice";
 
import { 
    Outer as __FirstDeep_Outer, 
    Transitive2 as __FirstDeep_Transitive2, } from "./FirstDeep.js"
 
const Outer = {
    ...__FirstDeep_Outer,
};
 
const Transitive2 = {
    ...__FirstDeep_Transitive2,
};
export { Outer };
Outer.Inner = Outer.Inner || {};
Outer.Inner.Deep = Outer.Inner.Deep || {};
 
Outer.Inner.First = class {
    constructor(value = 0) {
        this.value = value;
    }
 
    _write(ostr) {
        ostr.writeInt(this.value);
    }
 
    _read(istr) {
        this.value = istr.readInt();
    }
 
    static get minWireSize() {
        return  4;
    }
};
 
Ice.defineStruct(Outer.Inner.First, true, false);
 
Outer.Inner.Deep.DeepFirst = class {
    constructor(deepValue = 0) {
        this.deepValue = deepValue;
    }
 
    _write(ostr) {
        ostr.writeInt(this.deepValue);
    }
 
    _read(istr) {
        this.deepValue = istr.readInt();
    }
 
    static get minWireSize() {
        return  4;
    }
};
 
Ice.defineStruct(Outer.Inner.Deep.DeepFirst, true, false);