Lines Matching refs:inv

68 bool doSimpleTest(const Reference<XInvocation> & inv);
69 bool doSimpleSequenceTest(const Reference<XInvocation> & inv);
70 bool doParameterTest(const Reference<XInvocation> & inv);
71 bool doPropertyWithArgumentTest(const Reference<XInvocation> & inv);
112 bool doParameterTest(const Reference<XInvocation> & inv) in doParameterTest() argument
208 inv->invoke(OUString(L"optional3"), seqPositional, seqIndices, seqOut); in doParameterTest()
211 inv->invoke(OUString(L"optional5"), seqPositional, seqIndices, seqOut); in doParameterTest()
218 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
221 inv->invoke(OUString(L"optional3"), seqPositional2, seqIndices, seqOut); in doParameterTest()
224 inv->invoke(OUString(L"optional5"), seqPositional, seqIndices, seqOut); in doParameterTest()
231 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
234 inv->invoke(OUString(L"optional3"), seqNoArgs, seqIndices, seqOut); in doParameterTest()
237 inv->invoke(OUString(L"optional5"), seqPositional3, seqIndices, seqOut); in doParameterTest()
246 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
249 inv->invoke(OUString(L"optional3"), seqNamed, seqIndices, seqOut); in doParameterTest()
252 inv->invoke(OUString(L"optional5"), seqPositional0, seqIndices, seqOut); in doParameterTest()
259 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
262 inv->invoke(OUString(L"optional3"), seqNamed2, seqIndices, seqOut); in doParameterTest()
265 inv->invoke(OUString(L"optional5"), seqPositional, seqIndices, seqOut); in doParameterTest()
272 inv->invoke(OUString(L"optional3"), seqNamed, seqIndices, seqOut); in doParameterTest()
275 inv->invoke(OUString(L"optional5"), seqNamed3, seqIndices, seqOut); in doParameterTest()
282 inv->invoke(OUString(L"optional3"), seqNamed, seqIndices, seqOut); in doParameterTest()
285 inv->invoke(OUString(L"optional5"), seqNamed4, seqIndices, seqOut); in doParameterTest()
293 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
296 inv->invoke(OUString(L"optional3"), seqNamed5, seqIndices, seqOut); in doParameterTest()
299 inv->invoke(OUString(L"optional5"), seqPositional, seqIndices, seqOut); in doParameterTest()
305 inv->invoke(OUString(L"optional3"), seqPositional0, seqIndices, seqOut); in doParameterTest()
308 inv->invoke(OUString(L"optional3"), seqNamed6, seqIndices, seqOut); in doParameterTest()
311 inv->invoke(OUString(L"optional5"), seqPositional, seqIndices, seqOut); in doParameterTest()
318 inv->invoke(OUString(L"optional6"), seqMix0, seqIndices, seqOut); in doParameterTest()
321 inv->invoke(OUString(L"optional6"), seqMix, seqIndices, seqOut); in doParameterTest()
324 inv->invoke(OUString(L"optional7"), seqMix, seqIndices, seqOut); in doParameterTest()
331 inv->invoke(OUString(L"optional6"), seqMix0, seqIndices, seqOut); in doParameterTest()
334 inv->invoke(OUString(L"optional6"), seqMix2, seqIndices, seqOut); in doParameterTest()
337 inv->invoke(OUString(L"optional7"), seqMix0, seqIndices, seqOut); in doParameterTest()
344 inv->invoke(OUString(L"optional6"), seqMix2, seqIndices, seqOut); in doParameterTest()
347 inv->invoke(OUString(L"optional7"), seqMix2Out, seqIndices, seqOut); in doParameterTest()
354 bool doPropertyTest(const Reference<XInvocation> & inv) in doPropertyTest() argument
380 inv->setValue(OUString(L"prpBool"), inBool); in doPropertyTest()
381 outBool = inv->getValue(OUString(L"prpBool")); in doPropertyTest()
384 inv->setValue(OUString(L"prpByte"), inByte); in doPropertyTest()
385 outByte = inv->getValue(OUString(L"prpByte")); in doPropertyTest()
388 inv->setValue(OUString(L"prpShort"), inShort); in doPropertyTest()
389 outShort = inv->getValue(OUString(L"prpShort")); in doPropertyTest()
392 inv->setValue(OUString(L"prpLong"), inLong // TODO: Add your implementation code here in doPropertyTest()
394 outLong = inv->getValue(OUString(L"prpLong")); in doPropertyTest()
397 inv->setValue(OUString(L"prpString"), inString); in doPropertyTest()
398 outString = inv->getValue(OUString(L"prpString")); in doPropertyTest()
401 inv->setValue(OUString(L"prpFloat"), inFloat); in doPropertyTest()
402 outFloat = inv->getValue(OUString(L"prpFloat")); in doPropertyTest()
405 inv->setValue(OUString(L"prpDouble"), inDouble); in doPropertyTest()
406 outDouble = inv->getValue(OUString(L"prpDouble")); in doPropertyTest()
409 inv->setValue(OUString(L"prpVariant"), inVariant); in doPropertyTest()
410 outVariant = inv->getValue(OUString(L"prpVariant")); in doPropertyTest()
412 inObject <<= inv; in doPropertyTest()
413 inv->setValue(OUString(L"prpObject"), inObject); in doPropertyTest()
414 outObject = inv->getValue(OUString(L"prpObject")); in doPropertyTest()
417 inv->setValue(OUString(L"prpUnknown"), inUnknown); in doPropertyTest()
418 outUnknown = inv->getValue(OUString(L"prpUnknown")); in doPropertyTest()
422 inv->setValue(OUString(L"prpCurrency"), inCY); in doPropertyTest()
423 outCY = inv->getValue(OUString(L"prpCurrency")); in doPropertyTest()
427 inv->setValue(OUString(L"prpDate"), inDate); in doPropertyTest()
428 outDate = inv->getValue(OUString(L"prpDate")); in doPropertyTest()
432 inv->setValue(OUString(L"prpDecimal"), inDecimal); in doPropertyTest()
433 outDecimal = inv->getValue(OUString(L"prpDecimal")); in doPropertyTest()
437 inv->setValue(OUString(L"prpSCode"), inSCode); in doPropertyTest()
438 outSCode = inv->getValue(OUString(L"prpSCode")); in doPropertyTest()
441 inv->setValue(OUString(L"prprefLong"), inrefLong); in doPropertyTest()
442 outrefLong = inv->getValue(OUString(L"prprefLong")); in doPropertyTest()
445 inv->setValue(OUString(L"prprefVariant"), inrefVariant); in doPropertyTest()
446 outrefVariant = inv->getValue(OUString(L"prprefVariant")); in doPropertyTest()
450 inv->setValue(OUString(L"prprefDecimal"), inrefDecimal); in doPropertyTest()
451 outrefDecimal = inv->getValue(OUString(L"prprefDecimal")); in doPropertyTest()
464 bool doPropertyWithArgumentTest(const Reference<XInvocation> & inv) in doPropertyWithArgumentTest() argument
522 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut0, seqIndices, seqOut); in doPropertyWithArgumentTest()
525 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut1, seqIndices, seqOut); in doPropertyWithArgumentTest()
529 Any anyRet = inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgGet0, in doPropertyWithArgumentTest()
540 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut0, seqIndices, seqOut); in doPropertyWithArgumentTest()
543 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut2, seqIndices, seqOut); in doPropertyWithArgumentTest()
546 anyRet = inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgGet0, in doPropertyWithArgumentTest()
561 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut0, seqIndices, seqOut); in doPropertyWithArgumentTest()
564 inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgPut3, seqIndices, seqOut); in doPropertyWithArgumentTest()
567 anyRet = inv->invoke(OUString(L"prpMultiArg1"), seqMultiArgGet0, in doPropertyWithArgumentTest()
582 inv->invoke(OUString(L"prpMultiArg2"), seqMultiArgPut5, seqIndices, seqOut); in doPropertyWithArgumentTest()
585 inv->invoke(OUString(L"prpMultiArg2GetValues"), seqMultiVoid, seqIndices, seqOut); in doPropertyWithArgumentTest()
591 anyRet = inv->invoke(OUString(L"prpMultiArg2"), seqMultiArgPut6, in doPropertyWithArgumentTest()
595 anyRet = inv->invoke(OUString(L"prpMultiArg2GetValues"), seqMultiVoid, in doPropertyWithArgumentTest()
605 inv->invoke(OUString(L"prpMultiArg3"), seqMultiArgPut5, seqIndices, seqOut); in doPropertyWithArgumentTest()
608 inv->invoke(OUString(L"prpMultiArg3"), seqMultiArgPut6, seqIndices, seqOut); in doPropertyWithArgumentTest()
611 anyRet = inv->invoke(OUString(L"prpMultiArg3"), seqMultiArgGet2, seqIndices, seqOut); in doPropertyWithArgumentTest()
619 if (inv->hasProperty(OUSTR("prpMultiArg1"))) in doPropertyWithArgumentTest()
621 if ( ! inv->hasMethod(OUSTR("prpMultiArg1"))) in doPropertyWithArgumentTest()
623 if ( ! inv->hasProperty(OUSTR("prprefLong"))) in doPropertyWithArgumentTest()
625 if (inv->hasMethod(OUSTR("prprefLong"))) in doPropertyWithArgumentTest()
627 if ( ! inv->hasMethod(OUSTR("inLong"))) in doPropertyWithArgumentTest()
632 bool doSimpleTest(const Reference<XInvocation> & inv) in doSimpleTest() argument
661 inv->invoke(OUString(L"inBool"), Sequence< Any > ( &inBool, 1), seqIndices, seqOut); in doSimpleTest()
664 inv->invoke(OUString(L"outBool"), Sequence< Any > ( & outBool, 1), seqIndices, seqOut); in doSimpleTest()
668 inv->invoke(OUString(L"inByte"), Sequence< Any > ( & inByte, 1), seqIndices, seqOut); in doSimpleTest()
671 inv->invoke(OUString(L"outByte"), Sequence< Any > ( & outByte, 1), seqIndices, seqOut); in doSimpleTest()
675 inv->invoke(OUString(L"inShort"), Sequence< Any > ( & inShort, 1), seqIndices, seqOut); in doSimpleTest()
678 inv->invoke(OUString(L"outShort"), Sequence< Any > ( & outShort, 1), seqIndices, seqOut); in doSimpleTest()
682 inv->invoke(OUString(L"inLong"), Sequence< Any > ( & inLong, 1), seqIndices, seqOut); in doSimpleTest()
685 inv->invoke(OUString(L"outLong"), Sequence< Any > ( & outLong, 1 ), seqIndices, seqOut); in doSimpleTest()
689 inv->invoke(OUString(L"inString"), Sequence< Any > ( & inString, 1), seqIndices, seqOut); in doSimpleTest()
692 inv->invoke(OUString(L"outString"), Sequence< Any > ( & outString, 1 ), seqIndices, seqOut); in doSimpleTest()
696 inv->invoke(OUString(L"inFloat"), Sequence< Any > ( & inFloat, 1), seqIndices, seqOut); in doSimpleTest()
699 inv->invoke(OUString(L"outFloat"), Sequence< Any > ( & outFloat, 1 ), seqIndices, seqOut); in doSimpleTest()
703 inv->invoke(OUString(L"inDouble"), Sequence< Any > ( & inDouble, 1), seqIndices, seqOut); in doSimpleTest()
706 inv->invoke(OUString(L"outDouble"), Sequence< Any > ( & outDouble, 1 ), seqIndices, seqOut); in doSimpleTest()
710 inv->invoke(OUString(L"inVariant"), Sequence< Any > ( & inVariant, 1), seqIndices, seqOut); in doSimpleTest()
713 inv->invoke(OUString(L"outVariant"), Sequence< Any > (&outVariant, 1), seqIndices, seqOut); in doSimpleTest()
716 inObject <<= inv; in doSimpleTest()
717 inv->invoke(OUString(L"inObject"), Sequence< Any > ( & inObject, 1), seqIndices, seqOut); in doSimpleTest()
720 inv->invoke(OUString(L"outObject"), Sequence< Any > (& outObject, 1), seqIndices, seqOut); in doSimpleTest()
724 inv->invoke(OUString(L"inUnknown"), Sequence< Any > ( & inUnknown, 1), seqIndices, seqOut); in doSimpleTest()
727 inv->invoke(OUString(L"outUnknown"), Sequence< Any > (& outUnknown, 1), seqIndices, seqOut); in doSimpleTest()
732 inv->invoke(OUString(L"inCurrency"), Sequence<Any>( & inCY, 1), seqIndices, seqOut); in doSimpleTest()
735 inv->invoke(OUString(L"outCurrency"), Sequence< Any > (& outCY, 1), seqIndices, seqOut); in doSimpleTest()
740 inv->invoke(OUString(L"inDate"), Sequence<Any>( & inDate, 1), seqIndices, seqOut); in doSimpleTest()
743 inv->invoke(OUString(L"outDate"), Sequence< Any > (& outDate, 1), seqIndices, seqOut); in doSimpleTest()
748 inv->invoke(OUString(L"inDecimal"), Sequence<Any>( & inDecimal, 1), seqIndices, seqOut); in doSimpleTest()
751 inv->invoke(OUString(L"outDecimal"), Sequence< Any > (& outDecimal, 1), seqIndices, seqOut); in doSimpleTest()
756 inv->invoke(OUString(L"inSCode"), Sequence<Any>( & inSCode, 1), seqIndices, seqOut); in doSimpleTest()
759 inv->invoke(OUString(L"outSCode"), Sequence< Any > (& outSCode, 1), seqIndices, seqOut); in doSimpleTest()
774 inv->invoke(OUString(L"inoutBool"), Sequence< Any > ( & inBool, 1), seqIndices, seqOut); in doSimpleTest()
780 inv->invoke(OUString(L"inoutByte"), Sequence< Any > ( & inByte, 1), seqIndices, seqOut); in doSimpleTest()
786 inv->invoke(OUString(L"inoutShort"), Sequence< Any > ( & inShort, 1), seqIndices, seqOut); in doSimpleTest()
792 inv->invoke(OUString(L"inoutLong"), Sequence< Any > ( & inLong, 1), seqIndices, seqOut); in doSimpleTest()
798 inv->invoke(OUString(L"inoutString"), Sequence< Any > ( & inString, 1), seqIndices, seqOut); in doSimpleTest()
804 inv->invoke(OUString(L"inoutFloat"), Sequence< Any > ( & inFloat, 1), seqIndices, seqOut); in doSimpleTest()
810 inv->invoke(OUString(L"inoutDouble"), Sequence< Any > ( &inDouble, 1), seqIndices, seqOut); in doSimpleTest()
816 inv->invoke(OUString(L"inoutVariant"), Sequence< Any > ( & inVariant, 1), seqIndices, seqOut); in doSimpleTest()
822 inv->invoke(OUString(L"inoutObject"), Sequence< Any > ( & inObject, 1), seqIndices, seqOut); in doSimpleTest()
828 inv->invoke(OUString(L"inoutCurrency"), Sequence< Any > ( & inCY, 1), seqIndices, seqOut); in doSimpleTest()
834 inv->invoke(OUString(L"inoutDate"), Sequence< Any > ( & inDate, 1), seqIndices, seqOut); in doSimpleTest()
840 inv->invoke(OUString(L"inoutDecimal"), Sequence< Any > (& inDecimal, 1), seqIndices, seqOut); in doSimpleTest()
846 inv->invoke(OUString(L"inoutSCode"), Sequence< Any > (& inSCode, 1), seqIndices, seqOut); in doSimpleTest()
860 inv->invoke(OUString(L"inrefLong"), Sequence<Any>( & inrefLong, 1), seqIndices, seqOut); in doSimpleTest()
863 inv->invoke(OUString(L"outLong"), Sequence< Any > (& outrefLong, 1), seqIndices, seqOut); in doSimpleTest()
867 inv->invoke(OUString(L"inrefVariant"), Sequence< Any > ( & inrefVariant, 1), seqIndices, seqOut); in doSimpleTest()
870 inv->invoke(OUString(L"outVariant"), Sequence< Any > (&outrefVariant, 1), seqIndices, seqOut); in doSimpleTest()
875 inv->invoke(OUString(L"inrefDecimal"), Sequence< Any > ( & inrefDecimal, 1), seqIndices, seqOut); in doSimpleTest()
878 inv->invoke(OUString(L"outDecimal"), Sequence< Any > (&outrefDecimal, 1), seqIndices, seqOut); in doSimpleTest()
896 inv->invoke(OUString(L"mixed1"), Sequence< Any >(param, 3), seqIndices, seqOut); in doSimpleTest()
904 bool doSimpleSequenceTest(const Reference<XInvocation> & inv) in doSimpleSequenceTest() argument
937 inv->invoke(OUString(L"inArray"), Sequence< Any > ( & inArAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
940 inv->invoke(OUString(L"outArray"), Sequence<Any>( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
946 inv->invoke(OUString(L"inArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
947 inv->invoke(OUString(L"outArray"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
953 inv->invoke(OUString(L"inSequenceByte"),Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
956 inv->invoke(OUString(L"outSequenceByte"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
962 inv->invoke(OUString(L"inSequenceShort"),Sequence< Any >( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
965 inv->invoke(OUString(L"outSequenceShort"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
971 inv->invoke(OUString(L"inSequenceLong"),Sequence< Any > ( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
974 inv->invoke(OUString(L"outSequenceLong"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
977 inv->invoke(OUString(L"inSequenceLong"),Sequence< Any > ( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
980 inv->invoke(OUString(L"outSequenceLong"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
983inv->invoke( OUString(L"inSequenceString"),Sequence< Any > ( & inArString, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
986 inv->invoke(OUString(L"outSequenceString"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
992 inv->invoke( OUString(L"inSequenceFloat"),Sequence< Any > ( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
995 inv->invoke(OUString(L"outSequenceFloat"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1001 inv->invoke(OUString(L"inSequenceDouble"),Sequence< Any >( & inArDouble, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1004 inv->invoke(OUString(L"outSequenceDouble"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1011 inv->invoke(OUString(L"inSequenceObject"),Sequence< Any >( & inArObject, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1014 inv->invoke(OUString(L"outSequenceObject"), Sequence< Any >( & voidAny, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1028 inv->invoke(OUString(L"inoutArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1029 inv->invoke(OUString(L"inoutArray"), Sequence< Any >( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1032 inv->invoke(OUString(L"inoutSequenceByte"), Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1033 inv->invoke(OUString(L"inoutSequenceByte"), Sequence<Any>( & inArByte, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1036 inv->invoke(OUString(L"inoutSequenceShort"), Sequence<Any>( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1037 inv->invoke(OUString(L"inoutSequenceShort"), Sequence<Any>( & inArShort, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1040 inv->invoke(OUString(L"inoutSequenceLong"), Sequence<Any>( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1041 inv->invoke(OUString(L"inoutSequenceLong"), Sequence< Any >( & inArLong, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1044inv->invoke(OUString(L"inoutSequenceString"), Sequence<Any>( & inArString, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1045 inv->invoke(OUString(L"inoutSequenceString"), Sequence<Any>( & inArString, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1048 inv->invoke(OUString(L"inoutSequenceFloat"), Sequence<Any>( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1049 inv->invoke(OUString(L"inoutSequenceFloat"), Sequence<Any>( & inArFloat, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1052inv->invoke(OUString(L"inoutSequenceDouble"), Sequence<Any>( & inArDouble, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1053 inv->invoke(OUString(L"inoutSequenceDouble"), Sequence<Any>( & inArDouble, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1056inv->invoke(OUString(L"inoutSequenceObject"), Sequence<Any>( & inArObject, 1), seqIndices, seqOut)… in doSimpleSequenceTest()
1057 inv->invoke(OUString(L"inoutSequenceObject"), Sequence<Any>( & inArObject, 1), seqIndices, seqOut); in doSimpleSequenceTest()
1073 Reference<XInvocation> inv= getComObject( L"AxTestComponents.Basic"); in doTest() local
1087 if (! doSimpleTest(inv)) in doTest()
1093 if (! doPropertyTest(inv)) in doTest()
1099 if ( ! doSimpleSequenceTest(inv)) in doTest()
1105 if ( ! doParameterTest(inv)) in doTest()
1111 if ( ! doPropertyWithArgumentTest(inv)) in doTest()
1140 inv->invoke( OUString(L"inMulDimArrayLong"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1143 inv->invoke( OUString(L"inMulDimArrayVariant"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1171 inv->invoke( OUString(L"inMulDimArrayLong2"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()
1199 inv->invoke( OUString(L"inMulDimArrayByte2"),Sequence< Any > ( &seqAny, 1), seqIndices, seqOut); in doTest()