Lines Matching defs:a1
420 // Tests DoAll(a1, a2).
429 // Tests DoAll(a1, a2, a3).
440 // Tests DoAll(a1, a2, a3, a4).
455 // Tests DoAll(a1, a2, a3, a4, a5).
472 // Tests DoAll(a1, a2, ..., a6).
491 // Tests DoAll(a1, a2, ..., a7).
512 // Tests DoAll(a1, a2, ..., a8).
536 // Tests DoAll(a1, a2, ..., a9).
562 // Tests DoAll(a1, a2, ..., a10).
608 Action<double()> a1 = Return5();
609 EXPECT_DOUBLE_EQ(5, a1.Perform(make_tuple()));
619 Action<void(int, int*)> a1 = IncrementArg1();
621 a1.Perform(make_tuple(5, &n));
634 Action<void(int, bool, int*)> a1 = IncrementArg2();
636 a1.Perform(make_tuple(5, false, &n));
649 Action<int(int, char, int*)> a1 = Sum2();
651 EXPECT_EQ(11, a1.Perform(make_tuple(5, Char(6), &dummy)));
665 Action<int(bool)> a1 = InvokeDummy();
666 EXPECT_EQ(1, a1.Perform(make_tuple(true)));
667 EXPECT_EQ(1, a1.Perform(make_tuple(false)));
679 Action<int(bool)> a1 = InvokeDummy2();
680 EXPECT_EQ(1, a1.Perform(make_tuple(true)));
681 EXPECT_EQ(1, a1.Perform(make_tuple(false)));
714 Action<int(int, int)> a1 = action_test::Sum();
715 EXPECT_EQ(3, a1.Perform(make_tuple(1, 2)));
723 Action<int(int)> a1 = PlusTwo();
724 EXPECT_EQ(4, a1.Perform(make_tuple(2)));
735 Action<int(int m, bool t)> a1 = Plus(9);
736 EXPECT_EQ(10, a1.Perform(make_tuple(1, true)));
748 Action<int(char m, bool t)> a1 = TypedPlus(9);
749 EXPECT_EQ(10, a1.Perform(make_tuple(Char(1), true)));
755 Action<std::string(const std::string& s)> a1 = Plus("tail");
757 EXPECT_EQ("retail", a1.Perform(tuple<const std::string&>(re)));
776 const MyAction a1 = OverloadedAction();
777 EXPECT_STREQ("hello", a1.Perform(make_tuple(false, CharPtr("world"))));
778 EXPECT_STREQ("world", a1.Perform(make_tuple(true, CharPtr("world"))));
794 Action<double(int m, bool t)> a1 = Plus(100, 20, 3.4);
795 EXPECT_DOUBLE_EQ(3123.4, a1.Perform(make_tuple(3000, true)));
805 Action<int(int)> a1 = Plus(1, 2, 3, 4);
806 EXPECT_EQ(10 + 1 + 2 + 3 + 4, a1.Perform(make_tuple(10)));
812 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5);
813 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5, a1.Perform(make_tuple(10)));
821 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5, 6);
822 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6, a1.Perform(make_tuple(10)));
830 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5, 6, 7);
831 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7, a1.Perform(make_tuple(10)));
839 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5, 6, 7, 8);
840 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8, a1.Perform(make_tuple(10)));
848 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5, 6, 7, 8, 9);
849 EXPECT_EQ(10 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9, a1.Perform(make_tuple(10)));
859 Action<int(int)> a1 = Plus(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
861 a1.Perform(make_tuple(10)));
927 Action<const std::string()> a1 = Concat("Hello", "1", 2);
928 EXPECT_EQ("Hello12", a1.Perform(make_tuple()));
930 a1 = Concat(1, 2, 3);
931 EXPECT_EQ("123", a1.Perform(make_tuple()));
945 DoFooActionP<int> a1 = DoFoo(1);
965 (void)a1;
983 ACTION_P10(Plus10, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
984 return a0 + a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9;
1053 TenArgConstructorClass(int a1, int a2, int a3, int a4, int a5,
1055 : value_(a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 + a10) {
1212 const Action<int()> a1 = ReturnSum(1);
1217 EXPECT_EQ(1, a1.Perform(make_tuple()));