Lines Matching refs:xLBT

249 static bool testAny(Type typ, Object  value, XBridgeTest xLBT )  in testAny()  argument
257 Any any2 = xLBT.transportAny(any); in testAny()
269 static bool performAnyTest(XBridgeTest xLBT, TestDataElements data) in performAnyTest() argument
272 bReturn = testAny( null, data.Byte ,xLBT ) && bReturn; in performAnyTest()
273 bReturn = testAny( null, data.Short,xLBT ) && bReturn; in performAnyTest()
274 bReturn = testAny( null, data.UShort,xLBT ) && bReturn; in performAnyTest()
275 bReturn = testAny( null, data.Long,xLBT ) && bReturn; in performAnyTest()
276 bReturn = testAny( null, data.ULong,xLBT ) && bReturn; in performAnyTest()
277 bReturn = testAny( null, data.Hyper,xLBT ) && bReturn; in performAnyTest()
278 bReturn = testAny( null,data.UHyper,xLBT ) && bReturn; in performAnyTest()
279 bReturn = testAny( null, data.Float,xLBT ) && bReturn; in performAnyTest()
280 bReturn = testAny( null, data.Double,xLBT ) && bReturn; in performAnyTest()
281 bReturn = testAny( null, data.Enum,xLBT ) && bReturn; in performAnyTest()
282 bReturn = testAny( null, data.String,xLBT ) && bReturn; in performAnyTest()
283 bReturn = testAny(typeof(XWeak), data.Interface,xLBT ) && bReturn; in performAnyTest()
284 bReturn = testAny(null, data, xLBT ) && bReturn; in performAnyTest()
288 Any a2 = xLBT.transportAny( a1 ); in performAnyTest()
294 Any a2 = xLBT.transportAny(a1); in performAnyTest()
300 static bool performSequenceOfCallTest(XBridgeTest xLBT) in performSequenceOfCallTest() argument
310 xLBT.callOneway(nGlobalIndex, nWaitTimeSpanMUSec); in performSequenceOfCallTest()
315 xLBT.call(nGlobalIndex, nWaitTimeSpanMUSec); in performSequenceOfCallTest()
318 return xLBT.sequenceOfCallTestPassed(); in performSequenceOfCallTest()
324 static bool performRecursiveCallTest(XBridgeTest xLBT) in performRecursiveCallTest() argument
326 xLBT.startRecursiveCall(new ORecursiveCall(), 50); in performRecursiveCallTest()
331 static bool performQueryForUnknownType(XBridgeTest xLBT) in performQueryForUnknownType() argument
337 foo.MyInterface a = (foo.MyInterface) xLBT; in performQueryForUnknownType()
348 bool performTest(XBridgeTest xLBT) in performTest() argument
350 check( xLBT != null, "### no test interface!" ); in performTest()
352 if (xLBT == null) in performTest()
400 xLBT.setValues( in performTest()
408 xLBT.getValues( in performTest()
417 TestDataElements aSV2ret = xLBT.setValues2( in performTest()
436 TestDataElements aGVret = xLBT.getValues( in performTest()
446 xLBT.Bool = aRet.Bool; in performTest()
447 xLBT.Char = aRet.Char; in performTest()
448 xLBT.Byte = aRet.Byte; in performTest()
449 xLBT.Short = aRet.Short; in performTest()
450 xLBT.UShort = aRet.UShort; in performTest()
451 xLBT.Long = aRet.Long; in performTest()
452 xLBT.ULong = aRet.ULong; in performTest()
453 xLBT.Hyper = aRet.Hyper; in performTest()
454 xLBT.UHyper = aRet.UHyper; in performTest()
455 xLBT.Float = aRet.Float; in performTest()
456 xLBT.Double = aRet.Double; in performTest()
457 xLBT.Enum = aRet.Enum; in performTest()
458 xLBT.String = aRet.String; in performTest()
459 xLBT.Interface = aRet.Interface; in performTest()
460 xLBT.Any = aRet.Any; in performTest()
461 xLBT.Sequence = aRet.Sequence; in performTest()
462 xLBT.Struct = aRet2; in performTest()
467 aRet.Hyper = xLBT.Hyper; in performTest()
468 aRet.UHyper = xLBT.UHyper; in performTest()
469 aRet.Float = xLBT.Float; in performTest()
470 aRet.Double = xLBT.Double; in performTest()
471 aRet.Byte = xLBT.Byte; in performTest()
472 aRet.Char = xLBT.Char; in performTest()
473 aRet.Bool = xLBT.Bool; in performTest()
474 aRet.Short = xLBT.Short; in performTest()
475 aRet.UShort = xLBT.UShort; in performTest()
476 aRet.Long = xLBT.Long; in performTest()
477 aRet.ULong = xLBT.ULong; in performTest()
478 aRet.Enum = xLBT.Enum; in performTest()
479 aRet.String = xLBT.String; in performTest()
480 aRet.Interface = xLBT.Interface; in performTest()
481 aRet.Any = xLBT.Any; in performTest()
482 aRet.Sequence = xLBT.Sequence; in performTest()
483 aRet2 = xLBT.Struct; in performTest()
487 bRet = check(performSequenceTest(xLBT), "sequence test") && bRet; in performTest()
490 bRet = check( performAnyTest( xLBT , aData ) , "any test" ) && bRet; in performTest()
493 bRet = check( performSequenceOfCallTest( xLBT ) , "sequence of call test" ) && bRet; in performTest()
496 bRet = check( performRecursiveCallTest( xLBT ) , "recursive test" ) && bRet; in performTest()
501 xLBT.Interface = null; in performTest()
502 aRet.Interface = xLBT.Interface; in performTest()
508 int i = xLBT.RaiseAttr1; in performTest()
517 xLBT.RaiseAttr1 = 0; in performTest()
524 int i = xLBT.RaiseAttr2; in performTest()
535 (bool) xLBT.transportPolyBoolean(poly).member, in performTest()
538 xLBT.transportPolyHyper(ref poly); in performTest()
544 xLBT.transportPolySequence(poly, out poly2); in performTest()
566 TestPolyStruct s = xLBT.getNullPolyLong(); in performTest()
570 s = xLBT.getNullPolyString(); in performTest()
574 s = xLBT.getNullPolyType(); in performTest()
578 s = xLBT.getNullPolyAny(); in performTest()
586 s = xLBT.getNullPolySequence(); in performTest()
590 s = xLBT.getNullPolyEnum(); in performTest()
594 s = xLBT.getNullPolyStruct(); in performTest()
598 s = xLBT.getNullPolyInterface(); in performTest()
601 s = xLBT.getNullPolyBadEnum(); in performTest()
611 XBridgeTest2 xBT2 = xLBT as XBridgeTest2; in performTest()
863 static bool testObjectMethodsImplemention(XBridgeTest xLBT) in testObjectMethodsImplemention() argument
867 Object xInt = (Object) xLBT; in testObjectMethodsImplemention()
868 XBridgeTestBase xBase = xLBT as XBridgeTestBase; in testObjectMethodsImplemention()
872 ret = xLBT.Equals(obj) == false; in testObjectMethodsImplemention()
873 ret = xLBT.Equals(xLBT) && ret; in testObjectMethodsImplemention()
875 ret = Object.Equals(xLBT, xBase) && ret; in testObjectMethodsImplemention()
878 int nHash = xLBT.GetHashCode(); in testObjectMethodsImplemention()
883 string s = xLBT.ToString(); in testObjectMethodsImplemention()
889 static bool raiseOnewayException(XBridgeTest xLBT) in raiseOnewayException() argument
897 xLBT.raiseRuntimeExceptionOneway(sCompare, xLBT.Interface ); in raiseOnewayException()
901 bReturn = ( xLBT.Interface == e.Context ); in raiseOnewayException()
907 static bool raiseException(XBridgeTest xLBT ) in raiseException() argument
918 xLBT.raiseException( in raiseException()
919 5, Constants.STRING_TEST_CONSTANT, xLBT.Interface ); in raiseException()
924 aExc.Context == xLBT.Interface) in raiseException()
935 xLBT.RuntimeException = 0; in raiseException()
940 if (rExc.Context == xLBT.Interface ) in raiseException()
952 xLBT.RuntimeException = (int) 0xcafebabe; in raiseException()
958 if (rExc.Context == xLBT.Interface) in raiseException()
972 private void perform_test( XBridgeTest xLBT ) in perform_test() argument
975 bRet = check( performTest( xLBT ), "standard test" ) && bRet; in perform_test()
976 bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; in perform_test()
977 bRet = check( raiseOnewayException( xLBT ), "oneway exception test" ) && bRet; in perform_test()
978 bRet = check( testObjectMethodsImplemention(xLBT), "object methods test") && bRet; in perform_test()
979 bRet = performQueryForUnknownType( xLBT ) && bRet; in perform_test()