From 7f436f4f752abdae1886eae1a720f86dfcc2a958 Mon Sep 17 00:00:00 2001 From: harshanL Date: Thu, 12 Feb 2015 12:00:56 +0530 Subject: [PATCH] Added comments to DAO unit tests --- .../mgt/mobile/impl/dao/MobileDeviceDAOTestSuite.java | 6 ++++++ .../impl/dao/MobileDeviceOperationMappingDAOTestSuite.java | 5 +++++ .../mgt/mobile/impl/dao/MobileFeatureDAOTestSuite.java | 4 +++- .../mobile/impl/dao/MobileFeaturePropertyDAOTestSuite.java | 5 +++++ .../mgt/mobile/impl/dao/MobileOperationDAOTestSuite.java | 5 +++++ .../impl/dao/MobileOperationPropertyDAOTestSuite.java | 5 +++++ 6 files changed, 29 insertions(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceDAOTestSuite.java index 84a7647e0..da7b502a3 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceDAOTestSuite.java @@ -36,6 +36,12 @@ import org.wso2.carbon.device.mgt.mobile.impl.dao.util.MobileDatabaseUtils; import java.sql.*; import java.util.List; +/** + * + * Class for holding unit-tests related to MobileDeviceDAO class. + * + */ + public class MobileDeviceDAOTestSuite { private static final Log log = LogFactory.getLog(MobileDeviceDAOTestSuite.class); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceOperationMappingDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceOperationMappingDAOTestSuite.java index d8e611ecd..cd9342806 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceOperationMappingDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileDeviceOperationMappingDAOTestSuite.java @@ -41,6 +41,11 @@ import java.sql.*; import java.util.ArrayList; import java.util.List; +/** + * + * Class for holding unit-tests related to MobileDeviceOperationMappingDAO class. + * + */ public class MobileDeviceOperationMappingDAOTestSuite { private static final Log log = diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeatureDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeatureDAOTestSuite.java index b9bed2c08..5d1d57672 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeatureDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeatureDAOTestSuite.java @@ -37,7 +37,9 @@ import java.sql.*; import java.util.List; /** - * Class for holding the units tests related to MobileFeatureDAO class. + * + * Class for holding unit-tests related to MobileFeatureDAO class. + * */ public class MobileFeatureDAOTestSuite { diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeaturePropertyDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeaturePropertyDAOTestSuite.java index 07fe407e8..2985ded85 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeaturePropertyDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileFeaturePropertyDAOTestSuite.java @@ -39,6 +39,11 @@ import java.sql.*; import java.util.ArrayList; import java.util.List; +/** + * + * Class for holding unit-tests related to MobileFeaturePropertyDAO class. + * + */ public class MobileFeaturePropertyDAOTestSuite { private static final Log log = LogFactory.getLog(MobileFeaturePropertyDAOTestSuite.class); public static final String MBL_FEATURE_NAME = "WIFI"; diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationDAOTestSuite.java index cdab7bcc4..a6386550e 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationDAOTestSuite.java @@ -35,6 +35,11 @@ import org.wso2.carbon.device.mgt.mobile.impl.dao.util.MobileDatabaseUtils; import java.sql.*; +/** + * + * Class for holding unit-tests related to MobileOperationDAO class. + * + */ public class MobileOperationDAOTestSuite { private static final Log log = LogFactory.getLog(MobileOperationDAOTestSuite.class); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationPropertyDAOTestSuite.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationPropertyDAOTestSuite.java index 7d8315eaa..161a6e4e6 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationPropertyDAOTestSuite.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/test/java/org/wso2/carbon/device/mgt/mobile/impl/dao/MobileOperationPropertyDAOTestSuite.java @@ -39,6 +39,11 @@ import java.sql.*; import java.util.ArrayList; import java.util.List; +/** + * + * Class for holding unit-tests related to MobileOperationPropertyDAO class. + * + */ public class MobileOperationPropertyDAOTestSuite { private static final Log log = LogFactory.getLog(MobileOperationPropertyDAOTestSuite.class);