From 28a2cec61553500a1d71875671855fc8144d920c Mon Sep 17 00:00:00 2001 From: Geeth Munasinghe Date: Fri, 5 Dec 2014 14:41:43 +0530 Subject: [PATCH] adding the test case class, no implementation is done --- .../org.wso2.carbon.device.mgt.core/pom.xml | 5 +++ .../mgt/core/DeviceManagementTestCase.java | 40 +++++++++++++++++++ pom.xml | 11 ++++- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/DeviceManagementTestCase.java diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml index a1995bccee..3c7d6f1fc1 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml @@ -90,6 +90,11 @@ org.wso2.carbon org.wso2.carbon.logging + + junit + junit + test + diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/DeviceManagementTestCase.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/DeviceManagementTestCase.java new file mode 100644 index 0000000000..c096f0bd42 --- /dev/null +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/test/java/org/wso2/carbon/device/mgt/core/DeviceManagementTestCase.java @@ -0,0 +1,40 @@ +/* +* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. +* +* WSO2 Inc. licenses this file to you under the Apache License, +* Version 2.0 (the "License"); you may not use this file except +* in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed on an +* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +* KIND, either express or implied. See the License for the +* specific language governing permissions and limitations +* under the License. +*/ + +package org.wso2.carbon.device.mgt.core; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +public class DeviceManagementTestCase extends TestCase { + + private static final Log log = LogFactory.getLog(DeviceManagementTestCase.class); + + /** + * @return the suite of tests being tested + */ + public static Test suite() { + return new TestSuite(DeviceManagementTestCase.class); + } + + + +} diff --git a/pom.xml b/pom.xml index e9c30ba26d..3628d9a93c 100644 --- a/pom.xml +++ b/pom.xml @@ -99,7 +99,7 @@ ${project.version} - + org.eclipse.osgi org.eclipse.osgi @@ -111,6 +111,15 @@ ${eclipse.equinox.common.version} + + + + junit + junit + 4.12-beta-3 + test + +