Lines Matching refs:Expectation

374   Expectation e = EXPECT_CALL(a, DoA(1)).Times(AnyNumber());
400 Expectation e = EXPECT_CALL(a, DoA(1));
1395 // Tests Expectation.
1399 Expectation e1; // Default ctor.
1402 Expectation e2 = EXPECT_CALL(a, DoA(2));
1403 Expectation e3 = EXPECT_CALL(a, DoA(3)).With(_);
1406 Expectation e4 = EXPECT_CALL(a, DoA(4)).Times(1);
1407 Expectation e5 = EXPECT_CALL(a, DoA(5)).InSequence(s);
1409 Expectation e6 = EXPECT_CALL(a, DoA(6)).After(e2);
1410 Expectation e7 = EXPECT_CALL(a, DoA(7)).WillOnce(Return());
1411 Expectation e8 = EXPECT_CALL(a, DoA(8)).WillRepeatedly(Return());
1412 Expectation e9 = EXPECT_CALL(a, DoA(9)).RetiresOnSaturation();
1414 Expectation e10 = e2; // Copy ctor.
1431 Expectation e1;
1432 Expectation e2 = EXPECT_CALL(a, DoA(1));
1445 ::testing::StaticAssertTypeEq<Expectation, ExpectationSet::value_type>();
1451 Expectation e1;
1452 const Expectation e2;
1455 ExpectationSet es3 = e1; // Ctor from Expectation.
1456 ExpectationSet es4(e1); // Ctor from Expectation; alternative syntax.
1457 ExpectationSet es5 = e2; // Ctor from const Expectation.
1458 ExpectationSet es6(e2); // Ctor from const Expectation; alternative syntax.
1479 ExpectationSet es2 = Expectation();
1483 EXPECT_THAT(*(es1.begin()), Eq(Expectation()));
1489 Expectation e1;
1495 Expectation e2 = EXPECT_CALL(a, DoA(1));
1511 es += Expectation();
1525 es += Expectation();
1528 EXPECT_THAT(*it, Eq(Expectation()));
1550 // The following also verifies that const Expectation objects work
1552 const Expectation e1 = EXPECT_CALL(a, DoA(1));
1553 const Expectation e2 = EXPECT_CALL(b, DoB()).Times(2).After(e1);
1569 Expectation e1 = EXPECT_CALL(a, DoA(1));
1570 Expectation e2 = EXPECT_CALL(b, DoB()).After(e1);
1589 Expectation e1 = EXPECT_CALL(a, DoA(1));
1590 Expectation e2 = EXPECT_CALL(b, DoB()).Times(2).After(e1);
1611 Expectation e = EXPECT_CALL(a, DoA(1));
1630 Expectation e = EXPECT_CALL(a, DoA(1));
1647 Expectation e = EXPECT_CALL(a, DoA(1));
1663 Expectation e1 = EXPECT_CALL(a, DoA(1));
1664 Expectation e2 = EXPECT_CALL(a, DoA(2));
1665 Expectation e3 = EXPECT_CALL(a, DoA(3));
1677 Expectation e1 = EXPECT_CALL(a, DoA(1));
1678 Expectation e2 = EXPECT_CALL(a, DoA(2));
1679 Expectation e3 = EXPECT_CALL(a, DoA(3));
1700 Expectation e1 = EXPECT_CALL(a, DoA(1));
1701 Expectation e2 = EXPECT_CALL(a, DoA(2));
1716 // An Expectation added to an ExpectationSet after it has been used in
1721 Expectation e2 = EXPECT_CALL(a, DoA(2));