Lines Matching refs:OUString

86 …virtual void SAL_CALL testInvariant(const OUString& TestName, const Reference < XInterface >& Test…
90 virtual sal_Int32 SAL_CALL test( const OUString& TestName,
97 virtual Sequence< OUString > SAL_CALL getErrors(void) throw (RuntimeException);
99 virtual Sequence< OUString > SAL_CALL getWarnings(void) throw (RuntimeException);
106 Sequence<OUString> m_seqErrors;
107 Sequence<OUString> m_seqWarnings;
116 const OUString& TestName, in testInvariant()
121 if( OUString::createFromAscii("com.sun.star.io.DataInputStream") == TestName ) { in testInvariant()
134 else if( OUString::createFromAscii("com.sun.star.io.DataInputStream") == TestName ) { in testInvariant()
152 …ERROR_ASSERT( ! info->supportsService( OUString::createFromAscii("bla bluzb") ) , "XServiceInfo te… in testInvariant()
159 const OUString& TestName, in test()
165 if( OUString::createFromAscii("com.sun.star.io.DataInputStream") == TestName || in test()
166 OUString::createFromAscii("com.sun.star.io.DataOutputStream") == TestName ) { in test()
182 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.Pipe" ))); in test()
189 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.DataInputStream")) ); in test()
196 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.DataOutputStream") ) ); in test()
245 Sequence< OUString > ODataStreamTest::getErrors(void) throw (RuntimeException) in getErrors()
257 Sequence< OUString > ODataStreamTest::getWarnings(void) throw (RuntimeException) in getWarnings()
291 rOutput->writeUTF( OUString::createFromAscii("Live long and prosper !") ); in testSimple()
292 ERROR_ASSERT( rInput->readUTF() == OUString::createFromAscii("Live long and prosper !") , in testSimple()
300 OUString str( wc.getArray() , 0x10000 ); in testSimple()
353 Sequence<OUString> ODataStreamTest_getSupportedServiceNames( int i) throw () in ODataStreamTest_getSupportedServiceNames()
355 Sequence<OUString> aRet(1); in ODataStreamTest_getSupportedServiceNames()
363 OUString ODataStreamTest_getServiceName( int i) throw () in ODataStreamTest_getServiceName()
366 return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.DataInputStream" )); in ODataStreamTest_getServiceName()
369 return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.DataOutputStream" )); in ODataStreamTest_getServiceName()
373 OUString ODataStreamTest_getImplementationName( int i) throw () in ODataStreamTest_getImplementationName()
376 return OUString( in ODataStreamTest_getImplementationName()
380 return OUString( RTL_CONSTASCII_USTRINGPARAM( in ODataStreamTest_getImplementationName()
403 m_s( OUString( RTL_CONSTASCII_USTRINGPARAM( "foo" ) ) ) in MyPersistObject()
405 MyPersistObject( const OUString & sServiceName ) : m_sServiceName( sServiceName ) in MyPersistObject()
410 virtual OUString SAL_CALL getServiceName(void) throw (RuntimeException);
421 virtual void SAL_CALL setPropertyValue(const OUString& aPropertyName, const Any& aValue)
427 virtual Any SAL_CALL getPropertyValue(const OUString& PropertyName)
432 const OUString& aPropertyName,
439 const OUString& aPropertyName,
445 const OUString& PropertyName,
452 const OUString& PropertyName,
465 OUString m_s;
467 OUString m_sServiceName;
479 const OUString& aPropertyName, in setPropertyValue()
521 Any MyPersistObject::getPropertyValue(const OUString& aPropertyName) in getPropertyValue()
557 const OUString& aPropertyName, in addPropertyChangeListener()
567 const OUString& aPropertyName, in removePropertyChangeListener()
577 const OUString& PropertyName, in addVetoableChangeListener()
587 const OUString& PropertyName, in removeVetoableChangeListener()
599 OUString MyPersistObject::getServiceName() throw (RuntimeException) in getServiceName()
639 Sequence<OUString> OMyPersistObject_getSupportedServiceNames( ) throw () in OMyPersistObject_getSupportedServiceNames()
641 Sequence<OUString> aRet(1); in OMyPersistObject_getSupportedServiceNames()
646 OUString OMyPersistObject_getServiceName( ) throw () in OMyPersistObject_getServiceName()
648 return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.PersistTest" )); in OMyPersistObject_getServiceName()
651 OUString OMyPersistObject_getImplementationName( ) throw () in OMyPersistObject_getImplementationName()
653 return OUString( RTL_CONSTASCII_USTRINGPARAM( "test.com.sun.star.io.PersistTest" ) ); in OMyPersistObject_getImplementationName()
666 virtual void SAL_CALL testInvariant(const OUString& TestName,
672 const OUString& TestName,
687 void OObjectStreamTest::testInvariant( const OUString& TestName, in testInvariant()
692 if( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.io.ObjectInputStream" ) ) in testInvariant()
701 else if( OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.ObjectOutputStream") ) in testInvariant()
716 …ERROR_ASSERT( ! info->supportsService( OUString::createFromAscii("bla bluzb") ) , "XServiceInfo te… in testInvariant()
721 sal_Int32 OObjectStreamTest::test( const OUString& TestName, in test()
738 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.DataInputStream" )), in test()
754 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.Pipe" )) ); in test()
760 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.MarkableInputStream") ) ); in test()
765 x = m_rFactory->createInstance( OUString( in test()
780 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.ObjectInputStream") )); in test()
786 OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.io.ObjectOutputStream" ))); in test()
834 …if( r1->getPropertyValue( OUString::createFromAscii("long") ).getValueType() == getCppuVoidType() … in compareMyPropertySet()
835 r2->getPropertyValue( OUString::createFromAscii("long") ).getValueType() == getCppuVoidType() ) { in compareMyPropertySet()
842 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("long")) ) == in compareMyPropertySet()
843 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("long")) ) ); in compareMyPropertySet()
846 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("float")) ) == in compareMyPropertySet()
847 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("float")) ) ); in compareMyPropertySet()
851 r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("float")) ) >>= f1; in compareMyPropertySet()
852 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("float")) ) >>= f2; in compareMyPropertySet()
856 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("double")) ) == in compareMyPropertySet()
857 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("double" ))) ); in compareMyPropertySet()
861 Any a =r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("bool")) ); in compareMyPropertySet()
863 a = r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("bool")) ); in compareMyPropertySet()
871 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("byte")) ) == in compareMyPropertySet()
872 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("byte")) ) ); in compareMyPropertySet()
875 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("char")) ) == in compareMyPropertySet()
876 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("char")) ) ); in compareMyPropertySet()
879 b = b && ( r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("string")) ) == in compareMyPropertySet()
880 r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("string")) )); in compareMyPropertySet()
883 Any o1 = r1->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("object")) ); in compareMyPropertySet()
884 Any o2 = r2->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("object")) ); in compareMyPropertySet()
928 OUString( RTL_CONSTASCII_USTRINGPARAM("bla blubs")) ); in testObject()
954 OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.PersistTest"))); in testObject()
965 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("long")) , any ); in testObject()
969 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("float")) , any ); in testObject()
973 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("double")) , any ); in testObject()
977 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("bool")) , any ); in testObject()
981 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("byte")) , any ); in testObject()
985 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("char")) , any ); in testObject()
987 OUString str( RTL_CONSTASCII_USTRINGPARAM( "hi du !" ) ); in testObject()
989 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("string")) , any ); in testObject()
992 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("object")) , any ); in testObject()
1003 rProp->setPropertyValue( OUString::createFromAscii("object"), Any() ); in testObject()
1004 rPropRead->setPropertyValue( OUString::createFromAscii("object"), Any() ); in testObject()
1015 …Reference < XInterface > x = m_rFactory->createInstance(OUString::createFromAscii("test.com.sun.st… in testObject()
1024 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("long")) , any ); in testObject()
1028 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("float")) , any ); in testObject()
1032 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("double")) , any ); in testObject()
1036 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("bool")) , any ); in testObject()
1040 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("byte")) , any ); in testObject()
1044 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("char")) , any ); in testObject()
1046 OUString str( RTL_CONSTASCII_USTRINGPARAM( "hi du !" ) ); in testObject()
1048 rProp->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("string")) , any ); in testObject()
1050 x = m_rFactory->createInstance(OUString::createFromAscii("test.com.sun.star.io.PersistTest")); in testObject()
1056 rProp->setPropertyValue( OUString::createFromAscii("object") , any ); in testObject()
1092 Sequence<OUString> OObjectStreamTest_getSupportedServiceNames( int i) throw () in OObjectStreamTest_getSupportedServiceNames()
1094 Sequence<OUString> aRet(1); in OObjectStreamTest_getSupportedServiceNames()
1099 OUString OObjectStreamTest_getServiceName( int i) throw () in OObjectStreamTest_getServiceName()
1102 return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.ObjectInputStream" )); in OObjectStreamTest_getServiceName()
1105 return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.io.ObjectOutputStream")); in OObjectStreamTest_getServiceName()
1109 OUString OObjectStreamTest_getImplementationName( int i) throw () in OObjectStreamTest_getImplementationName()
1112 …return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.comp.extensions.stm.ObjectInputStr… in OObjectStreamTest_getImplementationName()
1115 …return OUString( RTL_CONSTASCII_USTRINGPARAM("test.com.sun.star.comp.extensions.stm.ObjectOutputSt… in OObjectStreamTest_getImplementationName()