PlugInParameters.h 712 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef CPPUNIT_PLUGIN_PARAMETERS
  2. #define CPPUNIT_PLUGIN_PARAMETERS
  3. #include <cppunit/Portability.h>
  4. #if !defined(CPPUNIT_NO_TESTPLUGIN)
  5. #include <cppunit/portability/CppUnitDeque.h>
  6. #include <string>
  7. CPPUNIT_NS_BEGIN
  8. /*! \brief Test plug-ins parameters.
  9. */
  10. class CPPUNIT_API PlugInParameters
  11. {
  12. public:
  13. /// Constructs plug-in parameters from the specified command-line.
  14. PlugInParameters( const std::string &commandLine = "" );
  15. virtual ~PlugInParameters();
  16. /// Returns the command line that was passed on construction.
  17. std::string getCommandLine() const;
  18. private:
  19. std::string m_commandLine;
  20. };
  21. CPPUNIT_NS_END
  22. #endif // !defined(CPPUNIT_NO_TESTPLUGIN)
  23. #endif // CPPUNIT_PLUGIN_PARAMETERS