From 358bc62fc12c4a6b225c6704769569c02124946a Mon Sep 17 00:00:00 2001 From: Alexey Sedunov Date: Tue, 6 Feb 2018 17:03:01 +0300 Subject: [PATCH] Minor: Regenerate tests --- .../LocalInspectionTestGenerated.java | 77 ++++++++++--------- 1 file changed, 39 insertions(+), 38 deletions(-) diff --git a/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java b/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java index b7e9fea5c22..9b2a9a2fc31 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/idea/inspections/LocalInspectionTestGenerated.java @@ -2949,44 +2949,6 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest { @TestMetadata("sameVisibility3.kt") public void testSameVisibility3() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/redundantSetter/sameVisibility3.kt"); - } - } - - @TestMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks") - @TestDataPath("$PROJECT_ROOT") - @RunWith(JUnit3RunnerWithInners.class) - public static class RemoveRedundantBackticks extends AbstractLocalInspectionTest { - public void testAllFilesPresentInRemoveRedundantBackticks() throws Exception { - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/inspectionsLocal/removeRedundantBackticks"), Pattern.compile("^([\\w\\-_]+)\\.kt$"), TargetBackend.ANY, true); - } - - @TestMetadata("functionArgument.kt") - public void testFunctionArgument() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt"); - doTest(fileName); - } - - @TestMetadata("functionCall.kt") - public void testFunctionCall() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt"); - doTest(fileName); - } - - @TestMetadata("identifierContainingSpaces.kt") - public void testIdentifierContainingSpaces() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/identifierContainingSpaces.kt"); - doTest(fileName); - } - - @TestMetadata("keyword.kt") - public void testKeyword() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/keyword.kt"); - doTest(fileName); - } - - @TestMetadata("property.kt") - public void testProperty() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/property.kt"); doTest(fileName); } } @@ -3123,6 +3085,45 @@ public class LocalInspectionTestGenerated extends AbstractLocalInspectionTest { } } + @TestMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class RemoveRedundantBackticks extends AbstractLocalInspectionTest { + public void testAllFilesPresentInRemoveRedundantBackticks() throws Exception { + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/inspectionsLocal/removeRedundantBackticks"), Pattern.compile("^([\\w\\-_]+)\\.(kt|kts)$"), TargetBackend.ANY, true); + } + + @TestMetadata("functionArgument.kt") + public void testFunctionArgument() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/functionArgument.kt"); + doTest(fileName); + } + + @TestMetadata("functionCall.kt") + public void testFunctionCall() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/functionCall.kt"); + doTest(fileName); + } + + @TestMetadata("identifierContainingSpaces.kt") + public void testIdentifierContainingSpaces() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/identifierContainingSpaces.kt"); + doTest(fileName); + } + + @TestMetadata("keyword.kt") + public void testKeyword() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/keyword.kt"); + doTest(fileName); + } + + @TestMetadata("property.kt") + public void testProperty() throws Exception { + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/inspectionsLocal/removeRedundantBackticks/property.kt"); + doTest(fileName); + } + } + @TestMetadata("idea/testData/inspectionsLocal/removeRedundantSpreadOperator") @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class)