Move sort modifiers test to inspection local group
This should fix test in 181 branch
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
<problems>
|
|
||||||
<problem>
|
|
||||||
<file>test.kt</file>
|
|
||||||
<line>4</line>
|
|
||||||
<module>light_idea_test_case</module>
|
|
||||||
<entry_point TYPE="file" FQNAME="temp:///src/test.kt" />
|
|
||||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Non-canonical modifier order</problem_class>
|
|
||||||
<description>Non-canonical modifiers order</description>
|
|
||||||
</problem>
|
|
||||||
</problems>
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
// INSPECTION_CLASS: org.jetbrains.kotlin.idea.inspections.SortModifiersInspection
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
annotation class Ann
|
||||||
|
|
||||||
|
@Ann
|
||||||
|
<caret>abstract public class Test
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
annotation class Ann
|
annotation class Ann
|
||||||
|
|
||||||
@Ann
|
@Ann
|
||||||
abstract public class Test
|
public abstract class Test
|
||||||
-5
@@ -329,11 +329,6 @@ public class InspectionTestGenerated extends AbstractInspectionTest {
|
|||||||
runTest("idea/testData/inspections/sealedSubClassCanBeObject/inspectionData/inspections.test");
|
runTest("idea/testData/inspections/sealedSubClassCanBeObject/inspectionData/inspections.test");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("sortModifiers/inspectionData/inspections.test")
|
|
||||||
public void testSortModifiers_inspectionData_Inspections_test() throws Exception {
|
|
||||||
runTest("idea/testData/inspections/sortModifiers/inspectionData/inspections.test");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("spelling/inspectionData/inspections.test")
|
@TestMetadata("spelling/inspectionData/inspections.test")
|
||||||
public void testSpelling_inspectionData_Inspections_test() throws Exception {
|
public void testSpelling_inspectionData_Inspections_test() throws Exception {
|
||||||
runTest("idea/testData/inspections/spelling/inspectionData/inspections.test");
|
runTest("idea/testData/inspections/spelling/inspectionData/inspections.test");
|
||||||
|
|||||||
+5
@@ -4376,6 +4376,11 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest {
|
|||||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/inspectionsLocal/sortModifiers"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
|
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/inspectionsLocal/sortModifiers"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("annotatedBefore.kt")
|
||||||
|
public void testAnnotatedBefore() throws Exception {
|
||||||
|
runTest("idea/testData/inspectionsLocal/sortModifiers/annotatedBefore.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("annotation.kt")
|
@TestMetadata("annotation.kt")
|
||||||
public void testAnnotation() throws Exception {
|
public void testAnnotation() throws Exception {
|
||||||
runTest("idea/testData/inspectionsLocal/sortModifiers/annotation.kt");
|
runTest("idea/testData/inspectionsLocal/sortModifiers/annotation.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user