| 71 | } |
| 72 | |
| 73 | void AssertAnyError(RTCDevice device) |
| 74 | { |
| 75 | RTCError error = rtcGetDeviceError(device); |
| 76 | if (error == RTC_ERROR_NONE) |
| 77 | throw std::runtime_error("Any error expected"); |
| 78 | } |
| 79 | |
| 80 | void AssertError(RTCDevice device, RTCError expectedError) |
| 81 | { |
nothing calls this directly
no test coverage detected