Ejemplo n.º 1
0
        public void testCallClientFromClientThrowEx()
        {
            log.info("testCallClientFromClientThrowEx(");


            BSkeleton_ClientIF partner = new MyClientIF_throwEx();

            BClient_Testser client2 = TestUtilsHttp.createClient();

            client2.addRemote(partner);

            client.ServerIF.SetPartner(partner);

            ClientIF partnerIF = client.ServerIF.GetPartner();

            try
            {
                partnerIF.IncrementInt(7);
            }
            catch (BException e)
            {
                TestUtils.assertEquals(log, "exception", exceptionCode, e.Code);
            }
            log.info(")testCallClientFromClientThrowEx");
        }
Ejemplo n.º 2
0
        public void testCallClientFromClientThrowEx()
        {
            log.info("testCallClientFromClientThrowEx(");


            BSkeleton_ClientIF partner = new MyClientIF_throwEx();

            BClient_Testser client2 = TestUtilsHttp.createClient();
            client2.addRemote(partner);

            client.ServerIF.SetPartner(partner);

            ClientIF partnerIF = client.ServerIF.GetPartner();
            try
            {
                partnerIF.IncrementInt(7);
            }
            catch (BException e)
            {
                TestUtils.assertEquals(log, "exception", exceptionCode, e.Code);
            }
            log.info(")testCallClientFromClientThrowEx");
        }