mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove spam from console
GitOrigin-RevId: f55627ad30911624edbad0b43cd8c1d423bfa87e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
20f1384638
commit
590251e43f
@@ -195,8 +195,8 @@ public abstract class ProjectWizardTestCase<T extends AbstractProjectWizard> ext
|
||||
addSdk(new SimpleJavaSdkType().createJdk(DEFAULT_SDK, SystemProperties.getJavaHome()));
|
||||
addSdk(new SimpleJavaSdkType().createJdk("_other", SystemProperties.getJavaHome()));
|
||||
|
||||
System.out.println("ProjectWizardTestCase.configureJdk:");
|
||||
System.out.println(Arrays.asList(ProjectJdkTable.getInstance().getAllJdks()));
|
||||
LOG.debug("ProjectWizardTestCase.configureJdk:");
|
||||
LOG.debug(String.valueOf(Arrays.asList(ProjectJdkTable.getInstance().getAllJdks())));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ import java.util.*
|
||||
fun String.toReadable() = replace(" ", "<Space>").replace("\n", "<Enter>").replace("\t", "<Tab>")
|
||||
|
||||
class RetypeLog {
|
||||
val LOG = Logger.getInstance(RetypeLog::class.java)
|
||||
private val log = arrayListOf<String>()
|
||||
private var currentTyping: String? = null
|
||||
private var currentCompletion: String? = null
|
||||
@@ -101,7 +102,12 @@ class RetypeLog {
|
||||
|
||||
fun printToStdout() {
|
||||
for (s in log) {
|
||||
println(s)
|
||||
if (ApplicationManager.getApplication().isUnitTestMode) {
|
||||
LOG.debug(s)
|
||||
}
|
||||
else {
|
||||
println(s)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user