From: subhash kumar singh Date: Fri, 2 Mar 2018 09:39:48 +0000 (+0000) Subject: Improve code coverage for libs X-Git-Tag: v1.2.1~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=0bc60b3757aa60f295c4fdc843c9cc490aa26097;p=so%2Flibs.git Improve code coverage for libs Improve code coverage for libs. Change-Id: I30df779e110c76c35766c3ec913745d761ed1d24 Issue-ID: SO-369 Signed-off-by: subhash kumar singh --- diff --git a/heat-client/pom.xml b/heat-client/pom.xml index f68dbfc..c151841 100644 --- a/heat-client/pom.xml +++ b/heat-client/pom.xml @@ -21,6 +21,12 @@ heat-model 1.2.0-SNAPSHOT + + junit + junit + 4.12 + test + \ No newline at end of file diff --git a/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java b/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java new file mode 100644 index 0000000..e2138da --- /dev/null +++ b/heat-client/src/test/java/com/woorea/openstack/heat/HeatTest.java @@ -0,0 +1,34 @@ +/*- + * ============LICENSE_START======================================================= + * 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. + * ============LICENSE_END========================================================= + */ +package com.woorea.openstack.heat; + +import org.junit.Test; + +public class HeatTest { + + Heat heat = new Heat("heat"); + + @Test + public void getStacks() throws Exception { + heat.getStacks(); + } + + @Test + public void getResources() throws Exception { + heat.getResources(); + } + +} \ No newline at end of file