Package-level declarations

Utility preprocessors for things like package declarations.

Types

Link copied to clipboard
class BoOpBoxPreprocessor(testServices: TestServices) : ReversibleSourceFilePreprocessor

Adds a no-op box method to test files that don't have one.

Link copied to clipboard
class PackagePreprocessor(testServices: TestServices, pathPrefix: String = "src/testData") : ReversibleSourceFilePreprocessor

Adds a package declaration to the test data file, based on its directory. Enabled by default when using BaseTestGenerator.