Do not include kotlin-reflect at runtime by default in codegen tests
Change some tests to either include reflection or to avoid using it
This commit is contained in:
committed by
Alexander Udalov
parent
20e36438e2
commit
2564a2f91f
@@ -23,7 +23,8 @@ class ReflectionClassLoaderTest : CodegenTestCase() {
|
||||
|
||||
override fun setUp() {
|
||||
super.setUp()
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.ALL)
|
||||
configurationKind = ConfigurationKind.ALL
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(configurationKind)
|
||||
}
|
||||
|
||||
private fun Class<*>.methodByName(name: String) = declaredMethods.single { it.name == name }
|
||||
|
||||
Reference in New Issue
Block a user