pmd-lang-test / net.sourceforge.pmd.cpd.test / CpdTextComparisonTest / doTest

doTest

@JvmOverloads fun doTest(fileBaseName: String, expectedSuffix: String = "", properties: Properties = defaultProperties()): Unit

A test comparing the output of the tokenizer.

Parameters

fileBaseName - Name of the source file (without extension or resource prefix)

expectedSuffix - Suffix to append to the expected file. This allows reusing the same source file with different configurations, provided the suffix is different

properties - Properties to configure newTokenizer