diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /io/test | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'io/test')
-rw-r--r-- | io/test/stm/datatest.cxx | 11 | ||||
-rw-r--r-- | io/test/stm/marktest.cxx | 19 | ||||
-rw-r--r-- | io/test/stm/pipetest.cxx | 7 | ||||
-rw-r--r-- | io/test/stm/pumptest.cxx | 5 | ||||
-rw-r--r-- | io/test/testcomponent.cxx | 1 | ||||
-rw-r--r-- | io/test/testconnection.cxx | 3 |
6 files changed, 0 insertions, 46 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx index e6cc3238f84c..283344c271ee 100644 --- a/io/test/stm/datatest.cxx +++ b/io/test/stm/datatest.cxx @@ -95,8 +95,6 @@ protected: }; - - void ODataStreamTest::testInvariant( const OUString& TestName, const Reference < XInterface >& TestObject ) @@ -220,7 +218,6 @@ sal_Int32 ODataStreamTest::test( } - sal_Bool ODataStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; @@ -323,7 +320,6 @@ void ODataStreamTest::testSimple( const Reference < XDataInputStream > &rInput } - /** * for external binding * @@ -440,7 +436,6 @@ public: }; - Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo() throw (RuntimeException) { @@ -566,8 +561,6 @@ void MyPersistObject::removeVetoableChangeListener( } - - OUString MyPersistObject::getServiceName() throw (RuntimeException) { return m_sServiceName; @@ -887,7 +880,6 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream > ERROR_ASSERT( rIn.is() , "no objectInputStream" ); - // tests, if saving an object with an unknown service name allows // reading the data behind the object ! { @@ -1035,9 +1027,6 @@ void OObjectStreamTest::testObject( const Reference< XObjectOutputStream > markableOut->jumpToFurthest(); - - - ERROR_ASSERT( 0 != rIn->available() , "no data arrived at input" ); Reference < XPersistObject > xReadPersistRef = rIn->readObject( ); diff --git a/io/test/stm/marktest.cxx b/io/test/stm/marktest.cxx index c8d2d1997299..8892e7338330 100644 --- a/io/test/stm/marktest.cxx +++ b/io/test/stm/marktest.cxx @@ -95,8 +95,6 @@ OMarkableOutputStreamTest::~OMarkableOutputStreamTest() } - - void OMarkableOutputStreamTest::testInvariant( const OUString& TestName, const Reference < XInterface >& TestObject ) throw ( IllegalArgumentException, RuntimeException) @@ -171,7 +169,6 @@ sal_Int32 OMarkableOutputStreamTest::test( } - sal_Bool OMarkableOutputStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; @@ -357,9 +354,6 @@ void OMarkableOutputStreamTest::testSimple( const Reference< XOutputStream > ****/ - - - /** * for external binding * @@ -372,7 +366,6 @@ Reference < XInterface > SAL_CALL OMarkableOutputStreamTest_CreateInstance( cons } - Sequence<OUString> OMarkableOutputStreamTest_getSupportedServiceNames() throw () { Sequence<OUString> aRet { OMarkableOutputStreamTest_getImplementationName() }; @@ -391,12 +384,6 @@ OUString OMarkableOutputStreamTest_getImplementationName() throw () } - - - - - - // Input stream @@ -456,7 +443,6 @@ OMarkableInputStreamTest::~OMarkableInputStreamTest() } - void OMarkableInputStreamTest::testInvariant( const OUString& TestName, const Reference < XInterface >& TestObject ) throw ( IllegalArgumentException, RuntimeException) @@ -537,7 +523,6 @@ sal_Int32 OMarkableInputStreamTest::test( } - sal_Bool OMarkableInputStreamTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; @@ -628,9 +613,6 @@ void OMarkableInputStreamTest::testSimple( const Reference< XOutputStream > ****/ - - - /** * for external binding * @@ -643,7 +625,6 @@ Reference < XInterface > SAL_CALL OMarkableInputStreamTest_CreateInstance( const } - Sequence<OUString> OMarkableInputStreamTest_getSupportedServiceNames() throw () { Sequence<OUString> aRet { OMarkableInputStreamTest_getImplementationName() }; diff --git a/io/test/stm/pipetest.cxx b/io/test/stm/pipetest.cxx index 6c99969360f9..f817cd2acff2 100644 --- a/io/test/stm/pipetest.cxx +++ b/io/test/stm/pipetest.cxx @@ -90,7 +90,6 @@ private: }; - class OPipeTest : public WeakImplHelper < XSimpleTest > { public: @@ -129,7 +128,6 @@ private: }; - OPipeTest::OPipeTest( const Reference< XMultiServiceFactory > &rFactory ) { @@ -141,7 +139,6 @@ OPipeTest::~OPipeTest() } - void OPipeTest::testInvariant( const OUString& TestName, const Reference < XInterface >& TestObject ) throw ( IllegalArgumentException, RuntimeException) @@ -205,7 +202,6 @@ sal_Int32 OPipeTest::test( } - sal_Bool OPipeTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; @@ -356,7 +352,6 @@ void OPipeTest::testBufferResizing( const Reference < XInterface > &r ) } - void OPipeTest::testMultithreading( const Reference < XInterface > &r ) { @@ -394,7 +389,6 @@ void OPipeTest::testMultithreading( const Reference < XInterface > &r ) } - /** * for external binding * @@ -408,7 +402,6 @@ Reference < XInterface > SAL_CALL OPipeTest_CreateInstance( const Reference< XMu } - Sequence<OUString> OPipeTest_getSupportedServiceNames() throw() { Sequence<OUString> aRet { OPipeTest_getServiceName() }; diff --git a/io/test/stm/pumptest.cxx b/io/test/stm/pumptest.cxx index ae2a28bebf38..898805b068df 100644 --- a/io/test/stm/pumptest.cxx +++ b/io/test/stm/pumptest.cxx @@ -41,8 +41,6 @@ #include <list> - - using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star::uno; @@ -111,7 +109,6 @@ OPumpTest::~OPumpTest() } - void OPumpTest::testInvariant( const OUString& TestName, const Reference < XInterface >& TestObject ) throw ( IllegalArgumentException, RuntimeException) @@ -189,7 +186,6 @@ sal_Int32 OPumpTest::test( } - sal_Bool OPumpTest::testPassed() throw (RuntimeException) { return m_seqErrors.getLength() == 0; @@ -317,7 +313,6 @@ private: }; - void OPumpTest::testClose( const Reference< XInterface > &r ) { TestCase t( m_rSmgr, r ); diff --git a/io/test/testcomponent.cxx b/io/test/testcomponent.cxx index 1703526c0605..fd1e3d7e5e31 100644 --- a/io/test/testcomponent.cxx +++ b/io/test/testcomponent.cxx @@ -18,7 +18,6 @@ */ - // testcomponent - Loads a service and its testcomponent from dlls performs a test. // Expands the dll-names depending on the actual environment. // Example : testcomponent com.sun.star.io.Pipe stm diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx index 38cf44662015..69a2bdeccfb8 100644 --- a/io/test/testconnection.cxx +++ b/io/test/testconnection.cxx @@ -111,9 +111,6 @@ void MyThread::run() } - - - void testConnection( const OUString &sConnectionDescription , const Reference < XAcceptor > &rAcceptor, const Reference < XConnector > &rConnector ) |