| 297 | } |
| 298 | |
| 299 | UnsignedLongLongsEqualFailure::UnsignedLongLongsEqualFailure(UtestShell* test, const char* fileName, size_t lineNumber, cpputest_ulonglong expected, cpputest_ulonglong actual, const SimpleString& text) |
| 300 | : TestFailure(test, fileName, lineNumber) |
| 301 | { |
| 302 | message_ = createUserText(text); |
| 303 | |
| 304 | SimpleString aDecimal = StringFrom(actual); |
| 305 | SimpleString eDecimal = StringFrom(expected); |
| 306 | |
| 307 | SimpleString::padStringsToSameLength(aDecimal, eDecimal, ' '); |
| 308 | |
| 309 | SimpleString actualReported = aDecimal + " " + BracketsFormattedHexStringFrom(actual); |
| 310 | SimpleString expectedReported = eDecimal + " " + BracketsFormattedHexStringFrom(expected); |
| 311 | message_ += createButWasString(expectedReported, actualReported); |
| 312 | } |
| 313 | |
| 314 | SignedBytesEqualFailure::SignedBytesEqualFailure (UtestShell* test, const char* fileName, size_t lineNumber, signed char expected, signed char actual, const SimpleString& text) |
| 315 | : TestFailure(test, fileName, lineNumber) |
nothing calls this directly
no test coverage detected