Move close to other stdlib tests

This commit is contained in:
Maxim Shafirov
2011-12-30 19:29:29 +04:00
parent db7e2b0871
commit b8590ada4f
4 changed files with 36 additions and 37 deletions
@@ -50,11 +50,6 @@ public class StdlibTest extends CodegenTestCase {
}
}
public void testInputStreamIterator () {
blackBoxFile("inputStreamIterator.jet");
// System.out.println(generateToText());
}
public void testKt533 () {
blackBoxFile("regressions/kt533.kt");
}
@@ -74,16 +69,4 @@ public class StdlibTest extends CodegenTestCase {
public void testKt828 () {
blackBoxFile("regressions/kt828.kt");
}
public void testCollectionSize () throws Exception {
loadText("import std.util.*; fun box() = if(java.util.Arrays.asList(0, 1, 2)?.size == 3) \"OK\" else \"fail\"");
// System.out.println(generateToText());
blackBox();
}
public void testCollectionEmpty () throws Exception {
loadText("import std.util.*; fun box() = if(java.util.Arrays.asList(0, 1, 2)?.empty ?: false) \"OK\" else \"fail\"");
// System.out.println(generateToText());
blackBox();
}
}