Package com.avoka.fc.core.service
Class TestSuiteService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.TestSuiteService
-
- All Implemented Interfaces:
IServiceDefinitionAware
,ITestSuiteService
public class TestSuiteService extends CayenneService implements ITestSuiteService, IServiceDefinitionAware
Provides a services test suite to run a set of unit tests.- Since:
- 4.3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.avoka.fc.core.service.ITestSuiteService
ITestSuiteService.TestResult
-
-
Constructor Summary
Constructors Constructor Description TestSuiteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceDefinition
getServiceDefinition()
Return the service definitionList<ITestSuiteService.TestResult>
runTests()
Run the test suites configured unit tests, return a list of TestResults.void
setServiceDefinition(ServiceDefinition serviceDefinition)
Set the service definition.-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
runTests
public List<ITestSuiteService.TestResult> runTests()
Run the test suites configured unit tests, return a list of TestResults.- Specified by:
runTests
in interfaceITestSuiteService
- Returns:
- return a list of TestResults.
- See Also:
ITestSuiteService.runTests()
-
getServiceDefinition
public ServiceDefinition getServiceDefinition()
Return the service definition- Specified by:
getServiceDefinition
in interfaceIServiceDefinitionAware
- Returns:
- the service definition.
-
setServiceDefinition
public void setServiceDefinition(ServiceDefinition serviceDefinition)
Set the service definition.- Specified by:
setServiceDefinition
in interfaceIServiceDefinitionAware
- Parameters:
serviceDefinition
- the service definition to set
-
-