public interface SingleTestGenerator
Modifier and Type | Interface and Description |
---|---|
static class |
SingleTestGenerator.GeneratedClassData |
Modifier and Type | Method and Description |
---|---|
String |
buildClass(ContractVerifierConfigProperties properties,
Collection<ContractMetadata> listOfFiles,
String includedDirectoryRelativePath,
SingleTestGenerator.GeneratedClassData generatedClassData)
Creates contents of a single test class in which all test scenarios from the
contract metadata should be placed.
|
String |
buildClass(ContractVerifierConfigProperties properties,
Collection<ContractMetadata> listOfFiles,
String className,
String classPackage,
String includedDirectoryRelativePath)
|
@Deprecated String buildClass(ContractVerifierConfigProperties properties, Collection<ContractMetadata> listOfFiles, String className, String classPackage, String includedDirectoryRelativePath)
properties
- - properties passed to the pluginlistOfFiles
- - list of parsed contracts with additional metadataclassName
- - the name of the generated test classclassPackage
- - the name of the package in which the test class should be
storedincludedDirectoryRelativePath
- - relative path to the included directoryString buildClass(ContractVerifierConfigProperties properties, Collection<ContractMetadata> listOfFiles, String includedDirectoryRelativePath, SingleTestGenerator.GeneratedClassData generatedClassData)
properties
- - properties passed to the pluginlistOfFiles
- - list of parsed contracts with additional metadatageneratedClassData
- - information about the generated classincludedDirectoryRelativePath
- - relative path to the included directoryCopyright © 2016–2020 Spring. All rights reserved.