Migrate bytecode text tests to multi-file framework
Get rid of BytecodeTextMultifileTestGenerated
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// FILE: otherFile.kt
|
||||
|
||||
@file:[JvmName("Util") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
internal fun internalInOtherFile() {}
|
||||
public fun publicInOtherFile() {}
|
||||
|
||||
// FILE: thisFile.kt
|
||||
|
||||
@file:[JvmName("Util") JvmMultifileClass]
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
privateInThisFile()
|
||||
internalInThisFile()
|
||||
publicInThisFile()
|
||||
internalInOtherFile()
|
||||
publicInOtherFile()
|
||||
}
|
||||
|
||||
private fun privateInThisFile() {}
|
||||
|
||||
internal fun internalInThisFile() {}
|
||||
|
||||
public fun publicInThisFile() {}
|
||||
|
||||
// @test/Util__ThisFileKt.class:
|
||||
// 1 INVOKESTATIC test/Util__ThisFileKt.privateInThisFile
|
||||
// 1 INVOKESTATIC test/Util.internalInThisFile
|
||||
// 1 INVOKESTATIC test/Util.publicInThisFile
|
||||
// 1 INVOKESTATIC test/Util.internalInOtherFile
|
||||
// 1 INVOKESTATIC test/Util.publicInOtherFile
|
||||
Reference in New Issue
Block a user