Reorganize integration test data

This commit is contained in:
Alexander Udalov
2014-07-30 21:10:33 -07:00
parent 8e17557f5c
commit 3ca6c8615b
101 changed files with 69 additions and 40 deletions
@@ -0,0 +1,3 @@
package bar
fun bar() {}
@@ -0,0 +1,10 @@
OUT:
Buildfile: [TestData]/build.xml
build:
[kotlin2js] Compiling [[TestData]/root1, [TestData]/bar.kt, [TestData]/root2/Foo.kt] => [[Temp]/out.js]
BUILD SUCCESSFUL
Total time: [time]
Return code: 0
@@ -0,0 +1,14 @@
<project name="Ant Task Test" default="build">
<taskdef resource="org/jetbrains/jet/buildtools/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
<target name="build">
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" >
<src>
<pathelement path="${test.data}/bar.kt"/>
<fileset dir="${test.data}/root2">
<include name="**/*.kt"/>
</fileset>
</src>
</kotlin2js>
</target>
</project>
@@ -0,0 +1,7 @@
package foo
fun box(): String {
Foo()
bar.bar()
return "OK"
}
@@ -0,0 +1 @@
function Bar () {}
@@ -0,0 +1,3 @@
package foo
class Foo