Home | History | Annotate | Download | only in test

Lines Matching defs:test_result

1447   TestResult test_result;
1448 ASSERT_EQ(0, test_result.test_property_count());
1453 TestResult test_result;
1455 TestResultAccessor::RecordProperty(&test_result
1456 ASSERT_EQ(1, test_result.test_property_count());
1457 const TestProperty& actual_property = test_result.GetTestProperty(0);
1464 TestResult test_result;
1467 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1);
1468 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2);
1469 ASSERT_EQ(2, test_result.test_property_count());
1470 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1474 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1481 TestResult test_result;
1486 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_1);
1487 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_1);
1488 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_2);
1489 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_2);
1491 ASSERT_EQ(2, test_result.test_property_count());
1492 const TestProperty& actual_property_1 = test_result.GetTestProperty(0);
1496 const TestProperty& actual_property_2 = test_result.GetTestProperty(1);
1503 TestResult test_result;
1507 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1);
1508 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2);
1509 TestResultAccessor::RecordProperty(&test_result, "testcase", property_3);
1511 const TestProperty& fetched_property_1 = test_result.GetTestProperty(0);
1512 const TestProperty& fetched_property_2 = test_result.GetTestProperty(1);
1513 const TestProperty& fetched_property_3 = test_result.GetTestProperty(2);
1524 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(3), "");
1525 EXPECT_DEATH_IF_SUPPORTED(test_result.GetTestProperty(-1), "");
1937 const TestResult& test_result, const char* key) {
1939 ASSERT_EQ(0, test_result.test_property_count()) << "Property for key '" << key