Lines Matching refs:L

134 	if( L"printTestValue" == FunctionName ) {  in invoke()
137 else if( L"addTestValue" == FunctionName ) { in invoke()
140 else if( L"getTestValueViaInout" == FunctionName ) { in invoke()
158 if( L"TestValue" == PropertyName ) { in setValue()
172 if( L"TestValue" == PropertyName ) { in getValue()
185 if( L"printTestValue" == Name ) { in hasMethod()
188 else if( L"addTestValue" == Name ) { in hasMethod()
191 else if( L"getTestValueViaInout" == Name ) { in hasMethod()
200 if( L"TestValue" == Name ) { in hasProperty()
314 OSL_ASSERT( xInvoke->hasProperty( L"list" ) ); in checkInvokation()
315 anyList = xInvoke->getValue( L"list" ); in checkInvokation()
321 OSL_ASSERT( (*pRef)->hasMethod( L"append" ) ); in checkInvokation()
322 OSL_ASSERT( (*pRef)->hasMethod( L"count" ) ); in checkInvokation()
328 any = (*pRef)->invoke( L"count" , seq , Sequence<INT16>(), Sequence<UsrAny>() ); in checkInvokation()
331 any = (*pRef)->invoke( L"append" , seq , Sequence<INT16>(), Sequence<UsrAny>() ); in checkInvokation()
332 any = (*pRef)->invoke( L"count" , seq , Sequence<INT16>(), Sequence<UsrAny>() ); in checkInvokation()
366 if( ModulName == L"testmodul" ) { in getModuleSource()
367 return UString( L"def testmethod():\n" in getModuleSource()
368 L" return 42\n"); in getModuleSource()
412 XInterfaceRef x = xSMgr->createInstance( L"stardiv.uno.repos.ImplementationRegistration" ); in main()
418 xReg->registerImplementation( L"stardiv.loader.SharedLibrary", aDllName, XSimpleRegistryRef() ); in main()
420 x = xSMgr->createInstance( L"stardiv.script.Python" ); in main()
430 xEngine->run( L"nIntTest = 5\n" in main()
431 L"list = [2,3,4]\n" , XInterfaceRef(), Sequence<UsrAny> () ); in main()
440 OSL_ASSERT( xInvoke->hasProperty( L"nIntTest" ) ); in main()
441 UsrAny any = xInvoke->getValue( L"nIntTest" ); in main()
447 xInvoke->setValue( L"nIntTest" , UsrAny( (INT32) 10 ) ); in main()
448 any = xInvoke->getValue( L"nIntTest" ); in main()
456 xEngine->run( L"def foo():\n" in main()
457 L" return 'this is foo'\n" , XInterfaceRef() , Sequence<UsrAny> () ); in main()
458 OSL_ASSERT( xInvoke->hasMethod( L"foo" ) ); in main()
459 UsrAny any = xInvoke->invoke( L"foo" , in main()
463 OSL_ASSERT( any.getString() == L"this is foo" ); in main()
470 xInvoke->invoke( L"foo" , Sequence<UsrAny>(1) , Sequence<INT16>(), Sequence<UsrAny> () ); in main()
502 Property prop = xIntrospection->getProperty( L"nIntTest" ,0 ); in main()
503 OSL_ASSERT( prop.Name == L"nIntTest" ); in main()
506 XIdlMethodRef method = xIntrospection->getMethod( L"foo" , 0 ); in main()
507 OSL_ASSERT( method->getName() == L"foo" ); in main()
530 xEngine->runAsync( L"pass\n" in main()
544 xEngine->runAsync( L"pass\n" in main()
556 xEngine->run( L"import testmodul\n" in main()
557 L"x = testmodul.testmethod()\n" , XInterfaceRef() , Sequence<UsrAny>() ); in main()
558 UsrAny any = xInvoke->getValue( L"x" ); in main()
566 xEngine->run( L"import math\n" in main()
567 L"dMathTest = math.exp(0)\n" , XInterfaceRef() , Sequence<UsrAny> () ); in main()
569 OSL_ASSERT( xInvoke->hasProperty( L"dMathTest" ) ); in main()
570 UsrAny any = xInvoke->getValue( L"dMathTest" ); in main()
578 xEngine->run( L"x = stardiv.root.TestValue\n" in main()
579 L"y = stardiv.inout(5)\n" in main()
580 L"stardiv.root.getTestValueViaInout(y)\n" in main()
581 L"z = y.value\n" , XInterfaceRef() , Sequence<UsrAny> () ); in main()
583 UsrAny any = xInvoke->getValue( L"x" ); in main()
587 any = xInvoke->getValue( L"z" ); in main()
594 UsrAny any = xInvoke->getValue( L"__builtins__" ); in main()
603 UString str = rName->getExactName( L"SYNTAXERROR" ); in main()
612 UString str = rName->getExactName( L"STARDIV" ); in main()