Lines Matching defs:test_result

1440   TestResult test_result;
1441 ASSERT_EQ(0, test_result.test_property_count());
1446 TestResult test_result;
1448 TestResultAccessor::RecordProperty(&test_result, "testcase", property);
1449 ASSERT_EQ(1, test_result.test_property_count());
1450 const TestProperty& actual_property = test_result.GetTestProperty(0);
1457 TestResult test_result;
1460 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1);
1461 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2);
1462 ASSERT_EQ(2, test_result.test_property_count());
1463 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1467 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1474 TestResult test_result;
1479 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_1);
1480 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_1);
1481 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_2);
1482 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_2);
1484 ASSERT_EQ(2, test_result.test_property_count());
1485 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1489 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1496 TestResult test_result;
1500 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1);
1501 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2);
1502 TestResultAccessor::RecordProperty(&test_result, "testcase", property_3);
1504 const TestProperty& fetched_property_1 = test_result.GetTestProperty(0);
1505 const TestProperty& fetched_property_2 = test_result.GetTestProperty(1);
1506 const TestProperty& fetched_property_3 = test_result.GetTestProperty(2);
1517 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(3), "");
1518 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(-1), "");
1944 const TestResult& test_result, const char* key) {
1946 ASSERT_EQ(0, test_result.test_property_count()) << "Property for key '" << key