Class TestResult
java.lang.Object
io.github.microcks.testcontainers.model.TestResult
Domain object representing the result of a microservice test run by Microcks. Test are related to a service and
made of multiple test cases corresponding to every operations / actions composing service. Tests are run against
a specific endpoint named testedEndpoint. It holds global markers telling if test still ran, is a success,
how many times is has taken and so on ...
- Author:
- laurent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()longbooleanbooleanvoidsetElapsedTime(long elapsedTime) voidvoidsetInProgress(boolean inProgress) voidsetOperationsHeaders(OperationsHeaders operationsHeaders) voidsetRunnerType(TestRunnerType runnerType) voidsetSecretRef(SecretRef secretRef) voidsetServiceId(String serviceId) voidsetSuccess(boolean success) voidsetTestCaseResults(List<TestCaseResult> testCaseResults) voidsetTestDate(Date testDate) voidsetTestedEndpoint(String testedEndpoint) voidsetTestNumber(Long testNumber) voidsetTimeout(long timeout) voidsetVersion(Long version)
-
Constructor Details
-
TestResult
public TestResult()
-
-
Method Details
-
getId
-
setId
-
getVersion
-
setVersion
-
getTestNumber
-
setTestNumber
-
getTestDate
-
setTestDate
-
getTestedEndpoint
-
setTestedEndpoint
-
getServiceId
-
setServiceId
-
getSecretRef
-
setSecretRef
-
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout) -
getElapsedTime
public long getElapsedTime() -
setElapsedTime
public void setElapsedTime(long elapsedTime) -
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean success) -
isInProgress
public boolean isInProgress() -
setInProgress
public void setInProgress(boolean inProgress) -
getRunnerType
-
setRunnerType
-
getOperationsHeaders
-
setOperationsHeaders
-
getTestCaseResults
-
setTestCaseResults
-