• Home
  • Raw
  • Download

Lines Matching refs:Not

84 using testing::Not;
332 EXPECT_THAT(nested, Not(ElementsAre(ElementsAre('H', 'e'), in TEST()
341 EXPECT_THAT(v, Not(ElementsAre(Ref(v[0]), Ref(v[1]), Ref(a[2])))); in TEST()
349 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3)))); in TEST()
355 EXPECT_THAT(array, Not(ElementsAre(1, _, _))); in TEST()
356 EXPECT_THAT(array, Not(ElementsAre(0, _))); in TEST()
373 EXPECT_THAT(array_as_tuple, Not(ElementsAre(0))); in TEST()
386 EXPECT_THAT(a2, ElementsAre(Not(ElementsAre('h', 'o', '\0')), in TEST()
393 EXPECT_THAT(array, Not(ElementsAre("hi", "one", "too"))); in TEST()
414 EXPECT_THAT(array2, Not(ElementsAre(kHi))); in TEST()
432 EXPECT_THAT(array2, Not(polymorphic_matcher)); in TEST()
447 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
458 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, GTEST_ARRAY_SIZE_(a)))); in TEST()
468 EXPECT_THAT(test_vector, Not(ElementsAreArray(a))); in TEST()
482 EXPECT_THAT(test_vector, Not(ElementsAreArray(kMatcherArray))); in TEST()
491 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected))); in TEST()
498 EXPECT_THAT(a, Not(ElementsAreArray({ 1, 2, 3, 5, 4 }))); in TEST()
499 EXPECT_THAT(a, Not(ElementsAreArray({ 1, 2, 3, 4, 6 }))); in TEST()
505 EXPECT_THAT(a, Not(ElementsAreArray({ "a", "b", "c", "e", "d" }))); in TEST()
506 EXPECT_THAT(a, Not(ElementsAreArray({ "a", "b", "c", "d", "ef" }))); in TEST()
513 EXPECT_THAT(a, Not(ElementsAreArray( in TEST()
525 EXPECT_THAT(a, Not(ElementsAreArray<Matcher<int> >( in TEST()
538 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected))); in TEST()
550 EXPECT_THAT(test_vector, Not(ElementsAreArray(null_int, null_int))); in TEST()
562 EXPECT_THAT(a, Not(ElementsAreArray(b, 1))); in TEST()
578 EXPECT_THAT(test_vector, Not(matcher_maker)); in TEST()
692 EXPECT_THAT(4, Not(IsPositiveOdd())); in TEST()
693 EXPECT_THAT(-1, Not(IsPositiveOdd())); in TEST()
860 EXPECT_THAT(1, Not(EqualsSumOf())); in TEST()
861 EXPECT_THAT(-1, Not(EqualsSumOf(1))); in TEST()
862 EXPECT_THAT(-12, Not(EqualsSumOf(10, 2))); in TEST()
863 EXPECT_THAT(-123, Not(EqualsSumOf(100, 20, 3))); in TEST()
864 EXPECT_THAT(-1234, Not(EqualsSumOf(1000, 200, 30, 4))); in TEST()
865 EXPECT_THAT(-12345, Not(EqualsSumOf(10000, 2000, 300, 40, 5))); in TEST()
867 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f'))); in TEST()
869 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', in TEST()
872 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g', in TEST()
875 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g', in TEST()
878 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g', in TEST()
888 EXPECT_THAT(124, Not(EqualsSumOf(100L, 20, static_cast<char>(3)))); in TEST()
889 EXPECT_THAT("abcde", Not(EqualsSumOf(::std::string("a"), "b", 'c', "d"))); in TEST()
965 EXPECT_THAT(0, Not(TwoOf(Gt(-1), Lt(1), Eq(0)))); in TEST()
991 EXPECT_THAT(some_list, Not(Contains(4))); in TEST()
1015 EXPECT_THAT(some_set, Not(Contains(4))); in TEST()
1019 EXPECT_THAT(c_string_set, Not(Contains(std::string("hello").c_str()))); in TEST()
1041 Matcher<vector<int> > m2 = Not(m); in TEST()
1065 EXPECT_THAT(some_map, Not(Contains(pair<const int, int>(2, 23)))); in TEST()
1075 EXPECT_THAT(int_array, Not(Contains(5))); in TEST()
1081 EXPECT_THAT(a, Not(Contains(Gt(4)))); in TEST()
1088 EXPECT_THAT(std::make_tuple(pointer, 2), Not(Contains(Gt(3)))); in TEST()
1095 EXPECT_THAT(a, Not(Contains(ElementsAre(3, 4, 5)))); in TEST()
1096 EXPECT_THAT(a, Contains(Not(Contains(5)))); in TEST()
1107 EXPECT_THAT(2, Not(AllOfArray(v1.begin(), v1.end()))); in TEST()
1108 EXPECT_THAT(3, Not(AllOfArray(v2.begin(), v2.end()))); in TEST()
1114 EXPECT_THAT(2, Not(AllOfArray(ar, 1))); in TEST()
1115 EXPECT_THAT(3, Not(AllOfArray(ar + 1, 3))); in TEST()
1124 EXPECT_THAT(2, Not(AllOfArray(ar1))); in TEST()
1125 EXPECT_THAT(3, Not(AllOfArray(ar2))); in TEST()
1130 EXPECT_THAT(2, Not(AllOfArray(v1))); in TEST()
1131 EXPECT_THAT(3, Not(AllOfArray(v2))); in TEST()
1136 EXPECT_THAT(2, Not(AllOfArray({1}))); in TEST()
1137 EXPECT_THAT(3, Not(AllOfArray({2, 3}))); in TEST()
1144 EXPECT_THAT(0, Not(AllOfArray(matchers))); in TEST()
1146 EXPECT_THAT(2, Not(AllOfArray(matchers))); in TEST()
1148 EXPECT_THAT(0, Not(AllOfArray({Ge(0), Ge(1)}))); in TEST()
1157 EXPECT_THAT(0, Not(AnyOfArray(v0.begin(), v0.end()))); in TEST()
1159 EXPECT_THAT(2, Not(AnyOfArray(v1.begin(), v1.end()))); in TEST()
1161 EXPECT_THAT(4, Not(AnyOfArray(v2.begin(), v2.end()))); in TEST()
1164 EXPECT_THAT(0, Not(AnyOfArray(ar, 0))); in TEST()
1166 EXPECT_THAT(2, Not(AnyOfArray(ar, 1))); in TEST()
1168 EXPECT_THAT(4, Not(AnyOfArray(ar + 1, 2))); in TEST()
1175 EXPECT_THAT(2, Not(AnyOfArray(ar1))); in TEST()
1177 EXPECT_THAT(4, Not(AnyOfArray(ar2))); in TEST()
1179 EXPECT_THAT(0, Not(AnyOfArray(v0))); in TEST()
1181 EXPECT_THAT(2, Not(AnyOfArray(v1))); in TEST()
1183 EXPECT_THAT(4, Not(AnyOfArray(v2))); in TEST()
1185 EXPECT_THAT(0, Not(AnyOfArray<int>({}))); // Requires template arg. in TEST()
1187 EXPECT_THAT(2, Not(AnyOfArray({1}))); in TEST()
1189 EXPECT_THAT(4, Not(AnyOfArray({2, 3}))); in TEST()
1197 EXPECT_THAT(1, Not(AnyOfArray(matchers))); in TEST()
1201 EXPECT_THAT(1, Not(AllOfArray({Lt(0), Lt(1)}))); in TEST()
1286 EXPECT_THAT(p, Not(AllOf(Pointee(Eq(3)), Pointee(Gt(0)), Pointee(Lt(3))))); in TEST()
1292 EXPECT_THAT(p, Not(AnyOf(Pointee(Eq(5)), Pointee(Lt(0)), Pointee(Gt(5))))); in TEST()
1304 EXPECT_THAT(std::unique_ptr<int>(), Not(IsNotNull())); in TEST()
1316 EXPECT_THAT(p, Not(UniquePointee(2))); in TEST()