| 38 | }; |
| 39 | |
| 40 | TEST(MockReturnValueTest, hasReturnValue) |
| 41 | { |
| 42 | CHECK(!mock().hasReturnValue()); |
| 43 | mock().expectOneCall("foo"); |
| 44 | CHECK(!mock().actualCall("foo").hasReturnValue()); |
| 45 | CHECK(!mock().hasReturnValue()); |
| 46 | |
| 47 | mock().expectOneCall("foo2").andReturnValue(1); |
| 48 | CHECK(mock().actualCall("foo2").hasReturnValue()); |
| 49 | CHECK(mock().hasReturnValue()); |
| 50 | } |
| 51 | |
| 52 | TEST(MockReturnValueTest, UnsignedIntegerReturnValue) |
| 53 | { |
nothing calls this directly
no test coverage detected