mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
20 lines
457 B
Kotlin
20 lines
457 B
Kotlin
package test
|
|
|
|
import org.junit.jupiter.api.TestInstance
|
|
import org.junit.jupiter.params.ParameterizedTest
|
|
import org.junit.jupiter.params.provider.MethodSource
|
|
import java.util.stream.Stream
|
|
|
|
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
|
|
class PrivateClassRule {
|
|
@ParameterizedTest
|
|
@MethodSource("squares")
|
|
fun foo() {}
|
|
|
|
companion object {
|
|
@JvmStatic
|
|
fun squares(): Stream<Int?>? {
|
|
return null
|
|
}
|
|
}
|
|
} |