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

Method testFindCraftRoot

plugins/craft/tests/test_craftruntime.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void CraftRuntimeTest::testFindCraftRoot()
103{
104 QFETCH_GLOBAL(TempDirWrapper, runtimeInstance);
105 QCOMPARE(CraftRuntime::findCraftRoot(Path(runtimeInstance.path())), runtimeInstance.path());
106 QCOMPARE(CraftRuntime::findCraftRoot(Path(runtimeInstance.path()).cd(QStringLiteral("bin"))),
107 runtimeInstance.path());
108}
109
110void CraftRuntimeTest::testGetenv()
111{

Callers

nothing calls this directly

Calls 3

cdMethod · 0.80
PathClass · 0.50
pathMethod · 0.45

Tested by

no test coverage detected