MCPcopy Create free account
hub / github.com/cpputest/cpputest / DummyPluginWhichAcceptsParameters

Class DummyPluginWhichAcceptsParameters

tests/CppUTest/PluginTest.cpp:65–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63};
64
65class DummyPluginWhichAcceptsParameters: public DummyPlugin
66{
67public:
68 DummyPluginWhichAcceptsParameters(const SimpleString& name) :
69 DummyPlugin(name)
70 {
71 }
72
73 virtual bool parseArguments(int ac, const char *const *av, int index)
74 {
75 SimpleString argument (av[index]);
76 if (argument == "-paccept")
77 return true;
78 return TestPlugin::parseArguments(ac, av, index);
79 }
80
81};
82
83TEST_GROUP(PluginTest)
84{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected