| 638 | #endif |
| 639 | |
| 640 | MSC_SWITCHED_TEST(MockSupport_c, NoExceptionsAreThrownWhenAMock_cCallFailed) |
| 641 | { |
| 642 | TestTestingFixture fixture; |
| 643 | |
| 644 | fixture.setTestFunction(failedCallToMockC); |
| 645 | fixture.runAllTests(); |
| 646 | |
| 647 | LONGS_EQUAL(1, fixture.getFailureCount()); |
| 648 | // Odd behavior in Visual C++, destructor still gets called here |
| 649 | CHECK(!destructorWasCalled); |
| 650 | } |
| 651 | |
| 652 | static bool cpputestHasCrashed; |
| 653 |
nothing calls this directly
no test coverage detected