~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/plugin/PlugInParameters.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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