public interface SingleTestGenerator
| Modifier and Type | Interface and Description |
|---|---|
static class |
SingleTestGenerator.GeneratedClassData |
| Modifier and Type | Method and Description |
|---|---|
default 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)
|
String |
fileExtension(ContractVerifierConfigProperties properties)
Deprecated.
|
@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 directorydefault String 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 directory@Deprecated String fileExtension(ContractVerifierConfigProperties properties)
.java
or .phpproperties - - properties passed to the pluginCopyright © 2016–2019 Spring. All rights reserved.