[mpp, tests] Add infrastructure for *Generated KPM Core tests
This commit is contained in:
+3
-2
@@ -30,7 +30,8 @@ private val METHOD_GENERATORS = listOf(
|
||||
)
|
||||
|
||||
class NewTestGeneratorImpl(
|
||||
additionalMethodGenerators: List<MethodGenerator<Nothing>>
|
||||
additionalMethodGenerators: List<MethodGenerator<Nothing>>,
|
||||
private val generatorName: String = TEST_GENERATOR_NAME,
|
||||
) : TestGenerator(METHOD_GENERATORS + additionalMethodGenerators) {
|
||||
|
||||
private val GENERATED_FILES = HashSet<String>()
|
||||
@@ -155,7 +156,7 @@ class NewTestGeneratorImpl(
|
||||
p.println("import java.io.File;")
|
||||
p.println("import java.util.regex.Pattern;")
|
||||
p.println()
|
||||
p.println("/** This class is generated by {@link ", TEST_GENERATOR_NAME, "}. DO NOT MODIFY MANUALLY */")
|
||||
p.println("/** This class is generated by {@link ", generatorName, "}. DO NOT MODIFY MANUALLY */")
|
||||
|
||||
p.generateSuppressAllWarnings()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user