MCPcopy Create free account
hub / github.com/KDE/kdevelop / initTestCase

Method initTestCase

plugins/clangtidy/tests/test_replacementparser.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50using namespace ClangTidy;
51
52void ReplacementsParserTester::initTestCase()
53{
54 // Called before the first testfunction is executed
55 AutoTestShell::init({ "kdevclangtidy" });
56 TestCore::initialize(Core::NoUi);
57
58 m_pluginFilePaths = prepareTestFiles("data/plugin.cpp", this);
59 RETURN_IF_TEST_FAILED();
60 m_nihonPluginFilePaths = prepareTestFiles("data/nihon_plugin.cpp", this);
61 RETURN_IF_TEST_FAILED();
62}
63
64void ReplacementsParserTester::cleanupTestCase()
65{

Callers

nothing calls this directly

Calls 3

initializeFunction · 0.85
prepareTestFilesFunction · 0.85
initClass · 0.50

Tested by

no test coverage detected