source: trunk/contrib/cppunit-1.12.2/include/cppunit/plugin/PlugInParameters.h @ 876

Last change on this file since 876 was 876, checked in by sam, 10 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

File size: 712 bytes
RevLine 
[876]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
11CPPUNIT_NS_BEGIN
12
13/*! \brief Test plug-ins parameters.
14 */
15class CPPUNIT_API PlugInParameters
16{
17public:
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
26private:
27  std::string m_commandLine;
28};
29
30
31CPPUNIT_NS_END
32
33#endif // !defined(CPPUNIT_NO_TESTPLUGIN)
34
35
36#endif // CPPUNIT_PLUGIN_PARAMETERS
Note: See TracBrowser for help on using the repository browser.