Update JVM subset test ignores
This commit is contained in:
parent
e2a8de97f5
commit
f2b99fe23b
@ -28,7 +28,7 @@ import kotlin.test.assertEquals
|
||||
/**
|
||||
* JVM-only fast functional subset additions. Keep each test quick (< ~1s) and deterministic.
|
||||
*/
|
||||
@Ignore("TODO(bytecode-only): uses fallback")
|
||||
@Ignore("TODO(bytecode-only): uses fallback (when/try)")
|
||||
class ScriptSubsetJvmTest_Additions3 {
|
||||
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
|
||||
private suspend fun evalBool(code: String): Boolean = (Scope().eval(code) as ObjBool).value
|
||||
|
||||
@ -29,7 +29,7 @@ import kotlin.test.assertTrue
|
||||
* More JVM-only fast functional tests migrated from ScriptTest to avoid MPP runs.
|
||||
* Keep each test fast (<1s) and deterministic.
|
||||
*/
|
||||
@Ignore("TODO(bytecode-only): uses fallback")
|
||||
@Ignore("TODO(bytecode-only): uses fallback (when/try/pooling)")
|
||||
class ScriptSubsetJvmTest_Additions4 {
|
||||
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
|
||||
private suspend fun evalList(code: String): List<Any?> = (Scope().eval(code) as ObjList).list.map { (it as? ObjInt)?.value ?: it }
|
||||
|
||||
@ -28,7 +28,6 @@ import kotlin.test.assertFailsWith
|
||||
* JVM-only fast functional tests to broaden coverage for pooling, classes, and control flow.
|
||||
* Keep each test fast (<1s) and deterministic.
|
||||
*/
|
||||
@Ignore("TODO(bytecode-only): uses fallback")
|
||||
class ScriptSubsetJvmTest_Additions5 {
|
||||
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ import kotlin.test.assertEquals
|
||||
* Additional JVM-only fast functional tests migrated from ScriptTest to avoid MPP runs.
|
||||
* Keep each test fast (<1s) and with clear assertions.
|
||||
*/
|
||||
@Ignore("TODO(bytecode-only): uses fallback")
|
||||
@Ignore("TODO(bytecode-only): uses fallback (logical ops/binarySearch)")
|
||||
class ScriptSubsetJvmTest_Additions {
|
||||
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
|
||||
private suspend fun evalList(code: String): List<Any?> = (Scope().eval(code) as ObjList).list.map { (it as? ObjInt)?.value ?: it }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user