MCPcopy Create free account
hub / github.com/cpputest/cpputest / TEST

Function TEST

tests/CppUTestExt/GTest2ConvertorTest.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 */
78
79TEST(GTestConvertor, correctNumberOfTestCases)
80{
81 LONGS_EQUAL(2, ::testing::UnitTest::GetInstance()->total_test_case_count());
82 CHECK(::testing::UnitTest::GetInstance()->GetTestCase(0));
83 CHECK(::testing::UnitTest::GetInstance()->GetTestCase(1));
84 CHECK(::testing::UnitTest::GetInstance()->GetTestCase(2) == NULL);
85}
86
87TEST(GTestConvertor, correctNumberOfTestsInTheTestCases)
88{

Callers

nothing calls this directly

Calls 4

unDoLastAddTestMethod · 0.80
nameMethod · 0.45
countTestsMethod · 0.45

Tested by

no test coverage detected