diff options
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 { + +} |