re-enabled compiling to JS test cases now we've fixed the compilation of the latest comparator based standard library code
This commit is contained in:
@@ -10,10 +10,6 @@ public trait Comparator<T> {
|
||||
fun compare(obj1 : T, obj2 : T) : Int;
|
||||
}
|
||||
|
||||
library("comparator")
|
||||
public fun comparator<T>(f : (T, T) -> Int) : Comparator<T> = js.noImpl
|
||||
|
||||
|
||||
library
|
||||
public trait Iterator<T> {
|
||||
open fun next() : T = js.noImpl
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package kotlin
|
||||
|
||||
import java.util.*
|
||||
|
||||
library("comparator")
|
||||
public fun comparator<T>(f : (T, T) -> Int) : Comparator<T> = js.noImpl
|
||||
@@ -36,15 +36,10 @@ import java.util.Set;
|
||||
*/
|
||||
public class StdLibTestToJSTest extends StdLibTestSupport {
|
||||
public void testGenerateTestCase() throws Exception {
|
||||
|
||||
/*
|
||||
TODO temporary disabled test
|
||||
|
||||
generateJavaScriptFiles(EcmaVersion.all(),
|
||||
"libraries/stdlib/test",
|
||||
"ListTest.kt",
|
||||
"StringTest.kt",
|
||||
"js/SimpleTest.kt");
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,14 +36,10 @@ import java.util.Set;
|
||||
public class StdLibToJSTest extends StdLibTestSupport {
|
||||
|
||||
public void testCompileJavaScriptFiles() throws Exception {
|
||||
|
||||
/*
|
||||
TODO temporary disabled test
|
||||
generateJavaScriptFiles(EcmaVersion.all(),
|
||||
"libraries/stdlib/src",
|
||||
"kotlin/Preconditions.kt",
|
||||
"kotlin/dom/Dom.kt",
|
||||
"kotlin/support/AbstractIterator.kt");
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,6 +58,7 @@ public abstract class Config {
|
||||
"/core/javautil.kt",
|
||||
"/core/javalang.kt",
|
||||
"/core/javaio.kt",
|
||||
"/core/kotlin.kt",
|
||||
"/core/date.kt",
|
||||
"/core/core.kt",
|
||||
"/core/math.kt",
|
||||
@@ -101,6 +102,7 @@ public abstract class Config {
|
||||
"/kotlin/JLangIterablesLazy.kt",
|
||||
"/kotlin/JLangIterablesSpecial.kt",
|
||||
"/kotlin/support/AbstractIterator.kt",
|
||||
//"/kotlin/Ordering.kt",
|
||||
"/kotlin/Strings.kt",
|
||||
"/kotlin/test/Test.kt"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user