Fix stdlib facade names in bytecode generation and decompilation tests.

This commit is contained in:
Ilya Gorbunov
2015-09-24 18:49:39 +03:00
parent ed2b118fc8
commit 1622cf9506
2 changed files with 5 additions and 4 deletions
@@ -2,5 +2,6 @@ fun foo() {
assert(1 == 1) { "Hahaha" }
}
// 1 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED
// 0 INVOKESTATIC kotlin\/AssertionsJVMKt\.getASSERTIONS_ENABLED
// 0 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED
// 1 INVOKESTATIC kotlin\/PreconditionsKt\.getASSERTIONS_ENABLED
// 0 INVOKESTATIC kotlin\/PreconditionsKt__.+\.getASSERTIONS_ENABLED
@@ -37,9 +37,9 @@ public class DecompiledTextConsistencyTest : TextConsistencyBaseTest() {
override fun getPackages(): List<FqName> = emptyList()
override fun getFacades(): List<FqName> = listOf(FqName("kotlin.KotlinPackage"))
override fun getFacades(): List<FqName> = listOf(FqName("kotlin.CollectionsKt"))
override fun getTopLevelMembers(): Map<String, String> = mapOf("kotlin.KotlinPackage" to "linkedListOf")
override fun getTopLevelMembers(): Map<String, String> = mapOf("kotlin.CollectionsKt" to "linkedListOf")
override fun getVirtualFileFinder(): VirtualFileFinder =
JvmVirtualFileFinder.SERVICE.getInstance(project)