@@ -32,44 +32,43 @@ import java.io.File
32
32
33
33
open class AbstractExplainerBlackBoxCodegenTest : BaseTestRunner () {
34
34
35
- override fun configure (builder : TestConfigurationBuilder ) =
36
- with (builder) {
37
- globalDefaults {
38
- frontend = FrontendKinds .ClassicAndFIR
39
- targetPlatform = JvmPlatforms .jvm8
40
- dependencyKind = DependencyKind .Binary
41
- targetBackend = TargetBackend .JVM_IR
42
- }
43
- defaultDirectives {
44
- JvmEnvironmentConfigurationDirectives .JDK_KIND with TestJdkKind .FULL_JDK
45
- JvmEnvironmentConfigurationDirectives .JVM_TARGET with JvmTarget .JVM_1_8
46
- + JvmEnvironmentConfigurationDirectives .WITH_REFLECT
47
- }
48
- facadeStep(::ClassicFrontendFacade )
49
- commonFirWithPluginFrontendConfiguration()
50
- classicFrontendHandlersStep {
51
- useHandlers(
52
- ::ClassicDiagnosticsHandler ,
53
- ::DeclarationsDumpHandler ,
54
- )
55
- }
56
- psi2IrStep()
57
- irHandlersStep {
58
- useHandlers(
59
- ::IrPrettyKotlinDumpHandler ,
60
- ::IrTextDumpHandler ,
61
- ::IrTreeVerifierHandler ,
62
- )
63
- }
64
- facadeStep(::JvmIrBackendFacade )
65
- jvmArtifactsHandlersStep {
66
- useHandlers(::JvmBoxRunner )
67
- }
68
- useConfigurators(::JvmEnvironmentConfigurator , ::CommonEnvironmentConfigurator , ::PluginAnnotationsProvider )
69
- useCustomRuntimeClasspathProviders(::MyClasspathProvider )
70
- useAfterAnalysisCheckers(::BlackBoxCodegenSuppressor )
71
- useAdditionalService<TemporaryDirectoryManager >(::TemporaryDirectoryManagerImplFixed )
35
+ override fun TestConfigurationBuilder.configuration () {
36
+ globalDefaults {
37
+ frontend = FrontendKinds .ClassicAndFIR
38
+ targetPlatform = JvmPlatforms .jvm8
39
+ dependencyKind = DependencyKind .Binary
40
+ targetBackend = TargetBackend .JVM_IR
72
41
}
42
+ defaultDirectives {
43
+ JvmEnvironmentConfigurationDirectives .JDK_KIND with TestJdkKind .FULL_JDK
44
+ JvmEnvironmentConfigurationDirectives .JVM_TARGET with JvmTarget .JVM_1_8
45
+ + JvmEnvironmentConfigurationDirectives .WITH_REFLECT
46
+ }
47
+ facadeStep(::ClassicFrontendFacade )
48
+ commonFirWithPluginFrontendConfiguration()
49
+ classicFrontendHandlersStep {
50
+ useHandlers(
51
+ ::ClassicDiagnosticsHandler ,
52
+ ::DeclarationsDumpHandler ,
53
+ )
54
+ }
55
+ psi2IrStep()
56
+ irHandlersStep {
57
+ useHandlers(
58
+ ::IrPrettyKotlinDumpHandler ,
59
+ ::IrTextDumpHandler ,
60
+ ::IrTreeVerifierHandler ,
61
+ )
62
+ }
63
+ facadeStep(::JvmIrBackendFacade )
64
+ jvmArtifactsHandlersStep {
65
+ useHandlers(::JvmBoxRunner )
66
+ }
67
+ useConfigurators(::JvmEnvironmentConfigurator , ::CommonEnvironmentConfigurator , ::PluginAnnotationsProvider )
68
+ useCustomRuntimeClasspathProviders(::MyClasspathProvider )
69
+ useAfterAnalysisCheckers(::BlackBoxCodegenSuppressor )
70
+ useAdditionalService<TemporaryDirectoryManager >(::TemporaryDirectoryManagerImplFixed )
71
+ }
73
72
74
73
class MyClasspathProvider (testServices : TestServices ) : RuntimeClasspathProvider(testServices) {
75
74
override fun runtimeClassPaths (module : TestModule ): List <File > =
0 commit comments