Move helpers for coroutine tests in separate package
It will help to skip their content when rendering bytecode listing for box tests
This commit is contained in:
@@ -685,6 +685,7 @@ public class KotlinTestUtils {
|
||||
M supportModule = hasModules ? factory.createModule("support", Collections.emptyList(), Collections.emptyList()) : null;
|
||||
testFiles.add(factory.createFile(supportModule,
|
||||
"CoroutineUtil.kt",
|
||||
"package helpers\n" +
|
||||
"import kotlin.coroutines.experimental.*\n" +
|
||||
"fun <T> handleResultContinuation(x: (T) -> Unit): Continuation<T> = object: Continuation<T> {\n" +
|
||||
" override val context = EmptyCoroutineContext\n" +
|
||||
|
||||
Reference in New Issue
Block a user