All files / test/Ice/inheritance InitialI.js

100% Statements 62/62
100% Branches 16/16
100% Functions 15/15
100% Lines 62/62

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 631x 1x 1x 1x 4x 4x 1x 1x 1x 4x 4x 1x 4x 4x 1x 1x 1x 4x 4x 1x 4x 4x 1x 1x 1x 4x 4x 1x 4x 4x 1x 4x 4x 1x 4x 4x 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.
import { Test } from "./Test.js";
export class IAI extends Test.MA.IA {
    iaop(p, _) {
        return p;
    }
}
export class IB1I extends Test.MB.IB1 {
    iaop(p, _) {
        return p;
    }
    ib1op(p, _) {
        return p;
    }
}
export class IB2I extends Test.MB.IB2 {
    iaop(p, _) {
        return p;
    }
    ib2op(p, _) {
        return p;
    }
}
export class ICI extends Test.MA.IC {
    iaop(p, _) {
        return p;
    }
    icop(p, _) {
        return p;
    }
    ib1op(p, _) {
        return p;
    }
    ib2op(p, _) {
        return p;
    }
}
export class InitialI extends Test.Initial {
    constructor(adapter, obj) {
        super();
        const endpoints = obj.ice_getEndpoints();
        this._ia = Test.MA.IAPrx.uncheckedCast(adapter.addWithUUID(new IAI()).ice_endpoints(endpoints));
        this._ib1 = Test.MB.IB1Prx.uncheckedCast(adapter.addWithUUID(new IB1I()).ice_endpoints(endpoints));
        this._ib2 = Test.MB.IB2Prx.uncheckedCast(adapter.addWithUUID(new IB2I()).ice_endpoints(endpoints));
        this._ic = Test.MA.ICPrx.uncheckedCast(adapter.addWithUUID(new ICI()).ice_endpoints(endpoints));
    }
    iaop(_) {
        return this._ia;
    }
    ib1op(_) {
        return this._ib1;
    }
    ib2op(_) {
        return this._ib2;
    }
    icop(_) {
        return this._ic;
    }
    shutdown(current) {
        current.adapter.getCommunicator().shutdown();
    }
}