mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
[maven] IDEA-356183 log highlighting results
GitOrigin-RevId: 53a41a170254563fb5ac51310406d87b901aff2f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0833d42781
commit
79a191364d
@@ -571,7 +571,9 @@ abstract class MavenDomTestCase : MavenMultiVersionImportingTestCase() {
|
||||
val content = String(file.contentsToByteArray())
|
||||
MavenLog.LOG.warn("Checking highlighting in file $file:\n$content")
|
||||
fixture.openFileInEditor(file)
|
||||
val highlightingInfos = fixture.doHighlighting();
|
||||
MavenLog.LOG.warn("Text in editor: ${fixture.editor.document.text}")
|
||||
val highlightingInfos = fixture.doHighlighting()
|
||||
MavenLog.LOG.warn("Highlighting results: ${highlightingInfos.joinToString { "\n${it.severity} ${it.description} (${it.startOffset}, ${it.endOffset})" }}")
|
||||
assertHighlighting(highlightingInfos, *expectedHighlights)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user