KTIJ-26024 [Analysis API] Rearrange testData for reference shortener
Move testData for nested classes' scopes to a separate directory
This commit is contained in:
committed by
Space Team
parent
e1b168d77c
commit
96697b5a77
+46
-36
@@ -256,42 +256,6 @@ public class FirIdeNormalAnalysisSourceModuleReferenceShortenerTestGenerated ext
|
|||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClass3.kt");
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClass3.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes.kt")
|
|
||||||
public void testNestedClassFromSupertypes() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes2.kt")
|
|
||||||
public void testNestedClassFromSupertypes2() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes2.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes3.kt")
|
|
||||||
public void testNestedClassFromSupertypes3() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes3.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes4.kt")
|
|
||||||
public void testNestedClassFromSupertypes4() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes4.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes5.kt")
|
|
||||||
public void testNestedClassFromSupertypes5() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes5.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes6.kt")
|
|
||||||
public void testNestedClassFromSupertypes6() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes6.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("parameterTypeTopLevelTypeLoses.kt")
|
@TestMetadata("parameterTypeTopLevelTypeLoses.kt")
|
||||||
public void testParameterTypeTopLevelTypeLoses() throws Exception {
|
public void testParameterTypeTopLevelTypeLoses() throws Exception {
|
||||||
@@ -441,4 +405,50 @@ public class FirIdeNormalAnalysisSourceModuleReferenceShortenerTestGenerated ext
|
|||||||
public void testVariable2() throws Exception {
|
public void testVariable2() throws Exception {
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/variable2.kt");
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/variable2.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nested
|
||||||
|
@TestMetadata("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses")
|
||||||
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
|
public class NestedClasses {
|
||||||
|
@Test
|
||||||
|
public void testAllFilesPresentInNestedClasses() throws Exception {
|
||||||
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes.kt")
|
||||||
|
public void testNestedClassFromSupertypes() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes2.kt")
|
||||||
|
public void testNestedClassFromSupertypes2() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes3.kt")
|
||||||
|
public void testNestedClassFromSupertypes3() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes4.kt")
|
||||||
|
public void testNestedClassFromSupertypes4() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes4.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes5.kt")
|
||||||
|
public void testNestedClassFromSupertypes5() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes5.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes6.kt")
|
||||||
|
public void testNestedClassFromSupertypes6() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes6.kt");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+46
-36
@@ -256,42 +256,6 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
|
|||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClass3.kt");
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClass3.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes.kt")
|
|
||||||
public void testNestedClassFromSupertypes() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes2.kt")
|
|
||||||
public void testNestedClassFromSupertypes2() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes2.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes3.kt")
|
|
||||||
public void testNestedClassFromSupertypes3() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes3.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes4.kt")
|
|
||||||
public void testNestedClassFromSupertypes4() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes4.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes5.kt")
|
|
||||||
public void testNestedClassFromSupertypes5() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes5.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("nestedClassFromSupertypes6.kt")
|
|
||||||
public void testNestedClassFromSupertypes6() throws Exception {
|
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClassFromSupertypes6.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("parameterTypeTopLevelTypeLoses.kt")
|
@TestMetadata("parameterTypeTopLevelTypeLoses.kt")
|
||||||
public void testParameterTypeTopLevelTypeLoses() throws Exception {
|
public void testParameterTypeTopLevelTypeLoses() throws Exception {
|
||||||
@@ -441,4 +405,50 @@ public class FirStandaloneNormalAnalysisSourceModuleReferenceShortenerTestGenera
|
|||||||
public void testVariable2() throws Exception {
|
public void testVariable2() throws Exception {
|
||||||
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/variable2.kt");
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/variable2.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nested
|
||||||
|
@TestMetadata("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses")
|
||||||
|
@TestDataPath("$PROJECT_ROOT")
|
||||||
|
public class NestedClasses {
|
||||||
|
@Test
|
||||||
|
public void testAllFilesPresentInNestedClasses() throws Exception {
|
||||||
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes.kt")
|
||||||
|
public void testNestedClassFromSupertypes() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes2.kt")
|
||||||
|
public void testNestedClassFromSupertypes2() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes2.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes3.kt")
|
||||||
|
public void testNestedClassFromSupertypes3() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes3.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes4.kt")
|
||||||
|
public void testNestedClassFromSupertypes4() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes4.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes5.kt")
|
||||||
|
public void testNestedClassFromSupertypes5() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes5.kt");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("nestedClassFromSupertypes6.kt")
|
||||||
|
public void testNestedClassFromSupertypes6() throws Exception {
|
||||||
|
runTest("analysis/analysis-api/testData/components/referenceShortener/referenceShortener/nestedClasses/nestedClassFromSupertypes6.kt");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user