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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the service definitionrunTests()
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
-
Constructor Details
-
TestSuiteService
public TestSuiteService()
-
-
Method Details
-
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:
-
getServiceDefinition
Return the service definition- Specified by:
getServiceDefinition
in interfaceIServiceDefinitionAware
- Returns:
- the service definition.
-
setServiceDefinition
Set the service definition.- Specified by:
setServiceDefinition
in interfaceIServiceDefinitionAware
- Parameters:
serviceDefinition
- the service definition to set
-