Minor, rename tests onFile -> onFileObsolete

This commit is contained in:
Denis Zharkov
2015-05-16 18:07:41 +03:00
parent 083966389a
commit f6aadec7e2
17 changed files with 12 additions and 12 deletions
@@ -810,59 +810,59 @@ public class JetParsingTestGenerated extends AbstractJetParsingTest {
} }
} }
@TestMetadata("compiler/testData/psi/annotation/onFile") @TestMetadata("compiler/testData/psi/annotation/onFileObsolete")
@TestDataPath("$PROJECT_ROOT") @TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class) @RunWith(JUnit3RunnerWithInners.class)
public static class OnFile extends AbstractJetParsingTest { public static class OnFileObsolete extends AbstractJetParsingTest {
public void testAllFilesPresentInOnFile() throws Exception { public void testAllFilesPresentInOnFileObsolete() throws Exception {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/psi/annotation/onFile"), Pattern.compile("^(.*)\\.kts?$"), true); JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/psi/annotation/onFileObsolete"), Pattern.compile("^(.*)\\.kts?$"), true);
} }
@TestMetadata("fileAnnotationInWrongPlace.kt") @TestMetadata("fileAnnotationInWrongPlace.kt")
public void testFileAnnotationInWrongPlace() throws Exception { public void testFileAnnotationInWrongPlace() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/fileAnnotationInWrongPlace.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/fileAnnotationInWrongPlace.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("manyAnnotationBlocks.kt") @TestMetadata("manyAnnotationBlocks.kt")
public void testManyAnnotationBlocks() throws Exception { public void testManyAnnotationBlocks() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/manyAnnotationBlocks.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/manyAnnotationBlocks.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("manyInOneAnnotationBlock.kt") @TestMetadata("manyInOneAnnotationBlock.kt")
public void testManyInOneAnnotationBlock() throws Exception { public void testManyInOneAnnotationBlock() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/manyInOneAnnotationBlock.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/manyInOneAnnotationBlock.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("nonFIleAnnotationBeforePackage.kt") @TestMetadata("nonFIleAnnotationBeforePackage.kt")
public void testNonFIleAnnotationBeforePackage() throws Exception { public void testNonFIleAnnotationBeforePackage() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/nonFIleAnnotationBeforePackage.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/nonFIleAnnotationBeforePackage.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("single.kt") @TestMetadata("single.kt")
public void testSingle() throws Exception { public void testSingle() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/single.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/single.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("withoutFileAnnotationAndPackageDeclaration.kt") @TestMetadata("withoutFileAnnotationAndPackageDeclaration.kt")
public void testWithoutFileAnnotationAndPackageDeclaration() throws Exception { public void testWithoutFileAnnotationAndPackageDeclaration() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/withoutFileAnnotationAndPackageDeclaration.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/withoutFileAnnotationAndPackageDeclaration.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("withoutPackage.kt") @TestMetadata("withoutPackage.kt")
public void testWithoutPackage() throws Exception { public void testWithoutPackage() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/withoutPackage.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/withoutPackage.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
@TestMetadata("withoutPackageWithSimpleAnnotation.kt") @TestMetadata("withoutPackageWithSimpleAnnotation.kt")
public void testWithoutPackageWithSimpleAnnotation() throws Exception { public void testWithoutPackageWithSimpleAnnotation() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFile/withoutPackageWithSimpleAnnotation.kt"); String fileName = JetTestUtils.navigationMetadata("compiler/testData/psi/annotation/onFileObsolete/withoutPackageWithSimpleAnnotation.kt");
doParsingTest(fileName); doParsingTest(fileName);
} }
} }