B C E F G I M R S V W 
All Classes All Packages

B

BaseIntegrationTest - Class in com.ocs.dynamo.test
Base class for integration tests using Spring Boot
BaseIntegrationTest() - Constructor for class com.ocs.dynamo.test.BaseIntegrationTest
 
BaseIntegrationTestConfig - Class in com.ocs.dynamo.test
 
BaseIntegrationTestConfig() - Constructor for class com.ocs.dynamo.test.BaseIntegrationTestConfig
 
BaseMockitoTest - Class in com.ocs.dynamo.test
Base class for testing Spring beans.
BaseMockitoTest() - Constructor for class com.ocs.dynamo.test.BaseMockitoTest
 
beforeClass() - Static method in class com.ocs.dynamo.test.BaseIntegrationTest
 
beforeClass() - Static method in class com.ocs.dynamo.test.BaseMockitoTest
 

C

captureSave(BaseDao<ID, X>, Class<X>) - Static method in class com.ocs.dynamo.test.MockUtil
Capture a call of the "save" method on a DAO
captureSaveList(BaseDao<ID, X>) - Static method in class com.ocs.dynamo.test.MockUtil
Captures the call to the "save" method (that saves a list of entities) on a DAO
captureSaves(BaseDao<ID, X>, Class<X>, int) - Static method in class com.ocs.dynamo.test.MockUtil
Capture multipe calls to the "save" method on a DAO
captureServiceSave(BaseService<ID, X>, Class<X>) - Static method in class com.ocs.dynamo.test.MockUtil
Capture the call of the "save" method on a service
captureServiceSaveList(BaseService<ID, X>) - Static method in class com.ocs.dynamo.test.MockUtil
Capture the call to the "save" service method that accepts a list of entities
captureServiceSaves(BaseService<ID, X>, Class<X>, int) - Static method in class com.ocs.dynamo.test.MockUtil
Capture multiple calls to the "save" method of a service
com.ocs.dynamo.test - package com.ocs.dynamo.test
 
commitTransaction(TransactionStatus) - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 

E

entityManager - Variable in class com.ocs.dynamo.test.BaseIntegrationTest
 

F

formatNumber(String) - Method in class com.ocs.dynamo.test.BaseMockitoTest
 

G

getEntityManager() - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 
getLog() - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 

I

injectMessageService(Object, String) - Static method in class com.ocs.dynamo.test.MockUtil
Util method to initialize the messageservice and inject it into the target object when @Inject can not be used.
injectUI(Object, Object) - Static method in class com.ocs.dynamo.test.MockUtil
Injects a mocked Vaadin UI into an object

M

messageSource() - Method in class com.ocs.dynamo.test.BaseIntegrationTestConfig
 
mockFetchById(BaseDao<ID, X>, ID, X) - Static method in class com.ocs.dynamo.test.MockUtil
Mocks the "fetchById" method of a DAO by returning the provided entity
mockMessageService(MessageService) - Static method in class com.ocs.dynamo.test.MockUtil
Set up the message service to simply return the first argument passed to it - this allows for easily checking if the message service is called with the correct parameter
mockSave(BaseDao<ID, X>, Class<X>) - Static method in class com.ocs.dynamo.test.MockUtil
Mocks a DAO save operation, making sure that the argument that is passed to the method is returned from the method as well
mockSaveList(BaseDao<ID, X>) - Static method in class com.ocs.dynamo.test.MockUtil
Mock the saving of a list on a DAO
mockServiceSave(BaseService<ID, U>, Class<U>) - Static method in class com.ocs.dynamo.test.MockUtil
Mocks a service save operation, making sure that the argument that is passed to the method is returned from the method as well
mockServiceSaveList(BaseService<ID, X>) - Static method in class com.ocs.dynamo.test.MockUtil
Mock the saving of a list on a DAO
MockUtil - Class in com.ocs.dynamo.test
Utility class for registering service and DAO related mock functionality

R

registerMocks(ConfigurableListableBeanFactory, Object) - Static method in class com.ocs.dynamo.test.MockUtil
Registers all fields that are annotated with "@Mock" as beans in the Spring context
registerMocks(ConfigurableListableBeanFactory, Object, Class<?>) - Static method in class com.ocs.dynamo.test.MockUtil
Registers all fields that are annotated with "@Mock" as beans in the Spring context

S

setEntityManager(EntityManager) - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 
startTransaction() - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 

V

validatorFactory() - Method in class com.ocs.dynamo.test.BaseIntegrationTestConfig
 

W

wait(int) - Method in class com.ocs.dynamo.test.BaseIntegrationTest
 
B C E F G I M R S V W 
All Classes All Packages