/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_xml_outfile2_test_.cc | 39 void SetUp() override { RecordProperty("SetUpProp", 2); } in SetUp() 40 void TearDown() override { RecordProperty("TearDownProp", 2); } in TearDown() 45 RecordProperty("TestFloatProperty", float_prop); in TEST_F() 48 RecordProperty("TestDoubleProperty", double_prop); in TEST_F() 52 RecordProperty("TestSizetProperty", size_t_prop); in TEST_F() 55 RecordProperty("TestBoolProperty", bool_prop); in TEST_F() 58 RecordProperty("TestCharProperty", char_prop); in TEST_F() 61 RecordProperty("TestInt16Property", int16_prop); in TEST_F() 64 RecordProperty("TestInt32Property", int32_prop); in TEST_F() 67 RecordProperty("TestInt64Property", int64_prop); in TEST_F() [all …]
|
H A D | gtest_xml_output_unittest_.cc | 115 static void SetUpTestSuite() { RecordProperty("SetUpTestSuite", "yes"); } in SetUpTestSuite() 117 RecordProperty("TearDownTestSuite", "aye"); in TearDownTestSuite() 122 RecordProperty("key_1", "1"); in TEST_F() 126 RecordProperty("key_int", 1); in TEST_F() 130 RecordProperty("key_1", "1"); in TEST_F() 131 RecordProperty("key_2", "2"); in TEST_F() 132 RecordProperty("key_3", "3"); in TEST_F() 136 RecordProperty("key_1", "1"); in TEST_F() 137 RecordProperty("key_1", "2"); in TEST_F() 140 TEST(NoFixtureTest, RecordProperty) { in TEST() argument [all …]
|
H A D | gtest_xml_outfile1_test_.cc | 37 void SetUp() override { RecordProperty("SetUpProp", 1); } in SetUp() 38 void TearDown() override { RecordProperty("TearDownProp", 1); } in TearDown() 42 RecordProperty("TestSomeProperty", 1); in TEST_F()
|
H A D | gtest_stress_test.cc | 98 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str()); in ManyAsserts() 99 Test::RecordProperty(IdToKey(id, "int").c_str(), id); in ManyAsserts() 100 Test::RecordProperty("shared_key", IdToString(id).c_str()); in ManyAsserts()
|
H A D | gtest_unittest.cc | 202 unit_test_.RecordProperty(key, value); in UnitTestRecordProperty() 1512 TestResultAccessor::RecordProperty(&test_result, "testcase", property); in TEST() 1524 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1); in TEST() 1525 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2); in TEST() 1543 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_1); in TEST() 1544 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_1); in TEST() 1545 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1_2); in TEST() 1546 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2_2); in TEST() 1564 TestResultAccessor::RecordProperty(&test_result, "testcase", property_1); in TEST() 1565 TestResultAccessor::RecordProperty(&test_result, "testcase", property_2); in TEST() [all …]
|
H A D | gtest-unittest-api_test.cc | 129 RecordProperty("key", "value"); in TEST()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest.h | 298 static void RecordProperty(const std::string& key, const std::string& value); 303 static void RecordProperty(const std::string& key, const T& value) { in RecordProperty() function 304 RecordProperty(key, (Message() << value).GetString()); in RecordProperty() 478 void RecordProperty(const std::string& xml_element, 1259 void RecordProperty(const std::string& key, const std::string& value);
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 741 void RecordProperty(const TestProperty& test_property); 1055 static void RecordProperty(TestResult* test_result, in RecordProperty() function 1058 test_result->RecordProperty(xml_element, property); in RecordProperty()
|
H A D | gtest.cc | 2312 void TestResult::RecordProperty(const std::string& xml_element, in RecordProperty() function in testing::TestResult 2505 void Test::RecordProperty(const std::string& key, const std::string& value) { in RecordProperty() function in testing::Test 2506 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty() 5451 void UnitTest::RecordProperty(const std::string& key, in RecordProperty() function in testing::UnitTest 5453 impl_->RecordProperty(TestProperty(key, value)); in RecordProperty() 5662 void UnitTestImpl::RecordProperty(const TestProperty& test_property) { in RecordProperty() function in testing::internal::UnitTestImpl 5676 test_result->RecordProperty(xml_element, test_property); in RecordProperty()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | testing.md | 531 ##### RecordProperty {#Test::RecordProperty} 533 `static void Test::RecordProperty(const std::string& key, const std::string& 535 `static void Test::RecordProperty(const std::string& key, int value)` 544 `RecordProperty` is `public static` so it can be called from utility functions 547 Calls to `RecordProperty` made during the lifespan of the test (from the moment 551 corresponding `<testsuite>` element. Calls to `RecordProperty` made in the
|
/freebsd/contrib/googletest/docs/ |
H A D | advanced.md | 850 In your test code, you can call `RecordProperty("key", value)` to log additional 858 RecordProperty("MaximumWidgets", ComputeMaxUsage()); 859 RecordProperty("MinimumWidgets", ComputeMinUsage()); 874 > * `RecordProperty()` is a static member of the `Test` class. Therefore it 880 > * Calling `RecordProperty()` outside of the lifespan of a test is allowed.
|