MCPcopy Create free account
hub / github.com/apache/thrift / findGeneratorsForCurrentTest

Method findGeneratorsForCurrentTest

compiler/cpp/tests/catch/catch.hpp:7692–7700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7690
7691 private:
7692 IGeneratorsForTest* findGeneratorsForCurrentTest() {
7693 std::string testName = getResultCapture()->getCurrentTestName();
7694
7695 std::map<std::string, IGeneratorsForTest*>::const_iterator it =
7696 m_generatorsByTestName.find( testName );
7697 return it != m_generatorsByTestName.end()
7698 ? it->second
7699 : CATCH_NULL;
7700 }
7701
7702 IGeneratorsForTest& getGeneratorsForCurrentTest() {
7703 IGeneratorsForTest* generators = findGeneratorsForCurrentTest();

Callers

nothing calls this directly

Calls 3

getCurrentTestNameMethod · 0.80
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected