aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjin xin <j00101220@huawei.com>2016-10-10 10:04:25 +0000
committerGerrit Code Review <gerrit@open-o.org>2016-10-10 10:04:25 +0000
commit194ccb8f1aac1bdac05e8b0da24d0d2f8628a4b4 (patch)
tree2fa4f9acb00452a8a4025ccbf3cad27455f26b84
parent42b281cebb70e5dd2c8a968f8583668c046ca62e (diff)
parent6a414c95c6d09bd6246b60023834c0c0c0286be2 (diff)
Merge "Resolve the Bug GSO-9 for add new files"
-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 {
+
+}