Home
last modified time | relevance | path

Searched refs:RecordProperty (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgtest_xml_outfile2_test_.cc39 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 Dgtest_xml_output_unittest_.cc115 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 Dgtest_xml_outfile1_test_.cc37 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 Dgtest_stress_test.cc98 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 Dgtest_unittest.cc202 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 Dgtest-unittest-api_test.cc129 RecordProperty("key", "value"); in TEST()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest.h298 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 Dgtest-internal-inl.h741 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 Dgtest.cc2312 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 Dtesting.md531 ##### 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 Dadvanced.md850 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.