Home | History | Annotate | Download | only in test

Lines Matching defs:test_result

1618   TestResult test_result;
1619 ASSERT_EQ(0, test_result.test_property_count());
1624 TestResult test_result;
1626 TestResultAccessor::RecordProperty(&test_result, property);
1627 ASSERT_EQ(1, test_result.test_property_count());
1628 const TestProperty& actual_property = test_result.GetTestProperty(0);
1635 TestResult test_result;
1638 TestResultAccessor::RecordProperty(&test_result, property_1);
1639 TestResultAccessor::RecordProperty(&test_result, property_2);
1640 ASSERT_EQ(2, test_result.test_property_count());
1641 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1645 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1652 TestResult test_result;
1657 TestResultAccessor::RecordProperty(&test_result, property_1_1);
1658 TestResultAccessor::RecordProperty(&test_result, property_2_1);
1659 TestResultAccessor::RecordProperty(&test_result, property_1_2);
1660 TestResultAccessor::RecordProperty(&test_result, property_2_2);
1662 ASSERT_EQ(2, test_result.test_property_count());
1663 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1667 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1674 TestResult test_result;
1678 TestResultAccessor::RecordProperty(&test_result, property_1);
1679 TestResultAccessor::RecordProperty(&test_result, property_2);
1680 TestResultAccessor::RecordProperty(&test_result, property_3);
1682 const TestProperty& fetched_property_1 = test_result.GetTestProperty(0);
1683 const TestProperty& fetched_property_2 = test_result.GetTestProperty(1);
1684 const TestProperty& fetched_property_3 = test_result.GetTestProperty(2);
1695 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(3), "");
1696 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(-1), "");
1703 TestResult test_result;
1706 TestResultAccessor::RecordProperty(&test_result, property),
1708 ASSERT_EQ(0, test_result.test_property_count()) << "Not recorded";