[build] Fix test after enabling instrumentation of threading model annotations (LAB-50)

GitOrigin-RevId: 30584438c74f5ced18695167407deaf0d0be4a31
This commit is contained in:
Marat Khabibullin
2021-02-16 12:22:31 +03:00
committed by intellij-monorepo-bot
parent 76a512b63b
commit d43e2143d1

View File

@@ -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" +