Imported Upstream version 2.81
[platform/upstream/libbullet.git] / UnitTests / cppunit / include / cppunit / plugin / PlugInParameters.h
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 <cppunit/portability/CppUnitDeque.h>
9 #include <string>
10
11 CPPUNIT_NS_BEGIN
12
13 /*! \brief Test plug-ins parameters.
14  */
15 class CPPUNIT_API PlugInParameters
16 {
17 public:
18   /// Constructs plug-in parameters from the specified command-line.
19   PlugInParameters( const std::string &commandLine = "" );
20
21   virtual ~PlugInParameters();
22
23   /// Returns the command line that was passed on construction.
24   std::string getCommandLine() const;
25
26 private:
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