| 75 | }; |
| 76 | |
| 77 | TEST(SetPointerPluginTest, installTwoFunctionPointer) |
| 78 | { |
| 79 | FunctionPointerUtestShell *tst = new FunctionPointerUtestShell(); |
| 80 | |
| 81 | fp1 = orig_func1; |
| 82 | fp2 = orig_func2; |
| 83 | myRegistry_->addTest(tst); |
| 84 | myRegistry_->runAllTests(*result_); |
| 85 | CHECK(fp1 == orig_func1); |
| 86 | CHECK(fp2 == orig_func2); |
| 87 | LONGS_EQUAL(0, result_->getFailureCount()); |
| 88 | LONGS_EQUAL(2, result_->getCheckCount()); |
| 89 | delete tst; |
| 90 | } |
| 91 | |
| 92 | class MaxFunctionPointerUtest : public Utest |
| 93 | { |
nothing calls this directly
no test coverage detected