MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / set_current_test_info

Function set_current_test_info

tests/gtest/gtest-all.cc:1099–1101  ·  view source on GitHub ↗

Sets the TestInfo object for the test that's currently running. If current_test_info is NULL, the assertion results will be stored in ad_hoc_test_result_.

Source from the content-addressed store, hash-verified

1097 // current_test_info is NULL, the assertion results will be stored in
1098 // ad_hoc_test_result_.
1099 void set_current_test_info(TestInfo* a_current_test_info) {
1100 current_test_info_ = a_current_test_info;
1101 }
1102
1103 // Registers all parameterized tests defined using TEST_P and
1104 // INSTANTIATE_TEST_SUITE_P, creating regular tests for each test/parameter

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected