diff --git a/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/MavenTestCase.java b/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/MavenTestCase.java index 49e650a66a8..d25f11e2ad2 100644 --- a/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/MavenTestCase.java +++ b/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/MavenTestCase.java @@ -24,7 +24,6 @@ import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleManager; import com.intellij.openapi.module.ModuleType; import com.intellij.openapi.module.StdModuleTypes; -import com.intellij.openapi.progress.EmptyProgressIndicator; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.util.io.FileUtil; @@ -42,7 +41,6 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.idea.maven.indices.MavenIndicesManager; import org.jetbrains.idea.maven.project.*; import org.jetbrains.idea.maven.server.MavenServerManager; -import org.jetbrains.idea.maven.utils.MavenProgressIndicator; import java.awt.*; import java.io.File; @@ -54,10 +52,6 @@ import java.util.List; import java.util.concurrent.TimeUnit; public abstract class MavenTestCase extends UsefulTestCase { - protected static final MavenConsole NULL_MAVEN_CONSOLE = NullMavenConsole.INSTANCE; - // should not be static - protected static MavenProgressIndicator EMPTY_MAVEN_PROCESS = new MavenProgressIndicator(new EmptyProgressIndicator()); - private File ourTempDir; protected IdeaProjectTestFixture myTestFixture; diff --git a/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/NullMavenConsole.kt b/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/NullMavenConsole.kt deleted file mode 100644 index a428307b8a7..00000000000 --- a/idea/idea-maven/test/org/jetbrains/kotlin/idea/maven/NullMavenConsole.kt +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright 2010-2015 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.jetbrains.kotlin.idea.maven - -import com.intellij.execution.process.ProcessHandler -import org.jetbrains.idea.maven.execution.MavenExecutionOptions -import org.jetbrains.idea.maven.project.MavenConsole - -object NullMavenConsole : MavenConsole(MavenExecutionOptions.LoggingLevel.DISABLED, false) { - override fun canPause() = false - override fun isOutputPaused() = false - override fun setOutputPaused(outputPaused: Boolean) { - } - - override fun attachToProcess(processHandler: ProcessHandler) { - } - - override fun doPrint(text: String, type: MavenConsole.OutputType) { - } -}