Rename directory with tests

This commit is contained in:
Wojciech Lopata
2013-05-16 00:44:23 +02:00
parent 0a541373a5
commit c6a378f4fb
9 changed files with 11 additions and 11 deletions
@@ -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;
}