|
|
|
@ -39,7 +39,7 @@ import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Unit tests for deviceCacheManagerImpl
|
|
|
|
|
Unit tests for DeviceCacheManagerImpl
|
|
|
|
|
*/
|
|
|
|
|
public class DeviceCacheManagerImplTest extends BaseDeviceManagementTest {
|
|
|
|
|
private static final int NO_OF_DEVICES = 5;
|
|
|
|
@ -79,7 +79,6 @@ public class DeviceCacheManagerImplTest extends BaseDeviceManagementTest {
|
|
|
|
|
org.wso2.carbon.base.MultitenantConstants.SUPER_TENANT_ID);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test(description = "Adding all test devices to the cache")
|
|
|
|
|
public void testAddDeviceToCache() throws DeviceManagementException {
|
|
|
|
|
for (int i = 0; i < NO_OF_DEVICES; i++) {
|
|
|
|
|