Resolve the Bug GSO-9 for add new files
authorj00302280 <j00101220@huawei.com>
Mon, 10 Oct 2016 10:02:14 +0000 (18:02 +0800)
committerj00302280 <j00101220@huawei.com>
Mon, 10 Oct 2016 10:02:14 +0000 (18:02 +0800)
Change-Id: Id076b732cd4ed68ff47805e90031021193e7162b
Signed-off-by: j00302280 <j00101220@huawei.com>
servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/activator/ActivatorTest.java [new file with mode: 0644]
servicegateway/service/src/test/java/org/openo/gso/gui/servicegateway/testsuite/SuiteSGTest.java [new file with mode: 0644]

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 (file)
index 0000000..96ea570
--- /dev/null
@@ -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 (file)
index 0000000..9223df6
--- /dev/null
@@ -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 {
+
+}