summaryrefslogtreecommitdiff
path: root/idea
diff options
context:
space:
mode:
authorYan Zhulanow <yan.zhulanow@jetbrains.com>2021-01-07 22:05:12 +0900
committerkotlin-ide-monorepo-bot <kotlin-ide-monorepo-bot-no-reply@jetbrains.com>2021-01-07 17:00:49 +0000
commit4bb1d269a14129cf7b7ae5a5c2621a242392ddcf (patch)
tree0a81b8da0c3715d3c0a0442cdd8d48c52dfe498f /idea
parentfa8ee3bdf94112b18b82ccd52d3012e7c5f00aa7 (diff)
downloadintellij-kotlin-4bb1d269a14129cf7b7ae5a5c2621a242392ddcf.tar.gz
Remove test for IllegalIdentifierInspection as it's in the Android plugin sources now
GitOrigin-RevId: 01b4fd204d7187bcc79e34960bd0ff52730ca1cf
Diffstat (limited to 'idea')
-rw-r--r--idea/testData/inspections/androidIllegalIdentifiers/inspectionData/expected.xml46
-rw-r--r--idea/testData/inspections/androidIllegalIdentifiers/inspectionData/inspections.test1
-rw-r--r--idea/testData/inspections/androidIllegalIdentifiers/test.kt11
3 files changed, 0 insertions, 58 deletions
diff --git a/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/expected.xml b/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/expected.xml
deleted file mode 100644
index 08288ae42ee0..000000000000
--- a/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/expected.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<problems>
- <problem>
- <file>test.kt</file>
- <line>7</line>
- <module>light_idea_test_case</module>
- <entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
- <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Illegal Android Identifier</problem_class>
- <description>Identifier not allowed in Android projects</description>
- </problem>
-
- <problem>
- <file>test.kt</file>
- <line>8</line>
- <module>light_idea_test_case</module>
- <entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
- <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Illegal Android Identifier</problem_class>
- <description>Identifier not allowed in Android projects</description>
- </problem>
-
- <problem>
- <file>test.kt</file>
- <line>9</line>
- <module>light_idea_test_case</module>
- <entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
- <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Illegal Android Identifier</problem_class>
- <description>Identifier not allowed in Android projects</description>
- </problem>
-
- <problem>
- <file>test.kt</file>
- <line>10</line>
- <module>light_idea_test_case</module>
- <entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
- <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Illegal Android Identifier</problem_class>
- <description>Identifier not allowed in Android projects</description>
- </problem>
-
- <problem>
- <file>test.kt</file>
- <line>11</line>
- <module>light_idea_test_case</module>
- <entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
- <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Illegal Android Identifier</problem_class>
- <description>Identifier not allowed in Android projects</description>
- </problem>
-</problems>
diff --git a/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/inspections.test b/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/inspections.test
deleted file mode 100644
index ebd8e2d72f6f..000000000000
--- a/idea/testData/inspections/androidIllegalIdentifiers/inspectionData/inspections.test
+++ /dev/null
@@ -1 +0,0 @@
-// INSPECTION_CLASS: org.jetbrains.kotlin.android.inspection.IllegalIdentifierInspection
diff --git a/idea/testData/inspections/androidIllegalIdentifiers/test.kt b/idea/testData/inspections/androidIllegalIdentifiers/test.kt
deleted file mode 100644
index 8e59b93137b5..000000000000
--- a/idea/testData/inspections/androidIllegalIdentifiers/test.kt
+++ /dev/null
@@ -1,11 +0,0 @@
-val `Kotlin` = 0
-val `Котлин` = 0
-val `ことりん` = 0
-val `§*!`` = 0
-val `0a0b0c` = 0
-val `$a-b_c` = 0
-val `with space` = 0 //illegal
-val `a+b` = 0 //illegal
-val `#` = 0 //illegal
-val `!` = 0 //illegal
-val `()` = 0 //illegal \ No newline at end of file