| 226 | } |
| 227 | |
| 228 | MockUnexpectedObjectFailure::MockUnexpectedObjectFailure(UtestShell* test, const SimpleString& functionName, const void* actual, const MockExpectedCallsList& expectations) : MockFailure(test) |
| 229 | { |
| 230 | message_ = StringFromFormat ("MockFailure: Function called on an unexpected object: %s\n" |
| 231 | "\tActual object for call has address: <%p>\n", functionName.asCharString(),actual); |
| 232 | addExpectationsAndCallHistoryRelatedTo(functionName, expectations); |
| 233 | } |
| 234 | |
| 235 | MockExpectedObjectDidntHappenFailure::MockExpectedObjectDidntHappenFailure(UtestShell* test, const SimpleString& functionName, const MockExpectedCallsList& expectations) : MockFailure(test) |
| 236 | { |
nothing calls this directly
no test coverage detected