summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorj00302280 <j00101220@huawei.com>2016-10-10 18:02:14 +0800
committerj00302280 <j00101220@huawei.com>2016-10-10 18:02:14 +0800
commit6a414c95c6d09bd6246b60023834c0c0c0286be2 (patch)
tree14a46d292a4dd997c5c52716afd49488f96710f6
parentd2c51b8d20c56fa9a0ddc40b2a9d49e421362c44 (diff)
Resolve the Bug GSO-9 for add new files
Change-Id: Id076b732cd4ed68ff47805e90031021193e7162b Signed-off-by: j00302280 <j00101220@huawei.com>
-rw-r--r--servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/activator/ActivatorTest.java30
-rw-r--r--servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/testsuite/SuiteSGTest.java35
2 files changed, 65 insertions, 0 deletions
diff --git a/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/activator/ActivatorTest.java b/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/activator/ActivatorTest.java
new file mode 100644
index 00000000..96ea5701
--- /dev/null
+++ b/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/activator/ActivatorTest.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2016, Huawei Technologies Co., Ltd.
+ *
+ * Licensed 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.openo.gso.gui.servicegateway.activator;
+
+import org.junit.Test;
+
+public class ActivatorTest
+{
+ @Test
+ public void test() throws Exception
+ {
+ Activator activator = new Activator();
+ activator.start();
+ activator.stop();
+ }
+
+}
diff --git a/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/testsuite/SuiteSGTest.java b/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/testsuite/SuiteSGTest.java
new file mode 100644
index 00000000..9223df67
--- /dev/null
+++ b/servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/testsuite/SuiteSGTest.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2016, Huawei Technologies Co., Ltd.
+ *
+ * Licensed 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.openo.gso.gui.servicegateway.testsuite;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.openo.gso.gui.servicegateway.activator.ActivatorTest;
+import org.openo.gso.gui.servicegateway.exception.HttpCodeTest;
+import org.openo.gso.gui.servicegateway.roa.impl.ServiceGatewayRoaModuleImplTest;
+import org.openo.gso.gui.servicegateway.service.impl.ServiceGatewayImplTest;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ ActivatorTest.class,
+ ServiceGatewayImplTest.class,
+ HttpCodeTest.class,
+ ServiceGatewayRoaModuleImplTest.class
+
+})
+public class SuiteSGTest {
+
+}