Invoke doTestWithInfos in corresponding test cases.

This commit is contained in:
Evgeny Gerashchenko
2013-01-14 21:36:55 +04:00
parent 849aaaf5d2
commit 8fbc71df8a
2 changed files with 6 additions and 6 deletions
@@ -214,7 +214,7 @@ public class GenerateTests {
testModel("idea/testData/checker", false, "kt", "doTest"), testModel("idea/testData/checker", false, "kt", "doTest"),
testModel("idea/testData/checker/regression"), testModel("idea/testData/checker/regression"),
testModel("idea/testData/checker/rendering"), testModel("idea/testData/checker/rendering"),
testModel("idea/testData/checker/infos") testModel("idea/testData/checker/infos", false, "kt", "doTestWithInfos")
); );
generateTest( generateTest(
@@ -401,22 +401,22 @@ public class JetPsiCheckerTestGenerated extends AbstractJetPsiCheckerTest {
@TestMetadata("idea/testData/checker/infos") @TestMetadata("idea/testData/checker/infos")
public static class Infos extends AbstractJetPsiCheckerTest { public static class Infos extends AbstractJetPsiCheckerTest {
public void testAllFilesPresentInInfos() throws Exception { 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") @TestMetadata("Autocasts.kt")
public void testAutocasts() throws Exception { public void testAutocasts() throws Exception {
doTest("idea/testData/checker/infos/Autocasts.kt"); doTestWithInfos("idea/testData/checker/infos/Autocasts.kt");
} }
@TestMetadata("PropertiesWithBackingFields.kt") @TestMetadata("PropertiesWithBackingFields.kt")
public void testPropertiesWithBackingFields() throws Exception { public void testPropertiesWithBackingFields() throws Exception {
doTest("idea/testData/checker/infos/PropertiesWithBackingFields.kt"); doTestWithInfos("idea/testData/checker/infos/PropertiesWithBackingFields.kt");
} }
@TestMetadata("WrapIntoRef.kt") @TestMetadata("WrapIntoRef.kt")
public void testWrapIntoRef() throws Exception { public void testWrapIntoRef() throws Exception {
doTest("idea/testData/checker/infos/WrapIntoRef.kt"); doTestWithInfos("idea/testData/checker/infos/WrapIntoRef.kt");
} }
} }