Redefine configuration kinds, so that the most of test dependent on JDK_ONLY now use mock kotlin runtime:

MOCK_RUNTIME -> JDK_ONLY
JDK_ONLY -> JDK_NO_RUNTIME
This commit is contained in:
Ilya Gorbunov
2016-08-11 21:36:37 +03:00
parent 7579111df1
commit 403e2ab4ea
4 changed files with 9 additions and 5 deletions
@@ -21,8 +21,12 @@ enum class ConfigurationKind(
val withMockRuntime: Boolean = false,
val withReflection: Boolean = false
) {
JDK_ONLY(),
MOCK_RUNTIME(withMockRuntime = true),
/** JDK without any kotlin runtime */
JDK_NO_RUNTIME(),
/** JDK + light mock kotlin runtime */
JDK_ONLY(withMockRuntime = true),
/** JDK + kotlin runtime but without reflection */
NO_KOTLIN_REFLECT(withRuntime = true),
/** JDK + kotlin runtime + kotlin reflection */
ALL(withRuntime = true, withReflection = true),
}