Turn on tests.

This commit is contained in:
Pavel V. Talanov
2012-07-02 16:36:11 +04:00
parent 5004b2e01b
commit da24b36071
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ public trait Iterator<T> {
open fun remove() : Unit = js.noImpl
}
/*
val Collections = object {
library("collectionsMax")
public fun max<T>(col : Collection<T>, comp : Comparator<T>) : T = js.noImpl
@@ -52,7 +52,7 @@ val Collections = object {
list[i2] = tmp
}
}
}*/
}
library
public open class ArrayList<E>() : java.util.List<E> {
@@ -20,8 +20,7 @@ import org.jetbrains.k2js.config.EcmaVersion;
/**
*/
//TODO
public abstract class StdLibTestToJSTest extends StdLibTestSupport {
public class StdLibTestToJSTest extends StdLibTestSupport {
public void testGenerateTestCase() throws Exception {
generateJavaScriptFiles(EcmaVersion.all(),
"libraries/stdlib/test",
@@ -20,8 +20,7 @@ import org.jetbrains.k2js.config.EcmaVersion;
/**
*/
//TODO
public abstract class StdLibToJSTest extends StdLibTestSupport {
public class StdLibToJSTest extends StdLibTestSupport {
public void testCompileJavaScriptFiles() throws Exception {
generateJavaScriptFiles(EcmaVersion.all(),