|
|
@ -32,7 +32,7 @@ import java.sql.SQLException;
|
|
|
|
public class ApplicationPersistenceTests extends BaseDeviceManagementTest {
|
|
|
|
public class ApplicationPersistenceTests extends BaseDeviceManagementTest {
|
|
|
|
|
|
|
|
|
|
|
|
private static final Log log = LogFactory.getLog(ApplicationPersistenceTests.class);
|
|
|
|
private static final Log log = LogFactory.getLog(ApplicationPersistenceTests.class);
|
|
|
|
private ApplicationDAO applicationDAO = DeviceManagementDAOFactory.getApplicationDAO();
|
|
|
|
private ApplicationDAO applicationDAO = null;
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void testAddApplication() {
|
|
|
|
public void testAddApplication() {
|
|
|
@ -79,6 +79,7 @@ public class ApplicationPersistenceTests extends BaseDeviceManagementTest {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void init() throws Exception {
|
|
|
|
public void init() throws Exception {
|
|
|
|
this.initDataSource();
|
|
|
|
this.initDataSource();
|
|
|
|
|
|
|
|
applicationDAO = DeviceManagementDAOFactory.getApplicationDAO();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|