@ContextConfiguration(classes={ServletInitializer.class,AppConfig.class,HibernateConfig.class,TaskSchedulerConfig.class}) @WebAppConfiguration public class TestMockAccessSensorService extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
(package private) AbstractAccessSensorService |
abstractAccessSensorService |
|
(package private) org.springframework.context.ApplicationContext |
context |
|
(package private) DataFetchingAndMappingService |
dataFetchingAndMappingService |
|
private static org.apache.log4j.Logger |
logger |
|
(package private) org.hibernate.SessionFactory |
sessionFactory |
Constructor | Description |
---|---|
TestMockAccessSensorService() |
Modifier and Type | Method | Description |
---|---|---|
void |
testGetDataFromSensor() |
|
void |
testGetDataFromSensorForBorderRouter() |
|
void |
testSaveAllCurrentDataFromSensor() |
|
void |
testSaveDataFromSensor() |
@Autowired @Qualifier("mockAccessSensorService") AbstractAccessSensorService abstractAccessSensorService
@Autowired DataFetchingAndMappingService dataFetchingAndMappingService
@Autowired org.hibernate.SessionFactory sessionFactory
@Autowired org.springframework.context.ApplicationContext context
private static final org.apache.log4j.Logger logger
@Transactional public void testGetDataFromSensorForBorderRouter() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
@Transactional public void testGetDataFromSensor() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
@Transactional public void testSaveDataFromSensor() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
@Transactional public void testSaveAllCurrentDataFromSensor() throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException