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

Method init

plugins/docker/tests/test_docker.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void init()
63 {
64 QVERIFY(ICore::self()->runtimeController()->currentRuntime() == m_initialRuntime);
65 const auto& availableRuntimes = ICore::self()->runtimeController()->availableRuntimes();
66 for (IRuntime* runtime : availableRuntimes) {
67 if (s_testedImage == runtime->name()) {
68 ICore::self()->runtimeController()->setCurrentRuntime(runtime);
69 }
70 }
71 QVERIFY(ICore::self()->runtimeController()->currentRuntime() != m_initialRuntime);
72 }
73
74 void paths() {
75 auto rt = ICore::self()->runtimeController()->currentRuntime();

Callers

nothing calls this directly

Calls 5

currentRuntimeMethod · 0.80
runtimeControllerMethod · 0.80
availableRuntimesMethod · 0.80
setCurrentRuntimeMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected