Lines Matching refs:EXPECT_EQ
102 EXPECT_EQ(0U, BuiltInDefaultValue<unsigned char>::Get());
103 EXPECT_EQ(0, BuiltInDefaultValue<signed char>::Get());
104 EXPECT_EQ(0, BuiltInDefaultValue<char>::Get());
106 EXPECT_EQ(0U, BuiltInDefaultValue<unsigned wchar_t>::Get());
107 EXPECT_EQ(0, BuiltInDefaultValue<signed wchar_t>::Get());
110 EXPECT_EQ(0, BuiltInDefaultValue<wchar_t>::Get());
112 EXPECT_EQ(0U, BuiltInDefaultValue<unsigned short>::Get()); // NOLINT
113 EXPECT_EQ(0, BuiltInDefaultValue<signed short>::Get()); // NOLINT
114 EXPECT_EQ(0, BuiltInDefaultValue<short>::Get()); // NOLINT
115 EXPECT_EQ(0U, BuiltInDefaultValue<unsigned int>::Get());
116 EXPECT_EQ(0, BuiltInDefaultValue<signed int>::Get());
117 EXPECT_EQ(0, BuiltInDefaultValue<int>::Get());
118 EXPECT_EQ(0U, BuiltInDefaultValue<unsigned long>::Get()); // NOLINT
119 EXPECT_EQ(0, BuiltInDefaultValue<signed long>::Get()); // NOLINT
120 EXPECT_EQ(0, BuiltInDefaultValue<long>::Get()); // NOLINT
121 EXPECT_EQ(0U, BuiltInDefaultValue<UInt64>::Get());
122 EXPECT_EQ(0, BuiltInDefaultValue<Int64>::Get());
123 EXPECT_EQ(0, BuiltInDefaultValue<float>::Get());
124 EXPECT_EQ(0, BuiltInDefaultValue<double>::Get());
169 EXPECT_EQ("", BuiltInDefaultValue< ::string>::Get());
172 EXPECT_EQ("", BuiltInDefaultValue< ::std::string>::Get());
188 EXPECT_EQ("", BuiltInDefaultValue<const std::string>::Get());
189 EXPECT_EQ(0, BuiltInDefaultValue<const int>::Get());
224 EXPECT_EQ(42, BuiltInDefaultValue<MyDefaultConstructible>::Get().value());
265 EXPECT_EQ(1, DefaultValue<int>::Get());
266 EXPECT_EQ(42, DefaultValue<const MyNonDefaultConstructible>::Get().value());
290 EXPECT_EQ(0, DefaultValue<int>::Get());
306 EXPECT_EQ(42, *i);
341 EXPECT_EQ(&n, &(DefaultValue<const int&>::Get()));
342 EXPECT_EQ(&x, &(DefaultValue<MyNonDefaultConstructible&>::Get()));
394 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
407 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
408 EXPECT_EQ(0, action.Perform(make_tuple(false, 1)));
417 EXPECT_EQ(5, a1.Perform(make_tuple(true, 5)));
418 EXPECT_EQ(0, a1.Perform(make_tuple(false, 1)));
421 EXPECT_EQ(5, a2.Perform(make_tuple(true, 5)));
422 EXPECT_EQ(0, a2.Perform(make_tuple(false, 1)));
427 EXPECT_EQ(5, a1.Perform(make_tuple(true, 5)));
428 EXPECT_EQ(0, a1.Perform(make_tuple(false, 1)));
431 EXPECT_EQ(5, a2.Perform(make_tuple(true, 5)));
432 EXPECT_EQ(0, a2.Perform(make_tuple(false, 1)));
454 EXPECT_EQ(1, a2.Perform(make_tuple('a')));
455 EXPECT_EQ(0, a2.Perform(make_tuple('\0')));
503 EXPECT_EQ(5, a1.Perform(make_tuple(false, 5, 2.0)));
510 EXPECT_EQ(0, a1.Perform(make_tuple()));
526 EXPECT_EQ(1, ret.Perform(make_tuple()));
529 EXPECT_EQ(-5, ret.Perform(make_tuple()));
538 EXPECT_EQ("world", a2.Perform(make_tuple()));
575 EXPECT_EQ(&base, ret.Perform(make_tuple()));
578 EXPECT_EQ(&derived, ret.Perform(make_tuple()));
653 EXPECT_EQ(&n, &ret.Perform(make_tuple(true)));
661 EXPECT_EQ(&base, &a.Perform(make_tuple()));
664 EXPECT_EQ(&derived, &a.Perform(make_tuple()));
673 EXPECT_EQ(42, ret.Perform(make_tuple()));
677 EXPECT_EQ(42, ret.Perform(make_tuple()));
715 EXPECT_EQ(0, mock.IntFunc(true));
760 EXPECT_EQ(1, mock.IntFunc(false));
771 EXPECT_EQ(2, mock.IntFunc(false));
792 EXPECT_EQ(2, n);
793 EXPECT_EQ('\0', ch);
799 EXPECT_EQ(0, n);
800 EXPECT_EQ('a', ch);
812 EXPECT_EQ("hi", str);
818 EXPECT_EQ("", str);
835 EXPECT_EQ(L"world", str);
849 EXPECT_EQ("hi", str);
857 EXPECT_EQ("", str);
858 EXPECT_EQ(world, ptr);
867 EXPECT_EQ(hi, ptr);
877 EXPECT_EQ(world_array, str);
948 EXPECT_EQ(2, dest.int_field());
949 EXPECT_EQ("hi", dest.string_field());
974 EXPECT_EQ(2, dest.int_field());
975 EXPECT_EQ("hi", dest.string_field());
989 EXPECT_EQ(2, n);
990 EXPECT_EQ('\0', ch);
996 EXPECT_EQ(0, n);
997 EXPECT_EQ('a', ch);
1067 EXPECT_EQ(2, dest.int_field());
1068 EXPECT_EQ("hi", dest.string_field());
1093 EXPECT_EQ(2, dest.int_field());
1094 EXPECT_EQ("hi", dest.string_field());
1129 EXPECT_EQ(1, a.Perform(make_tuple(2)));
1133 EXPECT_EQ(1, a2.Perform(make_tuple(2, 3.5)));
1146 EXPECT_EQ(2, a.Perform(make_tuple()));
1151 EXPECT_EQ(2, a2.Perform(make_tuple(3, 3.5, 'a')));
1165 EXPECT_EQ(123, a.Perform(make_tuple(true, 'a')));
1207 EXPECT_EQ(5, x);
1214 EXPECT_EQ("Hello, world", x);
1234 EXPECT_EQ(-5, a.Perform(make_tuple()));
1235 EXPECT_EQ(ENOTTY, errno);
1241 EXPECT_EQ(&x, a.Perform(make_tuple()));
1242 EXPECT_EQ(ENOTTY, errno);
1248 EXPECT_EQ(EINVAL, errno);
1263 EXPECT_EQ(&s1, &r1);
1268 EXPECT_EQ(&s2, &r2);
1275 EXPECT_EQ(&s1, &r3);
1284 EXPECT_EQ(&n, &const_ref);
1293 EXPECT_EQ(&n, &ref);
1297 EXPECT_EQ(&n, &const_ref);
1304 EXPECT_EQ(&n, &r1);
1311 EXPECT_EQ(&d, &r2);
1314 EXPECT_EQ(&d, &r3);
1317 EXPECT_EQ(&d, &r4);
1320 EXPECT_EQ(&d, &r5);
1335 EXPECT_EQ(expected.str(), actual.str());
1361 EXPECT_EQ(19, *result1);
1364 EXPECT_EQ(1u, vresult.size());
1366 EXPECT_EQ(7, *vresult[0]);
1369 EXPECT_EQ(d, result2.get());
1382 EXPECT_EQ(19, *result1);
1392 EXPECT_EQ(42, *mock.MakeUnique());
1398 EXPECT_EQ(19, *result1);
1400 EXPECT_EQ(19, *result2);
1404 EXPECT_EQ(1u, vresult.size());
1406 EXPECT_EQ(7, *vresult[0]);