Minor, delete useless test
'withKotlinNoJavaSources' tests exactly the same
This commit is contained in:
@@ -1,4 +0,0 @@
|
|||||||
package hello;
|
|
||||||
|
|
||||||
public class J {
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
OUT:
|
|
||||||
Buildfile: [TestData]/build.xml
|
|
||||||
|
|
||||||
build:
|
|
||||||
[mkdir] Created dir: [Temp]/classes
|
|
||||||
[javac] Compiling 2 source files to [Temp]/classes
|
|
||||||
[javac] Compiling [[TestData]] => [[Temp]/classes]
|
|
||||||
[javac] Running javac...
|
|
||||||
[jar] Building jar: [Temp]/hello.jar
|
|
||||||
|
|
||||||
BUILD SUCCESSFUL
|
|
||||||
Total time: [time]
|
|
||||||
|
|
||||||
Return code: 0
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
<project name="Ant Task Test" default="build">
|
|
||||||
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
|
||||||
|
|
||||||
<target name="build">
|
|
||||||
<mkdir dir="${temp}/classes"/>
|
|
||||||
<javac srcdir="${test.data}" destdir="${temp}/classes" includeantruntime="false">
|
|
||||||
<withKotlin/>
|
|
||||||
</javac>
|
|
||||||
<jar destfile="${temp}/hello.jar">
|
|
||||||
<fileset dir="${temp}/classes"/>
|
|
||||||
</jar>
|
|
||||||
</target>
|
|
||||||
</project>
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
package hello
|
|
||||||
|
|
||||||
fun main(args: Array<String>) {
|
|
||||||
println("Hello!")
|
|
||||||
}
|
|
||||||
@@ -59,12 +59,6 @@ public class AntTaskTestGenerated extends AbstractAntTaskTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("noClasspathGiven")
|
|
||||||
public void testNoClasspathGiven() throws Exception {
|
|
||||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/integration/ant/jvm/noClasspathGiven/");
|
|
||||||
doTest(fileName);
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("suppressWarnings")
|
@TestMetadata("suppressWarnings")
|
||||||
public void testSuppressWarnings() throws Exception {
|
public void testSuppressWarnings() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/integration/ant/jvm/suppressWarnings/");
|
String fileName = JetTestUtils.navigationMetadata("compiler/testData/integration/ant/jvm/suppressWarnings/");
|
||||||
|
|||||||
Reference in New Issue
Block a user