summaryrefslogtreecommitdiff
path: root/src/DllPlugInTester/CommandLineParser.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-08-27 20:51:18 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-08-27 20:51:18 +0000
commitc86c65b7d821fe4bb046c489528108843513e63d (patch)
tree0df76dcf21360b74ec3a401f8b077da5d839f2e9 /src/DllPlugInTester/CommandLineParser.cpp
parent69a36d9356412dddb51d8f31fbbac45ac52f7f30 (diff)
downloadcppunit-c86c65b7d821fe4bb046c489528108843513e63d.tar.gz
CodingGuideLines.
CodingGuideLines.txt: updated for OS/390 C++ limitation. * examples/cppunittests/MockFunctor.h: added. Mock Functor to help testing. * examples/cppunittests/MockProtector.h: qdded. Mock Protector to help testing. * examples/cppunittests/TestResultTest.h * examples/cppunittests/TestResultTest.cpp: added tests for pushProtector(), popProtector() and protect(). * include/cppunit/TestAssert.h: removed default message value from assertEquals(). Caused compilation error on OS/390. * include/cppunit/plugin/PlugInParameters.h: * src/cppunit/PlugInParameters.cpp: renamed commandLine() to getCommandLine(). * src/msvc6/testrunner/TestRunnerDlg.h: * src/msvc6/testrunner/TestRunnerDlg.cpp: bug fix, disabled Browse button while running tests.
Diffstat (limited to 'src/DllPlugInTester/CommandLineParser.cpp')
-rw-r--r--src/DllPlugInTester/CommandLineParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DllPlugInTester/CommandLineParser.cpp b/src/DllPlugInTester/CommandLineParser.cpp
index d9c167d..4aecacb 100644
--- a/src/DllPlugInTester/CommandLineParser.cpp
+++ b/src/DllPlugInTester/CommandLineParser.cpp
@@ -75,7 +75,7 @@ CommandLineParser::readNonOptionCommands()
{
plugIn.m_fileName = getCurrentArgument().substr( 0, indexParameter );
std::string parameters = getCurrentArgument().substr( indexParameter +1 );
- plugIn.m_parameters.push_back( parameters );
+ plugIn.m_parameters = CPPUNIT_NS::PlugInParameters( parameters );
}
m_plugIns.push_back( plugIn );