Rename directory with tests
This commit is contained in:
@@ -1275,7 +1275,7 @@ public class QuickFixTestGenerated extends AbstractQuickFixTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("idea/testData/quickfix/typeMismatch")
|
@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 static class TypeMismatch extends AbstractQuickFixTest {
|
||||||
public void testAllFilesPresentInTypeMismatch() throws Exception {
|
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);
|
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")
|
@TestMetadata("idea/testData/quickfix/typeMismatch/parameterTypeMismatch")
|
||||||
public static class FunctionParameterTypeMismatch extends AbstractQuickFixTest {
|
public static class ParameterTypeMismatch extends AbstractQuickFixTest {
|
||||||
public void testAllFilesPresentInFunctionParameterTypeMismatch() throws Exception {
|
public void testAllFilesPresentInParameterTypeMismatch() 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);
|
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")
|
@TestMetadata("beforeChangeFunctionParameterType1.kt")
|
||||||
public void testChangeFunctionParameterType1() throws Exception {
|
public void testChangeFunctionParameterType1() throws Exception {
|
||||||
doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType1.kt");
|
doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType1.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("beforeChangeFunctionParameterType2.kt")
|
@TestMetadata("beforeChangeFunctionParameterType2.kt")
|
||||||
public void testChangeFunctionParameterType2() throws Exception {
|
public void testChangeFunctionParameterType2() throws Exception {
|
||||||
doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType2.kt");
|
doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType2.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("beforeChangeFunctionParameterType3.kt")
|
@TestMetadata("beforeChangeFunctionParameterType3.kt")
|
||||||
public void testChangeFunctionParameterType3() throws Exception {
|
public void testChangeFunctionParameterType3() throws Exception {
|
||||||
doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType3.kt");
|
doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType3.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("beforeChangeFunctionParameterType4.kt")
|
@TestMetadata("beforeChangeFunctionParameterType4.kt")
|
||||||
public void testChangeFunctionParameterType4() throws Exception {
|
public void testChangeFunctionParameterType4() throws Exception {
|
||||||
doTest("idea/testData/quickfix/typeMismatch/functionParameterTypeMismatch/beforeChangeFunctionParameterType4.kt");
|
doTest("idea/testData/quickfix/typeMismatch/parameterTypeMismatch/beforeChangeFunctionParameterType4.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("beforeChangeFunctionParameterType5.kt")
|
@TestMetadata("beforeChangeFunctionParameterType5.kt")
|
||||||
public void testChangeFunctionParameterType5() throws Exception {
|
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(Casts.class);
|
||||||
suite.addTestSuite(ComponentFunctionReturnTypeMismatch.class);
|
suite.addTestSuite(ComponentFunctionReturnTypeMismatch.class);
|
||||||
suite.addTestSuite(FixOverloadedOperator.class);
|
suite.addTestSuite(FixOverloadedOperator.class);
|
||||||
suite.addTestSuite(FunctionParameterTypeMismatch.class);
|
suite.addTestSuite(ParameterTypeMismatch.class);
|
||||||
suite.addTestSuite(TypeMismatchOnReturnedExpression.class);
|
suite.addTestSuite(TypeMismatchOnReturnedExpression.class);
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user