From 026e70824cc6494078afd49cdda827c3b50599f0 Mon Sep 17 00:00:00 2001 From: GDLMadushanka Date: Thu, 12 Oct 2017 13:13:23 +0530 Subject: [PATCH] refactoring --- .../device/type/deployer/DeviceTypePluginDeployerTest.java | 2 -- .../src/test/resources/android.xml | 3 +-- .../src/test/resources/testng.xml | 3 +-- components/test-coverage/pom.xml | 4 +++- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/java/org/wso2/carbon/device/mgt/extensions/device/type/deployer/DeviceTypePluginDeployerTest.java b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/java/org/wso2/carbon/device/mgt/extensions/device/type/deployer/DeviceTypePluginDeployerTest.java index 2cb00848da..7f158ff569 100644 --- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/java/org/wso2/carbon/device/mgt/extensions/device/type/deployer/DeviceTypePluginDeployerTest.java +++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/java/org/wso2/carbon/device/mgt/extensions/device/type/deployer/DeviceTypePluginDeployerTest.java @@ -38,7 +38,6 @@ import java.util.concurrent.ConcurrentHashMap; Unit tests for DeviceTypePluginDeployer */ public class DeviceTypePluginDeployerTest { - private DeviceTypePluginDeployer deviceTypePluginDeployer; private DeploymentFileData deploymentFileData; private Field deviceTypeServiceRegistrations = null; @@ -68,7 +67,6 @@ public class DeviceTypePluginDeployerTest { File file = new File("src/test/resources"); if (file.exists()) { System.setProperty("carbon.home", file.getAbsolutePath()); - } } PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain( diff --git a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/resources/android.xml b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/resources/android.xml index 80555b5803..21db962414 100644 --- a/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/resources/android.xml +++ b/components/device-mgt-extensions/org.wso2.carbon.device.mgt.extensions.device.type.deployer/src/test/resources/android.xml @@ -1,5 +1,4 @@ -