All files / test/Ice/moduleAggregation/external Test.js

81.81% Statements 27/33
100% Branches 2/2
25% Functions 1/4
81.81% Lines 27/33

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 341x 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 { 
    Outer as test_nested_modules_Outer, } from "test_nested_modules"
export const External = {};
 
External.UsesModuleType = class {
    constructor(first = new test_nested_modules_Outer.Inner.First()) {
        this.first = first;
    }
 
    _write(ostr) {
        test_nested_modules_Outer.Inner.First.write(ostr, this.first);
    }
 
    _read(istr) {
        this.first = test_nested_modules_Outer.Inner.First.read(istr, this.first);
    }
 
    static get minWireSize() {
        return  4;
    }
};
 
Ice.defineStruct(External.UsesModuleType, true, false);