MCPcopy Create free account
hub / github.com/apache/singa / Register

Method Register

test/gtest/gtest.h:7574–7585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7572class TypeParameterizedTestCase {
7573 public:
7574 static bool Register(const char* prefix, const char* case_name,
7575 const char* test_names) {
7576 typedef typename Tests::Head Head;
7577
7578 // First, register the first test in 'Test' for each type in 'Types'.
7579 TypeParameterizedTest<Fixture, Head, Types>::Register(
7580 prefix, case_name, test_names, 0);
7581
7582 // Next, recurses (at compile time) with the tail of the test list.
7583 return TypeParameterizedTestCase<Fixture, typename Tests::Tail, Types>
7584 ::Register(prefix, case_name, SkipComma(test_names));
7585 }
7586};
7587
7588// The base case for the compile time recursion.

Callers

nothing calls this directly

Calls 1

SkipCommaFunction · 0.85

Tested by

no test coverage detected