We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba14b2a commit 64c28e2Copy full SHA for 64c28e2
src/org/jetbrains/kotlin/test/helper/services/TestDataRunnerService.kt
@@ -47,6 +47,7 @@ class TestDataRunnerService(
47
smartReadAction(project) {
48
val testDeclarations = filterAndCollectTestDescriptions(files, project)
49
.filter { !it.psi.isHeavyTest() }
50
+ .ifEmpty { return@smartReadAction null }
51
52
val filtered = if (!filterByClass.isNullOrEmpty()) {
53
groupTests(testDeclarations)[filterByClass] ?: testDeclarations
@@ -57,7 +58,7 @@ class TestDataRunnerService(
57
58
computeGradleCommandLine(filtered)
59
}
60
- }
61
+ } ?: return
62
63
val config = GradleRunConfig(
64
commandLine,
0 commit comments