CppUnit - The Unit Testing Library

CppUnit project page | FAQ

PlugInParameters.h
Go to the documentation of this file.
1#ifndef CPPUNIT_PLUGIN_PARAMETERS
2#define CPPUNIT_PLUGIN_PARAMETERS
3
4#include <cppunit/Portability.h>
5
6#if !defined(CPPUNIT_NO_TESTPLUGIN)
7
8#include <deque>
9#include <string>
10
11 CPPUNIT_NS_BEGIN
12
15 class CPPUNIT_API PlugInParameters
16{
17public:
19 PlugInParameters( const std::string &commandLine = "" );
20
21 virtual ~PlugInParameters();
22
24 std::string getCommandLine() const;
25
26private:
27 std::string m_commandLine;
28};
29
30
31 CPPUNIT_NS_END
32
33#endif // !defined(CPPUNIT_NO_TESTPLUGIN)
34
35
36#endif // CPPUNIT_PLUGIN_PARAMETERS
CPPUNIT_API
#define CPPUNIT_API
Definition CppUnitApi.h:27
Portability.h
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition Portability.h:106
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
PlugInParameters::getCommandLine
std::string getCommandLine() const
Returns the command line that was passed on construction.
Definition PlugInParameters.cpp:20
PlugInParameters::PlugInParameters
PlugInParameters(const std::string &commandLine="")
Constructs plug-in parameters from the specified command-line.
Definition PlugInParameters.cpp:8
PlugInParameters::m_commandLine
std::string m_commandLine
Definition PlugInParameters.h:27

| Send comments to: CppUnit Developers