Refactor: extract test generation regexp into a common util object

This commit is contained in:
Svyatoslav Kuzmich
2023-10-05 12:27:27 +02:00
committed by Space Team
parent 881997585a
commit 0295057520
5 changed files with 10 additions and 6 deletions
@@ -6,12 +6,13 @@
package org.jetbrains.kotlinx.serialization
import org.jetbrains.kotlin.generators.generateTestGroupSuiteWithJUnit5
import org.jetbrains.kotlin.generators.util.TestGeneratorUtil
import org.jetbrains.kotlinx.serialization.runners.*
fun main(args: Array<String>) {
System.setProperty("java.awt.headless", "true")
val excludedFirTestdataPattern = "^(.+)\\.fir\\.kts?\$"
val excludedFirTestdataPattern = TestGeneratorUtil.KT_OR_KTS_WITH_FIR_PREFIX
generateTestGroupSuiteWithJUnit5(args) {
testGroup(