diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2007-01-12 04:56:34 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2007-01-12 04:56:34 +0000 |
| commit | 23c7ea0eeb8eb15b310475b08cf2418ef3035ae8 (patch) | |
| tree | 30786d722a00f2ba65fe34b255f8917630cf6d7c /src | |
| parent | f3c96127c3603c7f28f76b8996444c7d56c65dee (diff) | |
| download | cppunit-23c7ea0eeb8eb15b310475b08cf2418ef3035ae8.tar.gz | |
Arrange class initializers in correct order.
Diffstat (limited to 'src')
| -rw-r--r-- | src/DllPlugInTester/CommandLineParser.cpp | 4 | ||||
| -rw-r--r-- | src/cppunit/DynamicLibraryManagerException.cpp | 4 | ||||
| -rw-r--r-- | src/cppunit/TestCaseDecorator.cpp | 4 | ||||
| -rw-r--r-- | src/cppunit/TextTestRunner.cpp | 4 | ||||
| -rw-r--r-- | src/cppunit/XmlDocument.cpp | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/DllPlugInTester/CommandLineParser.cpp b/src/DllPlugInTester/CommandLineParser.cpp index f4c19f5..1ad0245 100644 --- a/src/DllPlugInTester/CommandLineParser.cpp +++ b/src/DllPlugInTester/CommandLineParser.cpp @@ -3,14 +3,14 @@ CommandLineParser::CommandLineParser( int argc, const char *argv[] ) - : m_currentArgument( 0 ) - , m_useCompiler( false ) + : m_useCompiler( false ) , m_useXml( false ) , m_briefProgress( false ) , m_noProgress( false ) , m_useText( false ) , m_useCout( false ) , m_waitBeforeExit( false ) + , m_currentArgument( 0 ) { for ( int index =1; index < argc; ++index ) { diff --git a/src/cppunit/DynamicLibraryManagerException.cpp b/src/cppunit/DynamicLibraryManagerException.cpp index 71bbb76..8498652 100644 --- a/src/cppunit/DynamicLibraryManagerException.cpp +++ b/src/cppunit/DynamicLibraryManagerException.cpp @@ -9,8 +9,8 @@ DynamicLibraryManagerException::DynamicLibraryManagerException( const std::string &libraryName, const std::string &errorDetail, Cause cause ) - : m_cause( cause ) - , std::runtime_error( "" ) + : std::runtime_error( "" ), + m_cause( cause ) { if ( cause == loadingFailed ) m_message = "Failed to load dynamic library: " + libraryName + "\n" + diff --git a/src/cppunit/TestCaseDecorator.cpp b/src/cppunit/TestCaseDecorator.cpp index 4fb8f80..a7229f4 100644 --- a/src/cppunit/TestCaseDecorator.cpp +++ b/src/cppunit/TestCaseDecorator.cpp @@ -4,8 +4,8 @@ CPPUNIT_NS_BEGIN TestCaseDecorator::TestCaseDecorator( TestCase *test ) - : m_test( test ) - , TestCase( test->getName() ) + : TestCase( test->getName() ), + m_test( test ) { } diff --git a/src/cppunit/TextTestRunner.cpp b/src/cppunit/TextTestRunner.cpp index 8ac76c6..1534ec0 100644 --- a/src/cppunit/TextTestRunner.cpp +++ b/src/cppunit/TextTestRunner.cpp @@ -18,9 +18,9 @@ CPPUNIT_NS_BEGIN * \param outputter used to print text result. Owned by the runner. */ TextTestRunner::TextTestRunner( Outputter *outputter ) - : m_outputter( outputter ) - , m_result( new TestResultCollector() ) + : m_result( new TestResultCollector() ) , m_eventManager( new TestResult() ) + , m_outputter( outputter ) { if ( !m_outputter ) m_outputter = new TextOutputter( m_result, stdCOut() ); diff --git a/src/cppunit/XmlDocument.cpp b/src/cppunit/XmlDocument.cpp index 8ad8575..31f9115 100644 --- a/src/cppunit/XmlDocument.cpp +++ b/src/cppunit/XmlDocument.cpp @@ -8,8 +8,8 @@ CPPUNIT_NS_BEGIN XmlDocument::XmlDocument( const std::string &encoding, const std::string &styleSheet ) - : m_rootElement( new XmlElement( "DummyRoot" ) ) - , m_styleSheet( styleSheet ) + : m_styleSheet( styleSheet ) + , m_rootElement( new XmlElement( "DummyRoot" ) ) , m_standalone( true ) { setEncoding( encoding ); |
