| 88 | void ValidateTimePoint(TimePoint tp) { ASSERT_GE(tp.time_since_epoch().count(), 0); } |
| 89 | |
| 90 | void AssertRaisesWithErrno(int expected_errno, const Status& st) { |
| 91 | ASSERT_RAISES(IOError, st); |
| 92 | ASSERT_EQ(::arrow::internal::ErrnoFromStatus(st), expected_errno); |
| 93 | } |
| 94 | |
| 95 | template <typename T> |
| 96 | void AssertRaisesWithErrno(int expected_errno, const Result<T>& result) { |
no test coverage detected