Minor. Add regression tests
#KT-44143
This commit is contained in:
committed by
TeamCityServer
parent
03fed85447
commit
786999bcfe
Generated
+82
@@ -10013,6 +10013,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10287,6 +10293,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -10561,6 +10573,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxTypeParameterOfSuperTypeResult.kt")
|
||||
public void testBoxTypeParameterOfSuperTypeResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxTypeParameterOfSuperTypeResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine() throws Exception {
|
||||
@@ -38120,6 +38138,70 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sameFileInSourceAndDependencies")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class SameFileInSourceAndDependencies {
|
||||
@Test
|
||||
public void testAllFilesPresentInSameFileInSourceAndDependencies() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/sameFileInSourceAndDependencies"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classDeclaration.kt")
|
||||
public void testClassDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionDeclaration.kt")
|
||||
public void testFunctionDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("jvmFieldMemberPropertyDeclaration.kt")
|
||||
public void testJvmFieldMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/jvmFieldMemberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lateinitMemberPropertyDeclaration.kt")
|
||||
public void testLateinitMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionDeclaration.kt")
|
||||
public void testMemberFunctionDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberFunctionWithDefaultArgumentsDeclaration.kt")
|
||||
public void testMemberFunctionWithDefaultArgumentsDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberPropertyDeclaration.kt")
|
||||
public void testMemberPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedClassDeclaration.kt")
|
||||
public void testNestedClassDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/nestedClassDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyDeclaration.kt")
|
||||
public void testPropertyDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sameFileInSourceAndDependencies/propertyDeclaration.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@TestMetadata("compiler/testData/codegen/box/sealed")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
|
||||
Reference in New Issue
Block a user