Searched refs:EXPECT_SYSTEM_ERROR (Results 1 – 5 of 5) sorted by relevance
/external/fmtlib/test/ |
D | gtest-extra-test.cc | 73 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR(throw_system_error(), EDOM, p_++), in TEST_F() 121 EXPECT_SYSTEM_ERROR( in TEST_F() 131 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR( in TEST_F() 142 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR( in TEST_F() 153 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR(a_++, EDOM, (b_++, "test")), in TEST_F() 228 EXPECT_SYSTEM_ERROR(throw fmt::system_error(EDOM, "test"), EDOM, "test"); in TEST() 229 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR(n++, EDOM, ""), ""); in TEST() 230 EXPECT_NONFATAL_FAILURE(EXPECT_SYSTEM_ERROR(throw 1, EDOM, ""), ""); in TEST() 232 EXPECT_SYSTEM_ERROR(throw fmt::system_error(EDOM, "aaa"), EDOM, "bbb"), in TEST() 248 EXPECT_SYSTEM_ERROR(do_nothing(), EDOM, ""); in TEST() [all …]
|
D | posix-mock-test.cc | 192 EXPECT_SYSTEM_ERROR(statement, EINTR, message); \ 213 EXPECT_SYSTEM_ERROR(fmt::getpagesize(), EINVAL, in TEST() 251 EXPECT_SYSTEM_ERROR(read_end.close(), EINTR, "cannot close file"); in TEST() 271 EXPECT_SYSTEM_ERROR(f.size(), EBADF, "cannot get file attributes"); in TEST() 345 EXPECT_SYSTEM_ERROR( in TEST() 376 EXPECT_SYSTEM_ERROR(file::pipe(read_end, write_end), EINTR, in TEST() 385 EXPECT_SYSTEM_ERROR(read_end.fdopen("r"), EINTR, in TEST() 424 EXPECT_SYSTEM_ERROR(f.close(), EINTR, "cannot close file"); in TEST() 434 EXPECT_SYSTEM_ERROR((f.fileno)(), EINTR, "cannot get file descriptor"); in TEST()
|
D | gtest-extra.h | 56 #define EXPECT_SYSTEM_ERROR(statement, error_code, message) \ macro 138 EXPECT_SYSTEM_ERROR(SUPPRESS_ASSERT(statement), error_code, message)
|
D | os-test.cc | 336 EXPECT_SYSTEM_ERROR(file("nonexistent", file::RDONLY), ENOENT, in TEST() 443 EXPECT_SYSTEM_ERROR(f.read(&buf, 1), EBADF, "cannot read from file"); in TEST() 458 EXPECT_SYSTEM_ERROR(f.write(" ", 1), EBADF, "cannot write to file"); in TEST()
|
D | format-test.cc | 1586 EXPECT_SYSTEM_ERROR( in TEST()
|