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

Method AddTestInfo

tests/gtest/gtest-all.cc:4281–4284  ·  view source on GitHub ↗

Adds a test to this test suite. Will delete the test upon destruction of the TestSuite object.

Source from the content-addressed store, hash-verified

4279// Adds a test to this test suite. Will delete the test upon
4280// destruction of the TestSuite object.
4281void TestSuite::AddTestInfo(TestInfo* test_info) {
4282 test_info_list_.push_back(test_info);
4283 test_indices_.push_back(static_cast<int>(test_indices_.size()));
4284}
4285
4286// Runs every test in this TestSuite.
4287void TestSuite::Run() {

Callers 2

AddTestInfoFunction · 0.80
MakeAndRegisterTestInfoFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected