Regenerate tests
This commit is contained in:
+13
-18
@@ -21,32 +21,32 @@ import java.util.regex.Pattern;
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public class DumpDeclarationsTestGenerated extends AbstractDumpDeclarationsTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDumpDeclarations() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/dumpDeclarations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotation.kt")
|
||||
public void testAnnotation() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/annotation.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/annotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classMembers.kt")
|
||||
public void testClassMembers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/classMembers.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/classMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classes.kt")
|
||||
public void testClasses() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/classes.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/classes.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaces.kt")
|
||||
public void testInterfaces() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/interfaces.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/interfaces.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intermediateAbstractSuspendFunction.kt")
|
||||
@@ -57,31 +57,26 @@ public class DumpDeclarationsTestGenerated extends AbstractDumpDeclarationsTest
|
||||
|
||||
@TestMetadata("localClasses.kt")
|
||||
public void testLocalClasses() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/localClasses.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/localClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("multifileFacadeMembers.kt")
|
||||
public void testMultifileFacadeMembers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/multifileFacadeMembers.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/multifileFacadeMembers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendLambda.kt")
|
||||
public void testSuspendLambda() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/suspendLambda.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("suspendOverride.kt")
|
||||
public void testSuspendOverride() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/suspendOverride.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/suspendOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelMembers.kt")
|
||||
public void testTopLevelMembers() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/dumpDeclarations/topLevelMembers.kt");
|
||||
doTest(fileName);
|
||||
runTest("compiler/testData/codegen/dumpDeclarations/topLevelMembers.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user