Compare commits

...

4 Commits

View File

@ -851,7 +851,6 @@ class ScriptTest {
} }
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testWhileBlockIsolation1() = runTest { fun testWhileBlockIsolation1() = runTest {
eval( eval(
@ -868,7 +867,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testWhileBlockIsolation2() = runTest { fun testWhileBlockIsolation2() = runTest {
assertFails { assertFails {
@ -885,7 +883,6 @@ class ScriptTest {
} }
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testWhileBlockIsolation3() = runTest { fun testWhileBlockIsolation3() = runTest {
eval( eval(
@ -911,7 +908,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun whileNonLocalBreakTest() = runTest { fun whileNonLocalBreakTest() = runTest {
assertEquals( assertEquals(
@ -2278,7 +2274,6 @@ class ScriptTest {
assertEquals("111", r.toString()) assertEquals("111", r.toString())
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun doWhileValuesTest() = runTest { fun doWhileValuesTest() = runTest {
eval( eval(
@ -2323,7 +2318,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun doWhileValuesLabelTest() = runTest { fun doWhileValuesLabelTest() = runTest {
withTimeout(5.seconds) { withTimeout(5.seconds) {
@ -2461,7 +2455,6 @@ class ScriptTest {
assertEquals("$~", l[0].value) assertEquals("$~", l[0].value)
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testMatchOperator() = runTest { fun testMatchOperator() = runTest {
eval( eval(
@ -2481,7 +2474,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testMatchingOperator2() = runTest { fun testMatchingOperator2() = runTest {
eval( eval(
@ -3866,7 +3858,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun binarySearchTest2() = runTest { fun binarySearchTest2() = runTest {
eval( eval(
@ -4001,7 +3992,6 @@ class ScriptTest {
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testIterableMinMax() = runTest { fun testIterableMinMax() = runTest {
eval( eval(
@ -4377,7 +4367,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testHangOnPrintlnInMethods() = runTest { fun testHangOnPrintlnInMethods() = runTest {
eval( eval(
@ -4735,7 +4724,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testUserClassExceptions() = runTest { fun testUserClassExceptions() = runTest {
eval( eval(
@ -4809,7 +4797,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testExceptionToString() = runTest { fun testExceptionToString() = runTest {
eval( eval(
@ -4848,7 +4835,6 @@ class ScriptTest {
) )
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testRaiseAsError() = runTest { fun testRaiseAsError() = runTest {
var x = evalNamed( var x = evalNamed(
@ -4884,7 +4870,6 @@ class ScriptTest {
assertContains(x1.message!!, "tc2") assertContains(x1.message!!, "tc2")
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testFilterStackTrace() = runTest { fun testFilterStackTrace() = runTest {
var x = try { var x = try {
@ -4910,7 +4895,6 @@ class ScriptTest {
} }
@Ignore("Bytecode: unsupported or incorrect behavior")
@Test @Test
fun testLyngToKotlinExceptionHelpers() = runTest { fun testLyngToKotlinExceptionHelpers() = runTest {
var x = evalNamed( var x = evalNamed(