MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / ClearTestPartResults

Method ClearTestPartResults

test/common/gtest/gtest.cpp:3517–3523  ·  view source on GitHub ↗

Clears the test part results.

Source from the content-addressed store, hash-verified

3515
3516// Clears the test part results.
3517void TestResult::ClearTestPartResults() {
3518 for (unsigned int i =0; i< test_part_results_.size();i++)
3519 {
3520 delete (test_part_results_[i]);
3521 }
3522 test_part_results_.clear();
3523}
3524
3525// Adds a test part result to the list.
3526void TestResult::AddTestPartResult(const BaseTestPartResult* test_part_result) {

Callers 1

ClearTestPartResultsMethod · 0.45

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected