static TestKit.Builder |
TestKit.builder() |
Creates a new builder for the TestKit.
|
TestKit.Builder |
TestKit.Builder.withArtifactsDirectory(java.nio.file.Path artifactsDirectory) |
Sets artifact directory.
|
TestKit.Builder |
TestKit.Builder.withDeployedArtifact(ServiceArtifactId serviceArtifactId,
java.lang.String artifactFilename) |
Adds a service artifact which would be deployed by the TestKit.
|
TestKit.Builder |
TestKit.Builder.withNodeType(EmulatedNodeType nodeType) |
Sets the type of the main TestKit node - either validator or auditor.
|
TestKit.Builder |
TestKit.Builder.withService(ServiceArtifactId serviceArtifactId,
java.lang.String serviceName,
int serviceId) |
Adds a service specification with which the TestKit would create the corresponding service
instance with no configuration.
|
TestKit.Builder |
TestKit.Builder.withService(ServiceArtifactId serviceArtifactId,
java.lang.String serviceName,
int serviceId,
com.google.protobuf.MessageLite configuration) |
Adds a service specification with which the TestKit would create the corresponding service
instance.
|
TestKit.Builder |
TestKit.Builder.withTimeService(java.lang.String serviceName,
int serviceId,
TimeProvider timeProvider) |
Adds a time service specification with which the TestKit would create the corresponding
time service instance.
|
TestKit.Builder |
TestKit.Builder.withValidators(short validatorCount) |
Sets number of validator nodes in the TestKit network, should be positive.
|