Lines Matching refs:xLBT
222 T const & value, Reference< XBridgeTest > const & xLBT, in testAny()
227 Any any2 = xLBT->transportAny(any); in testAny()
256 static sal_Bool performAnyTest( const Reference< XBridgeTest > &xLBT, const TestData &data) in performAnyTest() argument
259 bReturn = testAny( data.Byte ,xLBT ) && bReturn; in performAnyTest()
260 bReturn = testAny( data.Short,xLBT ) && bReturn; in performAnyTest()
261 bReturn = testAny( data.UShort,xLBT ) && bReturn; in performAnyTest()
262 bReturn = testAny( data.Long,xLBT ) && bReturn; in performAnyTest()
263 bReturn = testAny( data.ULong,xLBT ) && bReturn; in performAnyTest()
264 bReturn = testAny( data.Hyper,xLBT ) && bReturn; in performAnyTest()
265 bReturn = testAny( data.UHyper,xLBT ) && bReturn; in performAnyTest()
266 bReturn = testAny( data.Float,xLBT ) && bReturn; in performAnyTest()
267 bReturn = testAny( data.Double,xLBT ) && bReturn; in performAnyTest()
268 bReturn = testAny( data.Enum,xLBT ) && bReturn; in performAnyTest()
269 bReturn = testAny( data.String,xLBT ) && bReturn; in performAnyTest()
270 bReturn = testAny( data.Interface,xLBT ) && bReturn; in performAnyTest()
271 bReturn = testAny( data, xLBT ) && bReturn; in performAnyTest()
273 TestPolyStruct< sal_Unicode >(' '), xLBT, in performAnyTest()
279 Any a2 = xLBT->transportAny( a ); in performAnyTest()
285 Any a2 = xLBT->transportAny( a ); in performAnyTest()
293 static sal_Bool performSequenceOfCallTest( const Reference < XBridgeTest > &xLBT ) in performSequenceOfCallTest() argument
303 xLBT->callOneway( nGlobalIndex , nWaitTimeSpanMUSec ); in performSequenceOfCallTest()
308 xLBT->call( nGlobalIndex , nWaitTimeSpanMUSec ); in performSequenceOfCallTest()
312 return xLBT->sequenceOfCallTestPassed(); in performSequenceOfCallTest()
338 static sal_Bool performRecursiveCallTest( const Reference < XBridgeTest > & xLBT ) in performRecursiveCallTest() argument
340 xLBT->startRecursiveCall( new ORecursiveCall , 50 ); in performRecursiveCallTest()
376 const Reference<XBridgeTest > & xLBT, in performTest()
379 check(xLBT.is(), "### no test interface!"); in performTest()
381 if (xLBT.is()) { in performTest()
407 xLBT->setValues( in performTest()
416 xLBT->getValues( in performTest()
425 xLBT->setValues2( in performTest()
443 xLBT->getValues( in performTest()
453 xLBT->setBool(aRet.Bool); in performTest()
454 xLBT->setChar(aRet.Char); in performTest()
455 xLBT->setByte(aRet.Byte); in performTest()
456 xLBT->setShort(aRet.Short); in performTest()
457 xLBT->setUShort(aRet.UShort); in performTest()
458 xLBT->setLong(aRet.Long); in performTest()
459 xLBT->setULong(aRet.ULong); in performTest()
460 xLBT->setHyper(aRet.Hyper); in performTest()
461 xLBT->setUHyper(aRet.UHyper); in performTest()
462 xLBT->setFloat(aRet.Float); in performTest()
463 xLBT->setDouble(aRet.Double); in performTest()
464 xLBT->setEnum(aRet.Enum); in performTest()
465 xLBT->setString(aRet.String); in performTest()
466 xLBT->setInterface(aRet.Interface); in performTest()
467 xLBT->setAny(aRet.Any); in performTest()
468 xLBT->setSequence(aRet.Sequence); in performTest()
469 xLBT->setStruct(aRet2); in performTest()
473 aRet.Hyper = xLBT->getHyper(); in performTest()
474 aRet.UHyper = xLBT->getUHyper(); in performTest()
475 aRet.Float = xLBT->getFloat(); in performTest()
476 aRet.Double = xLBT->getDouble(); in performTest()
477 aRet.Byte = xLBT->getByte(); in performTest()
478 aRet.Char = xLBT->getChar(); in performTest()
479 aRet.Bool = xLBT->getBool(); in performTest()
480 aRet.Short = xLBT->getShort(); in performTest()
481 aRet.UShort = xLBT->getUShort(); in performTest()
482 aRet.Long = xLBT->getLong(); in performTest()
483 aRet.ULong = xLBT->getULong(); in performTest()
484 aRet.Enum = xLBT->getEnum(); in performTest()
485 aRet.String = xLBT->getString(); in performTest()
486 aRet.Interface = xLBT->getInterface(); in performTest()
487 aRet.Any = xLBT->getAny(); in performTest()
488 aRet.Sequence = xLBT->getSequence(); in performTest()
489 TestData aRet2(xLBT->getStruct()); in performTest()
495 SmallStruct aOut(xLBT->echoSmallStruct(aIn)); in performTest()
502 MediumStruct aOut(xLBT->echoMediumStruct(aIn)); in performTest()
509 BigStruct aOut(xLBT->echoBigStruct(aIn)); in performTest()
516 AllFloats aOut(xLBT->echoAllFloats(aIn)); in performTest()
522 sal_Int32 i2 = xLBT->testPPCAlignment(0, 0, 0, 0, 0xBEAF); in performTest()
527 xLBT->getRaiseAttr1(); in performTest()
534 xLBT->setRaiseAttr1(0); in performTest()
541 xLBT->getRaiseAttr2(); in performTest()
556 (xLBT->transportPolyBoolean( in performTest()
561 xLBT->transportPolyHyper(tps1); in performTest()
568 xLBT->transportPolySequence(tps2, tps3); in performTest()
581 xLBT->getNullPolyLong().member == 0, "getNullPolyLong"); in performTest()
583 xLBT->getNullPolyString().member.getLength() == 0, in performTest()
586 xLBT->getNullPolyType().member == Type(), in performTest()
588 Any nullAny(xLBT->getNullPolyAny().member); in performTest()
599 xLBT->getNullPolySequence().member.getLength() == 0, in performTest()
602 xLBT->getNullPolyEnum().member == TestEnum_TEST, in performTest()
605 xLBT->getNullPolyBadEnum().member == TestBadEnum_M, in performTest()
608 xLBT->getNullPolyStruct().member.member == 0, in performTest()
611 !xLBT->getNullPolyInterface().member.is(), in performTest()
617 bRet &= check(performAnyTest(xLBT , aData), "any test"); in performTest()
620 performSequenceOfCallTest(xLBT), "sequence of call test"); in performTest()
622 bRet &= check(performRecursiveCallTest(xLBT), "recursive test"); in performTest()
628 testtools::bridgetest::testMulti(xLBT->getMulti()), in performTest()
631 xLBT->testMulti(new testtools::bridgetest::Multi), in performTest()
636 Reference< XBridgeTest2 > xBT2(xLBT, UNO_QUERY); in performTest()
926 static sal_Bool raiseOnewayException( const Reference < XBridgeTest > & xLBT ) in raiseOnewayException() argument
930 Reference<XInterface> const x(xLBT->getInterface()); in raiseOnewayException()
935 xLBT->raiseRuntimeExceptionOneway( sCompare, x ); in raiseOnewayException()
944 xLBT->getInterface() == e.Context && in raiseOnewayException()
951 static sal_Bool raiseException( const Reference< XBridgeTest > & xLBT ) in raiseException() argument
961 xLBT->raiseException( in raiseException()
963 xLBT->getInterface() ); in raiseException()
972 aExc.Context == xLBT->getInterface()) in raiseException()
989 xLBT->getRuntimeException(); in raiseException()
994 if (rExc.Context == xLBT->getInterface() in raiseException()
1009 xLBT->setRuntimeException( 0xcafebabe ); in raiseException()
1014 if (rExc.Context == xLBT->getInterface() in raiseException()
1211 Reference<XBridgeTest > xLBT; in run() local
1212 bRet = check( makeSurrogate( xLBT, xTest ), "makeSurrogate" ); in run()
1214 performTest( m_xContext, xLBT, noCurrentContext ), "standard test" ) in run()
1216 bRet = check( raiseException( xLBT ) , "exception test" )&& bRet; in run()
1217 bRet = check( raiseOnewayException( xLBT ), in run()