From d43e2143d1d2d33e578b5fd6b3ed76f290c990aa Mon Sep 17 00:00:00 2001 From: Marat Khabibullin Date: Tue, 16 Feb 2021 12:22:31 +0300 Subject: [PATCH] [build] Fix test after enabling instrumentation of threading model annotations (LAB-50) GitOrigin-RevId: 30584438c74f5ced18695167407deaf0d0be4a31 --- .../compiler/progress/CompilerBuildViewTest.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/java/compiler/tests/com/intellij/compiler/progress/CompilerBuildViewTest.kt b/java/compiler/tests/com/intellij/compiler/progress/CompilerBuildViewTest.kt index febc589586cb..ffa55cce279e 100644 --- a/java/compiler/tests/com/intellij/compiler/progress/CompilerBuildViewTest.kt +++ b/java/compiler/tests/com/intellij/compiler/progress/CompilerBuildViewTest.kt @@ -6,8 +6,12 @@ import com.intellij.compiler.BaseCompilerTestCase import com.intellij.compiler.CompilerWorkspaceConfiguration import com.intellij.openapi.Disposable import com.intellij.openapi.application.runWriteAction -import com.intellij.openapi.compiler.* -import com.intellij.openapi.compiler.CompilerMessageCategory.* +import com.intellij.openapi.compiler.CompilationStatusListener +import com.intellij.openapi.compiler.CompileContext +import com.intellij.openapi.compiler.CompileStatusNotification +import com.intellij.openapi.compiler.CompilerMessageCategory.INFORMATION +import com.intellij.openapi.compiler.CompilerMessageCategory.WARNING +import com.intellij.openapi.compiler.CompilerTopics import com.intellij.openapi.components.service import com.intellij.openapi.fileEditor.FileEditorManager import com.intellij.openapi.fileEditor.TextEditor @@ -83,6 +87,7 @@ class CompilerBuildViewTest : BaseCompilerTestCase() { "Updating dependency information... [a]\n" + "Adding @NotNull assertions... [a]\n" + "Adding pattern assertions... [a]\n" + + "Adding the Threading Model assertions... [a]\n" + "Running 'after' tasks\n") assertThat(output).contains("Finished, saving caches...\n" + "Executing post-compile tasks...\n" + @@ -106,6 +111,7 @@ class CompilerBuildViewTest : BaseCompilerTestCase() { "Updating dependency information... [a]\n" + "Adding @NotNull assertions... [a]\n" + "Adding pattern assertions... [a]\n" + + "Adding the Threading Model assertions... [a]\n" + "Running 'after' tasks") assertThat(output).contains("Finished, saving caches...\n" + "Executing post-compile tasks...\n" +