@ContextConfiguration(classes={ServletInitializer.class,AppConfig.class,HibernateConfig.class}) @WebAppConfiguration public class TestSensorRepository extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
private static org.apache.log4j.Logger |
logger |
|
(package private) SensorRepository |
sensorRepository |
|
(package private) org.hibernate.SessionFactory |
sessionFactory |
Constructor | Description |
---|---|
TestSensorRepository() |
Modifier and Type | Method | Description |
---|---|---|
void |
testClear() |
|
void |
testGet() |
|
void |
testGetAllSensor() |
|
void |
testGetAllSensorForBorderRouterIp() |
|
void |
testGetAllSensorIp() |
|
void |
testSave() |
|
void |
testSize() |
|
void |
testUpdateSensorName() |
@Autowired SensorRepository sensorRepository
@Autowired org.hibernate.SessionFactory sessionFactory
private static final org.apache.log4j.Logger logger
@Transactional public void testUpdateSensorName()
@Transactional public void testGet()
@Transactional public void testClear()
@Transactional public void testSave()
@Transactional public void testGetAllSensor()
@Transactional public void testGetAllSensorForBorderRouterIp()
@Transactional public void testSize()
@Transactional public void testGetAllSensorIp()