MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / Clear

Method Clear

source/test/gtest/src/gtest.cc:2379–2384  ·  view source on GitHub ↗

Clears the object.

Source from the content-addressed store, hash-verified

2377
2378// Clears the object.
2379void TestResult::Clear() {
2380 test_part_results_.clear();
2381 test_properties_.clear();
2382 death_test_count_ = 0;
2383 elapsed_time_ = 0;
2384}
2385
2386// Returns true off the test part was skipped.
2387static bool TestPartSkipped(const TestPartResult& result) {

Callers 3

ClearTestResultFunction · 0.45
ClearAdHocTestResultFunction · 0.45
ClearResultMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected