| 37 | static int sequenceNumber; |
| 38 | |
| 39 | class DummyPlugin: public TestPlugin |
| 40 | { |
| 41 | public: |
| 42 | DummyPlugin(const SimpleString& name) : |
| 43 | TestPlugin(name), preAction(0), preActionSequence(0), postAction(0), postActionSequence(0) |
| 44 | { |
| 45 | } |
| 46 | |
| 47 | virtual void preTestAction(UtestShell&, TestResult&) |
| 48 | { |
| 49 | preAction++; |
| 50 | preActionSequence = sequenceNumber++; |
| 51 | } |
| 52 | |
| 53 | virtual void postTestAction(UtestShell&, TestResult&) |
| 54 | { |
| 55 | postAction++; |
| 56 | postActionSequence = sequenceNumber++; |
| 57 | } |
| 58 | |
| 59 | int preAction; |
| 60 | int preActionSequence; |
| 61 | int postAction; |
| 62 | int postActionSequence; |
| 63 | }; |
| 64 | |
| 65 | class DummyPluginWhichAcceptsParameters: public DummyPlugin |
| 66 | { |
nothing calls this directly
no outgoing calls
no test coverage detected