diff options
Diffstat (limited to 'io/test/stm')
-rw-r--r-- | io/test/stm/datatest.cxx | 22 | ||||
-rw-r--r-- | io/test/stm/marktest.cxx | 40 | ||||
-rw-r--r-- | io/test/stm/pipetest.cxx | 20 | ||||
-rw-r--r-- | io/test/stm/pumptest.cxx | 20 | ||||
-rw-r--r-- | io/test/stm/testfactreg.hxx | 8 |
5 files changed, 55 insertions, 55 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx index ee378cf7066c..559f3e2a3c4a 100644 --- a/io/test/stm/datatest.cxx +++ b/io/test/stm/datatest.cxx @@ -79,10 +79,10 @@ public: throw ( IllegalArgumentException, RuntimeException); - virtual sal_Bool SAL_CALL testPassed(void) throw ( RuntimeException); - virtual Sequence< OUString > SAL_CALL getErrors(void) throw (RuntimeException); - virtual Sequence< Any > SAL_CALL getErrorExceptions(void) throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getWarnings(void) throw (RuntimeException); + virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException); + virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException); + virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException); + virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException); private: void testSimple( const Reference < XDataInputStream > & , const Reference < XDataOutputStream > &); @@ -222,25 +222,25 @@ sal_Int32 ODataStreamTest::test( -sal_Bool ODataStreamTest::testPassed(void) throw (RuntimeException) +sal_Bool ODataStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; } -Sequence< OUString > ODataStreamTest::getErrors(void) throw (RuntimeException) +Sequence< OUString > ODataStreamTest::getErrors() throw (RuntimeException) { return m_seqErrors; } -Sequence< Any > ODataStreamTest::getErrorExceptions(void) throw (RuntimeException) +Sequence< Any > ODataStreamTest::getErrorExceptions() throw (RuntimeException) { return m_seqExceptions; } -Sequence< OUString > ODataStreamTest::getWarnings(void) throw (RuntimeException) +Sequence< OUString > ODataStreamTest::getWarnings() throw (RuntimeException) { return m_seqWarnings; } @@ -384,7 +384,7 @@ public: public: - virtual OUString SAL_CALL getServiceName(void) throw (RuntimeException); + virtual OUString SAL_CALL getServiceName() throw (RuntimeException); virtual void SAL_CALL write( const Reference< XObjectOutputStream >& OutStream ) throw (IOException, RuntimeException); virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream) @@ -392,7 +392,7 @@ public: public: - virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo(void) + virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo() throw (RuntimeException); virtual void SAL_CALL setPropertyValue(const OUString& aPropertyName, const Any& aValue) @@ -446,7 +446,7 @@ public: -Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo(void) +Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo() throw (RuntimeException) { return Reference< XPropertySetInfo >(); diff --git a/io/test/stm/marktest.cxx b/io/test/stm/marktest.cxx index a9866af396dc..d743e32bf3a4 100644 --- a/io/test/stm/marktest.cxx +++ b/io/test/stm/marktest.cxx @@ -51,7 +51,7 @@ public: ~OMarkableOutputStreamTest(); public: // implementation names - static Sequence< OUString > getSupportedServiceNames_Static(void) throw (); + static Sequence< OUString > getSupportedServiceNames_Static() throw (); static OUString getImplementationName_Static() throw (); public: @@ -65,13 +65,13 @@ public: const Reference < XInterface >& TestObject, sal_Int32 hTestHandle) throw ( IllegalArgumentException, RuntimeException); - virtual sal_Bool SAL_CALL testPassed(void) + virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException); - virtual Sequence< OUString > SAL_CALL getErrors(void) + virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException); - virtual Sequence< Any > SAL_CALL getErrorExceptions(void) + virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getWarnings(void) + virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException); private: @@ -174,25 +174,25 @@ sal_Int32 OMarkableOutputStreamTest::test( -sal_Bool OMarkableOutputStreamTest::testPassed(void) throw (RuntimeException) +sal_Bool OMarkableOutputStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; } -Sequence< OUString > OMarkableOutputStreamTest::getErrors(void) throw (RuntimeException) +Sequence< OUString > OMarkableOutputStreamTest::getErrors() throw (RuntimeException) { return m_seqErrors; } -Sequence< Any > OMarkableOutputStreamTest::getErrorExceptions(void) throw (RuntimeException) +Sequence< Any > OMarkableOutputStreamTest::getErrorExceptions() throw (RuntimeException) { return m_seqExceptions; } -Sequence< OUString > OMarkableOutputStreamTest::getWarnings(void) throw (RuntimeException) +Sequence< OUString > OMarkableOutputStreamTest::getWarnings() throw (RuntimeException) { return m_seqWarnings; } @@ -375,7 +375,7 @@ Reference < XInterface > SAL_CALL OMarkableOutputStreamTest_CreateInstance( cons -Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames(void) throw () +Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames() throw () { Sequence<OUString> aRet(1); aRet.getArray()[0] = OMarkableOutputStreamTest_getImplementationName(); @@ -410,7 +410,7 @@ public: ~OMarkableInputStreamTest(); public: // implementation names - static Sequence< OUString > getSupportedServiceNames_Static(void) throw () ; + static Sequence< OUString > getSupportedServiceNames_Static() throw () ; static OUString getImplementationName_Static() throw () ; public: @@ -426,13 +426,13 @@ public: throw ( IllegalArgumentException, RuntimeException) ; - virtual sal_Bool SAL_CALL testPassed(void) + virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException); - virtual Sequence< OUString > SAL_CALL getErrors(void) + virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException); - virtual Sequence< Any > SAL_CALL getErrorExceptions(void) + virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getWarnings(void) + virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException); private: @@ -541,25 +541,25 @@ sal_Int32 OMarkableInputStreamTest::test( -sal_Bool OMarkableInputStreamTest::testPassed(void) throw (RuntimeException) +sal_Bool OMarkableInputStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; } -Sequence< OUString > OMarkableInputStreamTest::getErrors(void) throw (RuntimeException) +Sequence< OUString > OMarkableInputStreamTest::getErrors() throw (RuntimeException) { return m_seqErrors; } -Sequence< Any > OMarkableInputStreamTest::getErrorExceptions(void) throw (RuntimeException) +Sequence< Any > OMarkableInputStreamTest::getErrorExceptions() throw (RuntimeException) { return m_seqExceptions; } -Sequence< OUString > OMarkableInputStreamTest::getWarnings(void) throw (RuntimeException) +Sequence< OUString > OMarkableInputStreamTest::getWarnings() throw (RuntimeException) { return m_seqWarnings; } @@ -647,7 +647,7 @@ Reference < XInterface > SAL_CALL OMarkableInputStreamTest_CreateInstance( const -Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames(void) throw () +Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames() throw () { Sequence<OUString> aRet(1); aRet.getArray()[0] = OMarkableInputStreamTest_getImplementationName(); diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx index 2aadab0db005..f2ad64308ae5 100644 --- a/io/test/stm/pipetest.cxx +++ b/io/test/stm/pipetest.cxx @@ -98,7 +98,7 @@ public: ~OPipeTest(); public: // implementation names - static Sequence< OUString > getSupportedServiceNames_Static(void) throw(); + static Sequence< OUString > getSupportedServiceNames_Static() throw(); static OUString getImplementationName_Static() throw(); public: @@ -111,10 +111,10 @@ public: throw ( IllegalArgumentException, RuntimeException); - virtual sal_Bool SAL_CALL testPassed(void) throw ( RuntimeException) ; - virtual Sequence< OUString > SAL_CALL getErrors(void) throw (RuntimeException) ; - virtual Sequence< Any > SAL_CALL getErrorExceptions(void) throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getWarnings(void) throw (RuntimeException); + virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException) ; + virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException) ; + virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException); + virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException); private: void testSimple( const Reference < XInterface > & ); @@ -206,25 +206,25 @@ sal_Int32 OPipeTest::test( -sal_Bool OPipeTest::testPassed(void) throw (RuntimeException) +sal_Bool OPipeTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; } -Sequence< OUString > OPipeTest::getErrors(void) throw (RuntimeException) +Sequence< OUString > OPipeTest::getErrors() throw (RuntimeException) { return m_seqErrors; } -Sequence< Any > OPipeTest::getErrorExceptions(void) throw (RuntimeException) +Sequence< Any > OPipeTest::getErrorExceptions() throw (RuntimeException) { return m_seqExceptions; } -Sequence< OUString > OPipeTest::getWarnings(void) throw (RuntimeException) +Sequence< OUString > OPipeTest::getWarnings() throw (RuntimeException) { return m_seqWarnings; } @@ -409,7 +409,7 @@ Reference < XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMu -Sequence<OUString> OPipeTest_getSupportedServiceNames(void) throw() +Sequence<OUString> OPipeTest_getSupportedServiceNames() throw() { Sequence<OUString> aRet(1); aRet.getArray()[0] = OPipeTest_getServiceName(); diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx index d911cd1b42ca..34a9a783ef8b 100644 --- a/io/test/stm/pumptest.cxx +++ b/io/test/stm/pumptest.cxx @@ -67,7 +67,7 @@ public: ~OPumpTest(); public: // implementation names - static Sequence< OUString > getSupportedServiceNames_Static(void) throw(); + static Sequence< OUString > getSupportedServiceNames_Static() throw(); static OUString getImplementationName_Static() throw(); public: @@ -80,10 +80,10 @@ public: throw ( IllegalArgumentException, RuntimeException); - virtual sal_Bool SAL_CALL testPassed(void) throw ( RuntimeException) ; - virtual Sequence< OUString > SAL_CALL getErrors(void) throw (RuntimeException) ; - virtual Sequence< Any > SAL_CALL getErrorExceptions(void) throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getWarnings(void) throw (RuntimeException); + virtual sal_Bool SAL_CALL testPassed() throw ( RuntimeException) ; + virtual Sequence< OUString > SAL_CALL getErrors() throw (RuntimeException) ; + virtual Sequence< Any > SAL_CALL getErrorExceptions() throw (RuntimeException); + virtual Sequence< OUString > SAL_CALL getWarnings() throw (RuntimeException); private: void testSimple( const Reference < XInterface > & ); @@ -190,25 +190,25 @@ sal_Int32 OPumpTest::test( -sal_Bool OPumpTest::testPassed(void) throw (RuntimeException) +sal_Bool OPumpTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; } -Sequence< OUString > OPumpTest::getErrors(void) throw (RuntimeException) +Sequence< OUString > OPumpTest::getErrors() throw (RuntimeException) { return m_seqErrors; } -Sequence< Any > OPumpTest::getErrorExceptions(void) throw (RuntimeException) +Sequence< Any > OPumpTest::getErrorExceptions() throw (RuntimeException) { return m_seqExceptions; } -Sequence< OUString > OPumpTest::getWarnings(void) throw (RuntimeException) +Sequence< OUString > OPumpTest::getWarnings() throw (RuntimeException) { return m_seqWarnings; } @@ -420,7 +420,7 @@ Reference< XInterface > SAL_CALL OPumpTest_CreateInstance( const Reference< XMul return *new OPumpTest( rSMgr ); } -Sequence<OUString> OPumpTest_getSupportedServiceNames(void) throw() +Sequence<OUString> OPumpTest_getSupportedServiceNames() throw() { OUString s = OPumpTest_getServiceName(); Sequence< OUString > seq( &s , 1 ); diff --git a/io/test/stm/testfactreg.hxx b/io/test/stm/testfactreg.hxx index 6578bc5d320e..787a6faef428 100644 --- a/io/test/stm/testfactreg.hxx +++ b/io/test/stm/testfactreg.hxx @@ -23,12 +23,12 @@ #include <rtl/strbuf.hxx> Reference< XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception ); -Sequence<OUString> OPipeTest_getSupportedServiceNames(void) throw(); +Sequence<OUString> OPipeTest_getSupportedServiceNames() throw(); OUString OPipeTest_getServiceName() throw(); OUString OPipeTest_getImplementationName() throw(); Reference< XInterface > SAL_CALL OPumpTest_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw( Exception ); -Sequence<OUString> OPumpTest_getSupportedServiceNames(void) throw(); +Sequence<OUString> OPumpTest_getSupportedServiceNames() throw(); OUString OPumpTest_getServiceName() throw(); OUString OPumpTest_getImplementationName() throw(); @@ -38,12 +38,12 @@ OUString ODataStreamTest_getServiceName( int i) throw(); OUString ODataStreamTest_getImplementationName( int i) throw(); Reference< XInterface > SAL_CALL OMarkableOutputStreamTest_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw(Exception); -Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames(void) throw(); +Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames() throw(); OUString OMarkableOutputStreamTest_getServiceName() throw(); OUString OMarkableOutputStreamTest_getImplementationName() throw(); Reference< XInterface > SAL_CALL OMarkableInputStreamTest_CreateInstance( const Reference< XMultiServiceFactory > & rSMgr ) throw(Exception); -Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames(void) throw(); +Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames() throw(); OUString OMarkableInputStreamTest_getServiceName() throw(); OUString OMarkableInputStreamTest_getImplementationName() throw(); |