[FIR] Move fir plugin tests to diagnostics sub directory
This commit is contained in:
committed by
TeamCityServer
parent
79f1779d89
commit
ea93d23dca
@@ -371,7 +371,7 @@ fun main(args: Array<String>) {
|
|||||||
|
|
||||||
testGroup("plugins/fir/fir-plugin-prototype/tests-gen", "plugins/fir/fir-plugin-prototype/testData") {
|
testGroup("plugins/fir/fir-plugin-prototype/tests-gen", "plugins/fir/fir-plugin-prototype/testData") {
|
||||||
testClass<AbstractFirAllOpenDiagnosticTest> {
|
testClass<AbstractFirAllOpenDiagnosticTest> {
|
||||||
model("")
|
model("diagnostics")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-20
@@ -16,105 +16,105 @@ import java.util.regex.Pattern;
|
|||||||
|
|
||||||
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
|
/** This class is generated by {@link GenerateNewCompilerTests.kt}. DO NOT MODIFY MANUALLY */
|
||||||
@SuppressWarnings("all")
|
@SuppressWarnings("all")
|
||||||
@TestMetadata("plugins/fir/fir-plugin-prototype/testData")
|
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/diagnostics")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class FirAllOpenDiagnosticTestGenerated extends AbstractFirAllOpenDiagnosticTest {
|
public class FirAllOpenDiagnosticTestGenerated extends AbstractFirAllOpenDiagnosticTest {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInTestData() throws Exception {
|
public void testAllFilesPresentInDiagnostics() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/diagnostics"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/checkers")
|
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/diagnostics/checkers")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class Checkers {
|
public class Checkers {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInCheckers() throws Exception {
|
public void testAllFilesPresentInCheckers() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/checkers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/diagnostics/checkers"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("signedNumbersCheckers.kt")
|
@TestMetadata("signedNumbersCheckers.kt")
|
||||||
public void testSignedNumbersCheckers() throws Exception {
|
public void testSignedNumbersCheckers() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/checkers/signedNumbersCheckers.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/checkers/signedNumbersCheckers.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple() throws Exception {
|
public void testSimple() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/checkers/simple.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/checkers/simple.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/memberGen")
|
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/diagnostics/memberGen")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class MemberGen {
|
public class MemberGen {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInMemberGen() throws Exception {
|
public void testAllFilesPresentInMemberGen() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/memberGen"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/diagnostics/memberGen"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
@TestMetadata("classWithGeneratedMembersAndNestedClass.kt")
|
||||||
public void testClassWithGeneratedMembersAndNestedClass() throws Exception {
|
public void testClassWithGeneratedMembersAndNestedClass() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/memberGen/classWithGeneratedMembersAndNestedClass.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/memberGen/classWithGeneratedMembersAndNestedClass.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
@TestMetadata("generatedClassWithMembersAndNestedClasses.kt")
|
||||||
public void testGeneratedClassWithMembersAndNestedClasses() throws Exception {
|
public void testGeneratedClassWithMembersAndNestedClasses() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/memberGen/generatedClassWithMembersAndNestedClasses.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/memberGen/generatedClassWithMembersAndNestedClasses.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("topLevelCallables.kt")
|
@TestMetadata("topLevelCallables.kt")
|
||||||
public void testTopLevelCallables() throws Exception {
|
public void testTopLevelCallables() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/memberGen/topLevelCallables.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/memberGen/topLevelCallables.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/status")
|
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/diagnostics/status")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class Status {
|
public class Status {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInStatus() throws Exception {
|
public void testAllFilesPresentInStatus() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/status"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/diagnostics/status"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("metaAnnotation.kt")
|
@TestMetadata("metaAnnotation.kt")
|
||||||
public void testMetaAnnotation() throws Exception {
|
public void testMetaAnnotation() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/status/metaAnnotation.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/status/metaAnnotation.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("simpleAnnotation.kt")
|
@TestMetadata("simpleAnnotation.kt")
|
||||||
public void testSimpleAnnotation() throws Exception {
|
public void testSimpleAnnotation() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/status/simpleAnnotation.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/status/simpleAnnotation.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("visibilityTransformation.kt")
|
@TestMetadata("visibilityTransformation.kt")
|
||||||
public void testVisibilityTransformation() throws Exception {
|
public void testVisibilityTransformation() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/status/visibilityTransformation.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/status/visibilityTransformation.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nested
|
@Nested
|
||||||
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/supertypes")
|
@TestMetadata("plugins/fir/fir-plugin-prototype/testData/diagnostics/supertypes")
|
||||||
@TestDataPath("$PROJECT_ROOT")
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
public class Supertypes {
|
public class Supertypes {
|
||||||
@Test
|
@Test
|
||||||
public void testAllFilesPresentInSupertypes() throws Exception {
|
public void testAllFilesPresentInSupertypes() throws Exception {
|
||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("plugins/fir/fir-plugin-prototype/testData/diagnostics/supertypes"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("simple.kt")
|
@TestMetadata("simple.kt")
|
||||||
public void testSimple() throws Exception {
|
public void testSimple() throws Exception {
|
||||||
runTest("plugins/fir/fir-plugin-prototype/testData/supertypes/simple.kt");
|
runTest("plugins/fir/fir-plugin-prototype/testData/diagnostics/supertypes/simple.kt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user