IDE perf tests for K/N: Produce duplicated *.kt files on demand
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@file:Suppress("PackageDirectoryMismatch")
|
||||
package perfTestPackage1 // this package is mandatory
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println("Hello World!")
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println("Hello World!")
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println("Hello World!")
|
||||
}
|
||||
@@ -1,3 +1,6 @@
|
||||
@file:Suppress("PackageDirectoryMismatch")
|
||||
package perfTestPackage1 // this package is mandatory
|
||||
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
private const val GREETING = "Hello, Kotlin/Native!"
|
||||
|
||||
class HelloTest2 {
|
||||
@Test
|
||||
fun testHello() {
|
||||
assertTrue("Kotlin/Native" in GREETING)
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
private const val GREETING = "Hello, Kotlin/Native!"
|
||||
|
||||
class HelloTest3 {
|
||||
@Test
|
||||
fun testHello() {
|
||||
assertTrue("Kotlin/Native" in GREETING)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user