Skip to content

Commit 6e3f5b1

Browse files
committed
Remove debug println statements and adjust method signatures for code clarity and maintainability
1 parent 7389abb commit 6e3f5b1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/kotlin/io/kotest/plugin/intellij/breadcrumbs/KotestBreadcrumbProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class KotestBreadcrumbProvider : BreadcrumbsProvider {
1111
return true
1212
}
1313

14-
override fun getLanguages(): Array<out Language?>? {
14+
override fun getLanguages(): Array<out Language?> {
1515
println("LANGUAGES")
1616
return arrayOf(KotlinLanguage.INSTANCE)
1717
}

src/main/kotlin/io/kotest/plugin/intellij/console/KotestExecutionConsoleManager.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,18 @@ class KotestExecutionConsoleManager : ExternalSystemExecutionConsoleManager<SMTR
114114
* It is up to this extension to determine if it is applicable for the given task.
115115
*/
116116
override fun isApplicableFor(task: ExternalSystemTask): Boolean {
117-
println("Checking is applicable, task: $task")
117+
// println("Checking is applicable, task: $task")
118118
if (task is ExternalSystemExecuteTaskTask) {
119119
if (task.externalSystemId.id == GradleConstants.SYSTEM_ID.id) {
120-
println("Checking is applicable, tasks to execute: ${task.tasksToExecute} state=${task.state} data=${task.userDataString} externalPath=${task.externalProjectPath}")
120+
// println("Checking is applicable, tasks to execute: ${task.tasksToExecute} state=${task.state} data=${task.userDataString} externalPath=${task.externalProjectPath}")
121121

122122
// Checking is applicable, tasks to execute: [kotestDebugUnitTest]
123123
// state=NOT_STARTED
124124
// data={COPYABLE_USER_MAP_KEY={com.intellij.coverage=com.intellij.execution.configurations.coverage.JavaCoverageEnabledConfiguration@3486f84}, RUN_INPUT_KEY=com.intellij.openapi.externalSystem.util.DiscardingInputStream@6dacfdb6, DEBUG_SERVER_PROCESS=true, DEBUG_ALL_TASKS=false, RUN_AS_TEST=false, IS_TEST_TASK_RERUN=false}{com.intellij.coverage=com.intellij.execution.configurations.coverage.JavaCoverageEnabledConfiguration@3486f84}
125125
// externalPath=/home/sam/development/workspace/kotest/kotest-examples/kotest-multiplatform
126126

127127
val hasKotestTask = GradleUtils.hasKotestTask(task.tasksToExecute)
128-
println("hasKotestTask: $hasKotestTask")
128+
// println("hasKotestTask: $hasKotestTask")
129129
return hasKotestTask
130130
}
131131
}

src/main/kotlin/io/kotest/plugin/intellij/console/KotestSMTRunnerConsoleProperties.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class KotestSMTRunnerConsoleProperties(
4949

5050
override fun getFilterProvider(): TestProxyFilterProvider {
5151
return TestProxyFilterProvider { p0, p1, p2 ->
52-
println("get filter called with p0=$p0, p1=$p1, p2=$p2")
52+
// println("get filter called with p0=$p0, p1=$p1, p2=$p2")
5353
null
5454
}
5555
}

0 commit comments

Comments
 (0)