diff --git a/plugins/grazie/src/test/kotlin/com/intellij/grazie/ide/language/XMLSupportTest.kt b/plugins/grazie/src/test/kotlin/com/intellij/grazie/ide/language/XMLSupportTest.kt
index b67a8bc6b18a..07f9798d96a5 100644
--- a/plugins/grazie/src/test/kotlin/com/intellij/grazie/ide/language/XMLSupportTest.kt
+++ b/plugins/grazie/src/test/kotlin/com/intellij/grazie/ide/language/XMLSupportTest.kt
@@ -17,6 +17,14 @@ class XMLSupportTest : GrazieTestBase() {
runHighlightTestForFile("ide/language/xml/Example.xml")
}
+ fun `test typo checks and self references xml file`() {
+ runHighlightTestForFile("ide/language/xml/SelfReferenceExample.xml")
+ }
+
+ fun `test typo checks when comments are before root tag xml file`() {
+ runHighlightTestForFile("ide/language/xml/Comment.xml")
+ }
+
fun `test no grammar checks in svg file`() {
runHighlightTestForFile("ide/language/xml/Example.svg")
}
@@ -26,4 +34,11 @@ class XMLSupportTest : GrazieTestBase() {
runHighlightTestForFile("ide/language/xml/Example.html")
}
+ fun `test typo checks and self references html file`() {
+ runHighlightTestForFile("ide/language/xml/SelfReferenceExample.html")
+ }
+
+ fun `test typo checks when comments are before root tag html file`() {
+ runHighlightTestForFile("ide/language/xml/Comment.html")
+ }
}
diff --git a/plugins/grazie/src/test/testData/ide/language/xml/Comment.html b/plugins/grazie/src/test/testData/ide/language/xml/Comment.html
new file mode 100644
index 000000000000..73a92df709df
--- /dev/null
+++ b/plugins/grazie/src/test/testData/ide/language/xml/Comment.html
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/plugins/grazie/src/test/testData/ide/language/xml/Comment.xml b/plugins/grazie/src/test/testData/ide/language/xml/Comment.xml
new file mode 100644
index 000000000000..68cc61c8f1ad
--- /dev/null
+++ b/plugins/grazie/src/test/testData/ide/language/xml/Comment.xml
@@ -0,0 +1,4 @@
+
+
+
+
Use the Ignore single field static imports checkbox to ignore single-field import static statements.
There are several reasons synchronization on this or class expressions may be a bad idea: