Invoke doTestWithInfos in corresponding test cases.
This commit is contained in:
@@ -214,7 +214,7 @@ public class GenerateTests {
|
||||
testModel("idea/testData/checker", false, "kt", "doTest"),
|
||||
testModel("idea/testData/checker/regression"),
|
||||
testModel("idea/testData/checker/rendering"),
|
||||
testModel("idea/testData/checker/infos")
|
||||
testModel("idea/testData/checker/infos", false, "kt", "doTestWithInfos")
|
||||
);
|
||||
|
||||
generateTest(
|
||||
|
||||
@@ -401,22 +401,22 @@ public class JetPsiCheckerTestGenerated extends AbstractJetPsiCheckerTest {
|
||||
@TestMetadata("idea/testData/checker/infos")
|
||||
public static class Infos extends AbstractJetPsiCheckerTest {
|
||||
public void testAllFilesPresentInInfos() throws Exception {
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/checker/infos"), "kt", true);
|
||||
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), "org.jetbrains.jet.generators.tests.GenerateTests", new File("idea/testData/checker/infos"), "kt", false);
|
||||
}
|
||||
|
||||
@TestMetadata("Autocasts.kt")
|
||||
public void testAutocasts() throws Exception {
|
||||
doTest("idea/testData/checker/infos/Autocasts.kt");
|
||||
doTestWithInfos("idea/testData/checker/infos/Autocasts.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("PropertiesWithBackingFields.kt")
|
||||
public void testPropertiesWithBackingFields() throws Exception {
|
||||
doTest("idea/testData/checker/infos/PropertiesWithBackingFields.kt");
|
||||
doTestWithInfos("idea/testData/checker/infos/PropertiesWithBackingFields.kt");
|
||||
}
|
||||
|
||||
|
||||
@TestMetadata("WrapIntoRef.kt")
|
||||
public void testWrapIntoRef() throws Exception {
|
||||
doTest("idea/testData/checker/infos/WrapIntoRef.kt");
|
||||
doTestWithInfos("idea/testData/checker/infos/WrapIntoRef.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user