@@ -179,9 +179,11 @@ open class AbstractFirWasmJsTranslatorTest : AbstractFirWasmJsTest(
179
179
" js.translator/firBox"
180
180
)
181
181
182
- open class AbstractFirWasmJsSteppingTest : AbstractFirWasmJsTest (
182
+ open class AbstractFirWasmJsSteppingTest (
183
+ testGroupOutputDirPrefix : String = " debug/stepping/firBox"
184
+ ) : AbstractFirWasmJsTest(
183
185
" compiler/testData/debug/stepping/" ,
184
- " debug/stepping/firBox "
186
+ testGroupOutputDirPrefix
185
187
) {
186
188
override val wasmBoxTestRunner: Constructor <AnalysisHandler <BinaryArtifacts .Wasm >>
187
189
get() = ::WasmDebugRunner
@@ -199,6 +201,60 @@ open class AbstractFirWasmJsSteppingTest : AbstractFirWasmJsTest(
199
201
}
200
202
}
201
203
204
+ open class AbstractFirWasmJsSteppingWithInlinedFunInKlibTest (
205
+ testGroupOutputDirPrefix : String = " debug/firSteppingWithInlinedFunInKlib/"
206
+ ) : AbstractFirWasmJsSteppingTest(
207
+ testGroupOutputDirPrefix = testGroupOutputDirPrefix
208
+ ) {
209
+ override fun configure (builder : TestConfigurationBuilder ) {
210
+ super .configure(builder)
211
+ with (builder) {
212
+ defaultDirectives {
213
+ LANGUAGE with listOf (
214
+ " +${LanguageFeature .IrIntraModuleInlinerBeforeKlibSerialization .name} " ,
215
+ " +${LanguageFeature .IrCrossModuleInlinerBeforeKlibSerialization .name} "
216
+ )
217
+ }
218
+ }
219
+ }
220
+ }
221
+
222
+ open class AbstractFirWasmJsSteppingSplitTest : AbstractFirWasmJsSteppingTest (
223
+ testGroupOutputDirPrefix = " debug/firSteppingSplit/"
224
+ ) {
225
+ override val additionalIgnoreDirectives: List <ValueDirective <TargetBackend >>?
226
+ get() = listOf (IGNORE_BACKEND_K2_MULTI_MODULE )
227
+
228
+ override fun configure (builder : TestConfigurationBuilder ) {
229
+ super .configure(builder)
230
+ with (builder) {
231
+ @OptIn(TestInfrastructureInternals ::class )
232
+ useModuleStructureTransformers(
233
+ ::SplittingModuleTransformerForBoxTests
234
+ )
235
+ useMetaTestConfigurators(::SplittingTestConfigurator )
236
+ }
237
+ }
238
+ }
239
+
240
+ open class AbstractFirWasmJsSteppingSplitWithInlinedFunInKlibTest : AbstractFirWasmJsSteppingWithInlinedFunInKlibTest (
241
+ testGroupOutputDirPrefix = " debug/firSteppingSplit/"
242
+ ) {
243
+ override val additionalIgnoreDirectives: List <ValueDirective <TargetBackend >>?
244
+ get() = listOf (IGNORE_BACKEND_K2_MULTI_MODULE )
245
+
246
+ override fun configure (builder : TestConfigurationBuilder ) {
247
+ super .configure(builder)
248
+ with (builder) {
249
+ @OptIn(TestInfrastructureInternals ::class )
250
+ useModuleStructureTransformers(
251
+ ::SplittingModuleTransformerForBoxTests
252
+ )
253
+ useMetaTestConfigurators(::SplittingTestConfigurator )
254
+ }
255
+ }
256
+ }
257
+
202
258
open class AbstractFirWasmWasiTest (
203
259
pathToTestDir : String ,
204
260
testGroupOutputDirPrefix : String ,
0 commit comments