Fix incorrect generation of Ant task tests, restore tests

This commit is contained in:
Alexander Udalov
2021-01-12 22:18:32 +01:00
parent 0e62cd9998
commit 0d6c5dd2bc
2 changed files with 16 additions and 1 deletions
@@ -311,7 +311,7 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
} }
testClass<AbstractAntTaskTest> { testClass<AbstractAntTaskTest> {
model("integration/ant/jvm", extension = null, recursive = false, excludeParentDirs = true) model("integration/ant/jvm", extension = null, recursive = false)
} }
testClass<AbstractControlFlowTest> { testClass<AbstractControlFlowTest> {
@@ -44,6 +44,16 @@ public class AntTaskTestGenerated extends AbstractAntTaskTest {
runTest("compiler/testData/integration/ant/jvm/failOnErrorByDefault/"); runTest("compiler/testData/integration/ant/jvm/failOnErrorByDefault/");
} }
@TestMetadata("fork")
public void testFork() throws Exception {
runTest("compiler/testData/integration/ant/jvm/fork/");
}
@TestMetadata("forkOnError")
public void testForkOnError() throws Exception {
runTest("compiler/testData/integration/ant/jvm/forkOnError/");
}
@TestMetadata("helloWorld") @TestMetadata("helloWorld")
public void testHelloWorld() throws Exception { public void testHelloWorld() throws Exception {
runTest("compiler/testData/integration/ant/jvm/helloWorld/"); runTest("compiler/testData/integration/ant/jvm/helloWorld/");
@@ -74,6 +84,11 @@ public class AntTaskTestGenerated extends AbstractAntTaskTest {
runTest("compiler/testData/integration/ant/jvm/mainInFiles/"); runTest("compiler/testData/integration/ant/jvm/mainInFiles/");
} }
@TestMetadata("manySourceRoots")
public void testManySourceRoots() throws Exception {
runTest("compiler/testData/integration/ant/jvm/manySourceRoots/");
}
@TestMetadata("moduleName") @TestMetadata("moduleName")
public void testModuleName() throws Exception { public void testModuleName() throws Exception {
runTest("compiler/testData/integration/ant/jvm/moduleName/"); runTest("compiler/testData/integration/ant/jvm/moduleName/");