| 63 | }; |
| 64 | |
| 65 | class DummyPluginWhichAcceptsParameters: public DummyPlugin |
| 66 | { |
| 67 | public: |
| 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 | |
| 83 | TEST_GROUP(PluginTest) |
| 84 | { |
nothing calls this directly
no outgoing calls
no test coverage detected