Home
last modified time | relevance | path

Searched refs:EXPECT_NE (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/contrib/capsicum-test/
H A Dlinux.cc86 EXPECT_NE(0, (poll_fd.revents & POLLNVAL)); in TEST()
91 EXPECT_NE(0, (poll_fd.revents & POLLIN)); in TEST()
178 EXPECT_NE(0, (poll_fd.revents & POLLNVAL)); in FORK_TEST()
182 EXPECT_NE(0, (poll_fd.revents & POLLIN)); in FORK_TEST()
229 EXPECT_NE(0, (poll_fd.revents & POLLNVAL)); in TEST()
233 EXPECT_NE(0, (poll_fd.revents & POLLIN)); in TEST()
468 EXPECT_NE(0, (poll_fd.revents & POLLNVAL)); in TEST()
473 EXPECT_NE(0, (poll_fd.revents & POLLNVAL)); in TEST()
477 EXPECT_NE(0, (poll_fd.revents & POLLIN)); in TEST()
488 EXPECT_NE(0, ev.fd); in TEST()
[all …]
H A Dselect.cc130 EXPECT_NE(0, (cap_fd[kCapCount + 1].revents & POLLNVAL));
140 EXPECT_NE(0, (cap_fd[kCapCount + 1].revents & POLLNVAL));
H A Dprocdesc.cc119 EXPECT_NE(parent, getpid_()); in TEST()
132 EXPECT_NE(-1, pd); in TEST()
178 EXPECT_NE(-1, now); in TEST()
324 EXPECT_NE(parent, getpid_()); in PipePdforkBase()
507 EXPECT_NE((char*)NULL, strstr(buffer, "pos:\t0")) << buffer; in TEST_F()
511 EXPECT_NE((char*)NULL, strstr(buffer, pidline)) << buffer; in TEST_F()
980 EXPECT_NE(parent, getpid_()); in TEST()
H A Dcapsicum-test.h153 EXPECT_NE(E, errno) << strerror(E); \
161 EXPECT_NE(E, errno) << #C << " failed with ECAPMODE"; \
H A Dcapmode.cc136 EXPECT_NE(ECAPMODE, errno); in FORK_TEST_F()
357 EXPECT_NE(ECAPMODE, errno); in FORK_TEST()
435 EXPECT_NE(ECAPMODE, errno); in TEST()
536 EXPECT_NE(-ECAPMODE, (int)um); in FORK_TEST_F()
H A Dcapsicum-test.cc75 EXPECT_NE(nullptr, prstat) << "procstat_open_sysctl failed."; in ProcessState()
H A Dfcntl.cc142 EXPECT_NE(-1, ok_index); in CheckFcntl()
241 EXPECT_NE(F_UNLCK, fl.l_type); in TEST()
H A Dcapability-fd.cc424 EXPECT_NE(MAP_FAILED, rv) << " with errno " << errno; \
508 EXPECT_NE(cap_fd, cap_cap_fd); in TryFileOps()
592 EXPECT_NE(0, (pollfd.revents & POLLNVAL)); in TryFileOps()
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock_test.cc123 EXPECT_NE(2, old_default_behavior); in TEST()
217 EXPECT_NE(2, old_default_behavior); in TEST()
H A Dgmock-actions_test.cc681 EXPECT_NE(&n, &ret.Perform(make_tuple())); in TEST()
685 EXPECT_NE(&n, &ret.Perform(make_tuple())); in TEST()
694 EXPECT_NE(&base, &a.Perform(make_tuple())); in TEST()
697 EXPECT_NE(&derived, &a.Perform(make_tuple())); in TEST()
1179 EXPECT_NE(nullptr, vresult[0]); in TEST()
1215 EXPECT_NE(result1, result2); in TEST()
1219 EXPECT_NE(nullptr, vresult[0]); in TEST()
/freebsd-13.1/tests/sys/fs/fusefs/
H A Dlookup.cc276 EXPECT_NE(0, faccessat(fd, "../..", F_OK, 0)); in TEST_F()
287 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
341 EXPECT_NE(0, access("mountpoint/does_not_exist", F_OK)); in TEST_F()
343 EXPECT_NE(0, access("mountpoint/does_not_exist", F_OK)); in TEST_F()
358 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
364 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
H A Dcopy_file_range.cc499 EXPECT_NE(sb1a.st_atime, sb1b.st_atime); in TEST_F()
503 EXPECT_NE(sb2a.st_mtime, sb2b.st_mtime); in TEST_F()
504 EXPECT_NE(sb2a.st_ctime, sb2b.st_ctime); in TEST_F()
663 EXPECT_NE(sb2a.st_mtime, sb2b.st_mtime); in TEST_F()
664 EXPECT_NE(sb2a.st_ctime, sb2b.st_ctime); in TEST_F()
H A Dfallocate.cc246 EXPECT_NE(sb0.st_mtime, sb1.st_mtime); in TEST_F()
247 EXPECT_NE(sb0.st_ctime, sb1.st_ctime); in TEST_F()
H A Dopendir.cc180 EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno); in TEST_F()
H A Dunlink.cc87 EXPECT_NE(sb_old.st_ctime, sb_new.st_ctime); in TEST_F()
H A Dmknod.cc190 EXPECT_NE(0, mkfifo(FULLPATH, mode)); in TEST_F()
H A Ddefault_permissions.cc403 EXPECT_NE(0, chown(FULLPATH, 0, -1)); in TEST_F()
465 EXPECT_NE(0, chown(FULLPATH, -1, newgid)); in TEST_F()
1187 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
1251 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
1273 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
H A Dwrite.cc711 EXPECT_NE(sb0.st_mtime, sb1.st_mtime); in TEST_F()
712 EXPECT_NE(sb0.st_ctime, sb1.st_ctime); in TEST_F()
1350 EXPECT_NE((time_t)server_time, sb.st_mtime); in TEST_F()
1351 EXPECT_NE((time_t)server_time, sb.st_ctime); in TEST_F()
H A Dgetattr.cc193 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
H A Dsetattr.cc277 EXPECT_NE(0, truncate(FULLPATH, 10)); in TEST_F()
768 EXPECT_NE(0, chown(FULLPATH, newuser, -1)); in TEST_F()
H A Dinterrupt.cc528 EXPECT_NE(0, r); in TEST_F()
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-message-test.cc83 EXPECT_NE("(null)", (Message() << p).GetString()); in TEST()
H A Dgtest_unittest.cc370 EXPECT_NE(GetTypeId<int>(), GetTestTypeId()); in TEST()
962 EXPECT_NE(0, vector_[0]); in TEST_F()
3962 EXPECT_NE(kCaseA, kCaseB); in TEST()
4200 EXPECT_NE(1, 2); in TEST()
4477 TEST(ExpectTest, EXPECT_NE) { in TEST() argument
4478 EXPECT_NE(6, 7); in TEST()
4483 EXPECT_NONFATAL_FAILURE(EXPECT_NE(2, 2), in TEST()
4486 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p0, p0), in TEST()
4494 EXPECT_NONFATAL_FAILURE(EXPECT_NE(p1, p1), in TEST()
4990 EXPECT_NE(x, y); in TEST()
[all …]
H A Dgoogletest-options-test.cc127 EXPECT_NE(original_working_dir_.string(), in SetUp()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dfaq.md57 ## Why does googletest support `EXPECT_EQ(NULL, ptr)` and `ASSERT_EQ(NULL, ptr)` but not `EXPECT_NE
59 First of all you can use `EXPECT_NE(nullptr, ptr)` and `ASSERT_NE(nullptr,
74 The need for `EXPECT_NE(NULL, ptr)` isn't nearly as strong. When the assertion
79 If we were to support `EXPECT_NE(NULL, ptr)`, for consistency we'll have to
80 support `EXPECT_NE(ptr, NULL)` as well, as unlike `EXPECT_EQ`, we don't have a
81 convention on the order of the two arguments for `EXPECT_NE`. This means using
89 combined to form new matchers, while the `EXPECT_NE`, etc, macros cannot be

12