| 81 | } |
| 82 | |
| 83 | void projectPath() { |
| 84 | auto rt = ICore::self()->runtimeController()->currentRuntime(); |
| 85 | QVERIFY(rt); |
| 86 | auto project = ICore::self()->projectController()->projects().first(); |
| 87 | QVERIFY(project); |
| 88 | |
| 89 | const Path file = project->projectItem()->folder()->fileList().first()->path(); |
| 90 | const Path fileRuntime = rt->pathInRuntime(file); |
| 91 | QCOMPARE(fileRuntime, Path("/src/test/testfile.sh")); |
| 92 | QCOMPARE(rt->pathInHost(fileRuntime), file); |
| 93 | QCOMPARE(project->path(), rt->pathInHost(rt->pathInRuntime(project->path()))); |
| 94 | } |
| 95 | |
| 96 | void projectDirectory() { |
| 97 | auto rt = ICore::self()->runtimeController()->currentRuntime(); |
nothing calls this directly
no test coverage detected