Enable more bytecode-ready tests
This commit is contained in:
parent
70d05f7987
commit
e2a8de97f5
@ -27,7 +27,7 @@ import kotlin.test.assertEquals
|
|||||||
import kotlin.test.assertIs
|
import kotlin.test.assertIs
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
@Ignore("TODO(bytecode-only): uses fallback (try/catch)")
|
||||||
class EmbeddingExceptionTest {
|
class EmbeddingExceptionTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@ -26,7 +26,7 @@ import kotlin.test.Test
|
|||||||
import kotlin.test.assertFails
|
import kotlin.test.assertFails
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
@Ignore("TODO(bytecode-only): uses fallback (cast failure message)")
|
||||||
class MIDiagnosticsTest {
|
class MIDiagnosticsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@ -24,7 +24,6 @@ import net.sergeych.lyng.eval
|
|||||||
import kotlin.test.Ignore
|
import kotlin.test.Ignore
|
||||||
import kotlin.test.Test
|
import kotlin.test.Test
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
|
||||||
class ParallelLocalScopeTest {
|
class ParallelLocalScopeTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@ -37,7 +37,7 @@ import kotlin.test.Test
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
@Ignore("TODO(bytecode-only): uses fallback (MI tests)")
|
||||||
class TestInheritance {
|
class TestInheritance {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@ -26,7 +26,6 @@ import kotlin.test.Test
|
|||||||
import kotlin.test.assertEquals
|
import kotlin.test.assertEquals
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
|
||||||
class PicInvalidationJvmTest {
|
class PicInvalidationJvmTest {
|
||||||
@Test
|
@Test
|
||||||
fun fieldPicInvalidatesOnClassLayoutChange() = runBlocking {
|
fun fieldPicInvalidatesOnClassLayoutChange() = runBlocking {
|
||||||
|
|||||||
@ -24,7 +24,6 @@ import kotlin.test.Ignore
|
|||||||
import kotlin.test.Test
|
import kotlin.test.Test
|
||||||
import kotlin.test.assertEquals
|
import kotlin.test.assertEquals
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
|
||||||
class ScriptSubsetJvmTest {
|
class ScriptSubsetJvmTest {
|
||||||
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
|
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 }
|
private suspend fun evalList(code: String): List<Any?> = (Scope().eval(code) as ObjList).list.map { (it as? ObjInt)?.value ?: it }
|
||||||
|
|||||||
@ -24,7 +24,6 @@ import kotlin.test.assertFalse
|
|||||||
import kotlin.test.assertNotNull
|
import kotlin.test.assertNotNull
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@Ignore("TODO(bytecode-only): uses fallback")
|
|
||||||
class CompletionEngineLightTest {
|
class CompletionEngineLightTest {
|
||||||
|
|
||||||
private fun names(items: List<CompletionItem>): List<String> = items.map { it.name }
|
private fun names(items: List<CompletionItem>): List<String> = items.map { it.name }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user