Home
last modified time | relevance | path

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

/freebsd-12.1/tests/sys/fs/fusefs/
H A Dlookup.cc191 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
245 EXPECT_NE(0, access("mountpoint/does_not_exist", F_OK)); in TEST_F()
247 EXPECT_NE(0, access("mountpoint/does_not_exist", F_OK)); in TEST_F()
262 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
268 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
H A Dopendir.cc106 EXPECT_NE(0, open(FULLPATH, O_DIRECTORY)); in TEST_F()
162 EXPECT_NE(nullptr, opendir(FULLPATH)) << strerror(errno); in TEST_F()
H A Ddefault_permissions.cc382 EXPECT_NE(0, chown(FULLPATH, 0, -1)); in TEST_F()
444 EXPECT_NE(0, chown(FULLPATH, -1, newgid)); in TEST_F()
752 EXPECT_NE(0, open(FULLPATH, O_RDWR)); in TEST_F()
992 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
1056 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
1078 EXPECT_NE(0, chmod(FULLPATH, newmode)); in TEST_F()
H A Dcreate.cc207 EXPECT_NE(0, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
345 EXPECT_NE(0, open(FULLPATH, O_CREAT | O_EXCL, mode)); in TEST_F()
H A Dunlink.cc104 EXPECT_NE(sb_old.st_ctime, sb_new.st_ctime); in TEST_F()
H A Dmknod.cc187 EXPECT_NE(0, mkfifo(FULLPATH, mode)); in TEST_F()
H A Dwrite.cc617 EXPECT_NE(sb0.st_mtime, sb1.st_mtime); in TEST_F()
618 EXPECT_NE(sb0.st_ctime, sb1.st_ctime); in TEST_F()
1181 EXPECT_NE((time_t)server_time, sb.st_mtime); in TEST_F()
1182 EXPECT_NE((time_t)server_time, sb.st_ctime); in TEST_F()
H A Dgetattr.cc183 EXPECT_NE(0, stat(FULLPATH, &sb)); in TEST_F()
H A Dinterrupt.cc528 EXPECT_NE(0, r); in TEST_F()
H A Dsetattr.cc276 EXPECT_NE(0, truncate(FULLPATH, 10)); in TEST_F()
/freebsd-12.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-12.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-12.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
H A Dprimer.md160 `ASSERT_NE(val1, val2);` | `EXPECT_NE(val1, val2);` | `val1 != val2`
220 two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/utils/test/
H A DWorkQueueTest.cpp250 EXPECT_NE(nullptr, x); in TEST()
/freebsd-12.1/contrib/googletest/googletest/include/gtest/
H A Dgtest.h1992 #define EXPECT_NE(val1, val2) \ macro
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DCookBook.md2316 EXPECT_NE(nullptr, mock_buzzer_.MakeBuzz("world"));
2338 EXPECT_NE(nullptr, mock_buzzer_.MakeBuzz("x"));
2339 EXPECT_NE(nullptr, mock_buzzer_.MakeBuzz("x"));
/freebsd-12.1/contrib/ntp/
H A DCommitLog25082 added new function which replaces EXPECT_NE from gtest
25087 added new function which replaces EXPECT_NE from gtest