From c6a378f4fbfd5ee3a878ea091eb8fc9f58581fbf Mon Sep 17 00:00:00 2001 From: Wojciech Lopata Date: Thu, 16 May 2013 00:44:23 +0200 Subject: [PATCH] Rename directory with tests --- .../afterChangeFunctionParameterType1.kt | 0 .../afterChangeFunctionParameterType2.kt | 0 .../afterChangeFunctionParameterType3.kt | 0 .../beforeChangeFunctionParameterType1.kt | 0 .../beforeChangeFunctionParameterType2.kt | 0 .../beforeChangeFunctionParameterType3.kt | 0 .../beforeChangeFunctionParameterType4.kt | 0 .../beforeChangeFunctionParameterType5.kt | 0 .../quickfix/QuickFixTestGenerated.java | 22 +++++++++---------- 9 files changed, 11 insertions(+), 11 deletions(-) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/afterChangeFunctionParameterType1.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/afterChangeFunctionParameterType2.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/afterChangeFunctionParameterType3.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/beforeChangeFunctionParameterType1.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/beforeChangeFunctionParameterType2.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/beforeChangeFunctionParameterType3.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/beforeChangeFunctionParameterType4.kt (100%) rename idea/testData/quickfix/typeMismatch/{functionParameterTypeMismatch => parameterTypeMismatch}/beforeChangeFunctionParameterType5.kt (100%) diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType1.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType1.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType1.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType1.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType2.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType2.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType2.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType2.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType3.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType3.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/afterChangeFunctionParameterType3.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/afterChangeFunctionParameterType3.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType1.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType1.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType1.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType1.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType2.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType2.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType2.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType2.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType3.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType3.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType3.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType3.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType4.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType4.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt diff --git a/idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType5.kt b/idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType5.kt similarity index 100% rename from idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType5.kt rename to idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType5.kt diff --git a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java index 66801905864..5ad88c7a44e 100644 --- a/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java +++ b/idea/tests/org/jetbrains/jet/plugin/quickfix/QuickFixTestGenerated.java @@ -1275,7 +1275,7 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest { } @TestMetadata("idea/testData/quickfix/typeMismatch") - @InnerTestClasses({TypeMismatch.Casts.class, TypeMismatch.ComponentFunctionReturnTypeMismatch.class, TypeMismatch.FixOverloadedOperator.class, TypeMismatch.FunctionParameterTypeMismatch.class, TypeMismatch.TypeMismatchOnReturnedExpression.class}) + @InnerTestClasses({TypeMismatch.Casts.class, TypeMismatch.ComponentFunctionReturnTypeMismatch.class, TypeMismatch.FixOverloadedOperator.class, TypeMismatch.ParameterTypeMismatch.class, TypeMismatch.TypeMismatchOnReturnedExpression.class}) public static class TypeMismatch extends AbstractQuickFixTest { public void testAllFilesPresentInTypeMismatch() throws Exception { JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/quickfix/typeMismatch"), Pattern.compile("^before(\\w+)\\.kt$"), true); @@ -1445,35 +1445,35 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest { } - @TestMetadata("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch") - public static class FunctionParameterTypeMismatch extends AbstractQuickFixTest { - public void testAllFilesPresentInFunctionParameterTypeMismatch() throws Exception { - JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch"), Pattern.compile("^before(\\w+)\\.kt$"), true); + @TestMetadata("idea/testData/quickfix/typeMismatch/parameterTypeMismatch") + public static class ParameterTypeMismatch extends AbstractQuickFixTest { + public void testAllFilesPresentInParameterTypeMismatch() throws Exception { + JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/quickfix/typeMismatch/parameterTypeMismatch"), Pattern.compile("^before(\\w+)\\.kt$"), true); } @TestMetadata("beforeChangeFunctionParameterType1.kt") public void testChangeFunctionParameterType1() throws Exception { - doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType1.kt"); + doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType1.kt"); } @TestMetadata("beforeChangeFunctionParameterType2.kt") public void testChangeFunctionParameterType2() throws Exception { - doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType2.kt"); + doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType2.kt"); } @TestMetadata("beforeChangeFunctionParameterType3.kt") public void testChangeFunctionParameterType3() throws Exception { - doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType3.kt"); + doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType3.kt"); } @TestMetadata("beforeChangeFunctionParameterType4.kt") public void testChangeFunctionParameterType4() throws Exception { - doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType4.kt"); + doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt"); } @TestMetadata("beforeChangeFunctionParameterType5.kt") public void testChangeFunctionParameterType5() throws Exception { - doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType5.kt"); + doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType5.kt"); } } @@ -1557,7 +1557,7 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest { suite.addTestSuite(Casts.class); suite.addTestSuite(ComponentFunctionReturnTypeMismatch.class); suite.addTestSuite(FixOverloadedOperator.class); - suite.addTestSuite(FunctionParameterTypeMismatch.class); + suite.addTestSuite(ParameterTypeMismatch.class); suite.addTestSuite(TypeMismatchOnReturnedExpression.class); return suite; }