|
|
@ -27,12 +27,11 @@ import org.wso2.carbon.device.mgt.core.common.TestDataHolder;
|
|
|
|
import org.wso2.carbon.device.mgt.core.internal.DeviceManagementDataHolder;
|
|
|
|
import org.wso2.carbon.device.mgt.core.internal.DeviceManagementDataHolder;
|
|
|
|
import org.wso2.carbon.device.mgt.core.task.impl.DeviceTaskManagerServiceImpl;
|
|
|
|
import org.wso2.carbon.device.mgt.core.task.impl.DeviceTaskManagerServiceImpl;
|
|
|
|
|
|
|
|
|
|
|
|
public class DeviceManagementRepositoryTests extends BaseDeviceManagementTest{
|
|
|
|
public class DeviceManagementRepositoryTests{
|
|
|
|
|
|
|
|
|
|
|
|
private DeviceManagementPluginRepository repository;
|
|
|
|
private DeviceManagementPluginRepository repository;
|
|
|
|
|
|
|
|
|
|
|
|
@BeforeClass
|
|
|
|
@BeforeClass
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void init() throws Exception {
|
|
|
|
public void init() throws Exception {
|
|
|
|
this.repository = new DeviceManagementPluginRepository();
|
|
|
|
this.repository = new DeviceManagementPluginRepository();
|
|
|
|
DeviceManagementDataHolder.getInstance().setDeviceTaskManagerService(new DeviceTaskManagerServiceImpl());
|
|
|
|
DeviceManagementDataHolder.getInstance().setDeviceTaskManagerService(new DeviceTaskManagerServiceImpl());
|
|
|
|