• Home
  • Raw
  • Download

Lines Matching refs:make_tuple

50 using testing::make_tuple;
172 EXPECT_EQ(1, a.Perform(make_tuple(2, &Nullary))); in TEST()
178 EXPECT_EQ(1, a.Perform(make_tuple(UnaryFunctor()))); in TEST()
185 EXPECT_EQ(12345, a.Perform(make_tuple(&SumOf5))); in TEST()
192 EXPECT_EQ(12345, a.Perform(make_tuple(SumOf5Functor()))); in TEST()
199 EXPECT_EQ(123456, a.Perform(make_tuple(&SumOf6))); in TEST()
206 EXPECT_EQ(123456, a.Perform(make_tuple(SumOf6Functor()))); in TEST()
215 EXPECT_EQ("1234567", a.Perform(make_tuple(&Concat7))); in TEST()
224 EXPECT_EQ("12345678", a.Perform(make_tuple(&Concat8))); in TEST()
233 EXPECT_EQ("123456789", a.Perform(make_tuple(&Concat9))); in TEST()
242 EXPECT_EQ("1234567890", a.Perform(make_tuple(&Concat10))); in TEST()
249 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary))); in TEST()
257 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary))); in TEST()
267 EXPECT_TRUE(a.Perform(make_tuple(&ByConstRef))); in TEST()
276 EXPECT_TRUE(a.Perform(make_tuple(&ReferencesGlobalDouble))); in TEST()
280 EXPECT_FALSE(a.Perform(make_tuple(&ReferencesGlobalDouble))); in TEST()
286 EXPECT_TRUE(a.Perform(make_tuple(1.5, -1))); in TEST()
287 EXPECT_FALSE(a.Perform(make_tuple(1.5, 1))); in TEST()
295 EXPECT_EQ(s + 2, a.Perform(make_tuple(CharPtr(s), 0.5, Short(2)))); in TEST()
302 EXPECT_EQ(123, a.Perform(make_tuple(100, 6.5, Char(20), Short(3)))); in TEST()
310 EXPECT_EQ("4310", a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), 2.5, in TEST()
320 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
329 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2")))); in TEST()
337 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
346 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
355 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
364 a.Perform(make_tuple(CharPtr("0"), CharPtr("1"), CharPtr("2"), in TEST()
387 EXPECT_EQ(123, a.Perform(make_tuple(100, Char(20), Short(3)))); in TEST()
394 EXPECT_EQ(4, a.Perform(make_tuple(false, 1, 10))); in TEST()
402 EXPECT_EQ(s + 2, a.Perform(make_tuple(Short(2), CharPtr(s)))); in TEST()
409 EXPECT_EQ(123, a.Perform(make_tuple(Short(100), Char(20), 5.6, Char(3)))); in TEST()
416 a.Perform(make_tuple(1.5, 'a', 3)); in TEST()
425 EXPECT_EQ(2, a.Perform(make_tuple(&n))); in TEST()
435 EXPECT_EQ(3, a.Perform(make_tuple(&m, &n))); in TEST()
449 EXPECT_EQ(3, a.Perform(make_tuple(&m, &n, &ch))); in TEST()
465 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b))); in TEST()
483 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b, &c))); in TEST()
503 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b, &c, &d))); in TEST()
526 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b, &c, &d, &e))); in TEST()
551 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b, &c, &d, &e, &f))); in TEST()
579 EXPECT_EQ(3, action.Perform(make_tuple(&m, &n, &a, &b, &c, &d, &e, &f, &g))); in TEST()
609 EXPECT_DOUBLE_EQ(5, a1.Perform(make_tuple())); in TEST()
612 EXPECT_EQ(5, a2.Perform(make_tuple(1, true))); in TEST()
621 a1.Perform(make_tuple(5, &n)); in TEST()
636 a1.Perform(make_tuple(5, false, &n)); in TEST()
651 EXPECT_EQ(11, a1.Perform(make_tuple(5, Char(6), &dummy))); in TEST()
666 EXPECT_EQ(1, a1.Perform(make_tuple(true))); in TEST()
667 EXPECT_EQ(1, a1.Perform(make_tuple(false))); in TEST()
680 EXPECT_EQ(1, a1.Perform(make_tuple(true))); in TEST()
681 EXPECT_EQ(1, a1.Perform(make_tuple(false))); in TEST()
715 EXPECT_EQ(3, a1.Perform(make_tuple(1, 2))); in TEST()
724 EXPECT_EQ(4, a1.Perform(make_tuple(2))); in TEST()
728 EXPECT_DOUBLE_EQ(6, a2.Perform(make_tuple(4.0f, &dummy))); in TEST()
736 EXPECT_EQ(10, a1.Perform(make_tuple(1, true))); in TEST()
749 EXPECT_EQ(10, a1.Perform(make_tuple(Char(1), true))); in TEST()
777 EXPECT_STREQ("hello", a1.Perform(make_tuple(false, CharPtr("world")))); in TEST()
778 EXPECT_STREQ("world", a1.Perform(make_tuple(true, CharPtr("world")))); in TEST()
781 EXPECT_STREQ("hi", a2.Perform(make_tuple(false, CharPtr("world")))); in TEST()
782 EXPECT_STREQ("world", a2.Perform(make_tuple(true, CharPtr("world")))); in TEST()
785 EXPECT_STREQ("hi", a3.Perform(make_tuple(true, CharPtr("world")))); in TEST()
786 EXPECT_STREQ("you", a3.Perform(make_tuple(false, CharPtr("world")))); in TEST()
795 EXPECT_DOUBLE_EQ(3123.4, a1.Perform(make_tuple(3000, true))); in TEST()
806 EXPECT_EQ(10 + 1 + 2 + 3 + 4, a1.Perform(make_tuple(10))); in TEST()
813 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5, a1.Perform(make_tuple(10))); in TEST()
822 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6, a1.Perform(make_tuple(10))); in TEST()
831 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7, a1.Perform(make_tuple(10))); in TEST()
840 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8, a1.Perform(make_tuple(10))); in TEST()
849 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9, a1.Perform(make_tuple(10))); in TEST()
861 a1.Perform(make_tuple(10))); in TEST()
878 EXPECT_EQ("foobar", no_promo.Perform(make_tuple(CharPtr("ba")))); in TEST()
879 EXPECT_EQ("foobar", promo.Perform(make_tuple(CharPtr("ba")))); in TEST()
928 EXPECT_EQ("Hello12", a1.Perform(make_tuple())); in TEST()
931 EXPECT_EQ("123", a1.Perform(make_tuple())); in TEST()
989 const tuple<> empty = make_tuple(); in TEST()
1016 NullaryConstructorClass* c = a.Perform(make_tuple()); in TEST()
1030 UnaryConstructorClass* c = a.Perform(make_tuple()); in TEST()
1038 UnaryConstructorClass* c = a.Perform(make_tuple(false, 5)); in TEST()
1046 const UnaryConstructorClass* c = a.Perform(make_tuple()); in TEST()
1066 TenArgConstructorClass* c = a.Perform(make_tuple()); in TEST()
1080 int* p = a.Perform(make_tuple()); in TEST()
1093 int* p = a.Perform(make_tuple()); in TEST()
1119 a.Perform(make_tuple(&n, resetter)); in TEST()
1134 linked_ptr<int> p = a.Perform(make_tuple()); in TEST()
1169 Giant giant = a.Perform(make_tuple()); in TEST()
1182 EXPECT_EQ(55, a.Perform(make_tuple())); in TEST()
1216 EXPECT_EQ(0, a0.Perform(make_tuple())); in TEST()
1217 EXPECT_EQ(1, a1.Perform(make_tuple())); in TEST()
1218 EXPECT_EQ(3, a2.Perform(make_tuple())); in TEST()
1219 EXPECT_EQ(6, a3.Perform(make_tuple())); in TEST()
1220 EXPECT_EQ(12345, a4.Perform(make_tuple())); in TEST()