Lines Matching refs:Not
19 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
73 using testing::Not;
111 EXPECT_THAT(t, Not(Args<>(Ne(tuple<>()))));
118 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false)))));
126 EXPECT_THAT(t, Not(Args<0, 2>(Gt())));
132 EXPECT_THAT(t, Not(Args<1, 1>(Ne())));
138 EXPECT_THAT(t, Not(Args<2, 1>(Lt())));
157 EXPECT_THAT(make_tuple(1, 2), Not(Args<0, 0, 1>(SumIsZero())));
190 Not(Args<9, 8, 7, 6, 5, 4, 3, 2, 1, 0>(
472 EXPECT_THAT(nested, Not(ElementsAre(ElementsAre('H', 'e'),
481 EXPECT_THAT(v, Not(ElementsAre(Ref(v[0]), Ref(v[1]), Ref(a[2]))));
489 EXPECT_THAT(&v, Not(Pointee(ElementsAre(0, _, 3))));
495 EXPECT_THAT(array, Not(ElementsAre(1, _, _)));
496 EXPECT_THAT(array, Not(ElementsAre(0, _)));
513 EXPECT_THAT(array_as_tuple, Not(ElementsAre(0)));
526 EXPECT_THAT(a2, ElementsAre(Not(ElementsAre('h', 'o', '\0')),
541 EXPECT_THAT(test_vector, Not(ElementsAreArray(a)));
552 EXPECT_THAT(test_vector, Not(ElementsAreArray(p, GMOCK_ARRAY_SIZE_(a))));
562 EXPECT_THAT(test_vector, Not(ElementsAreArray(a)));
576 EXPECT_THAT(test_vector, Not(ElementsAreArray(kMatcherArray)));
587 EXPECT_THAT(a, Not(ElementsAreArray(b, 1)));
602 EXPECT_EQ("not (is even)", DescribeNegation(m));
701 EXPECT_THAT(4, Not(IsPositiveOdd()));
702 EXPECT_THAT(-1, Not(IsPositiveOdd()));
715 EXPECT_EQ("not (is greater than 32 and 5)", DescribeNegation(m));
727 EXPECT_EQ("not (is greater than 32 and 5)", DescribeNegation(m));
817 EXPECT_EQ("is not in closed range (10, 20)", Describe(m));
818 EXPECT_EQ("not (is not in closed range (10, 20))", DescribeNegation(m));
869 EXPECT_THAT(1, Not(EqualsSumOf()));
870 EXPECT_THAT(-1, Not(EqualsSumOf(1)));
871 EXPECT_THAT(-12, Not(EqualsSumOf(10, 2)));
872 EXPECT_THAT(-123, Not(EqualsSumOf(100, 20, 3)));
873 EXPECT_THAT(-1234, Not(EqualsSumOf(1000, 200, 30, 4)));
874 EXPECT_THAT(-12345, Not(EqualsSumOf(10000, 2000, 300, 40, 5)));
876 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f')));
878 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f',
881 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g',
884 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g',
887 Not(EqualsSumOf(::std::string("a"), 'b', 'c', "d", "e", 'f', 'g',
897 EXPECT_THAT(124, Not(EqualsSumOf(100L, 20, static_cast<char>(3))));
898 EXPECT_THAT("abcde", Not(EqualsSumOf(::std::string("a"), "b", 'c', "d")));
961 EXPECT_THAT(0, Not(TwoOf(Gt(-1), Lt(1), Eq(0))));
987 EXPECT_THAT(some_list, Not(Contains(4)));
1011 EXPECT_THAT(some_set, Not(Contains(4)));
1015 EXPECT_THAT(c_string_set, Not(Contains(string("hello").c_str())));
1037 Matcher<vector<int> > m2 = Not(m);
1060 EXPECT_THAT(some_map, Not(Contains(pair<const int, int>(2, 23))));
1070 EXPECT_THAT(int_array, Not(Contains(5)));
1076 EXPECT_THAT(a, Not(Contains(Gt(4))));
1083 EXPECT_THAT(make_tuple(pointer, 2), Not(Contains(Gt(3))));
1090 EXPECT_THAT(a, Not(Contains(ElementsAre(3, 4, 5))));
1091 EXPECT_THAT(a, Contains(Not(Contains(5))));