Improve code coverage for libs 73/31373/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Mon, 12 Feb 2018 06:16:24 +0000 (06:16 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Mon, 12 Feb 2018 06:16:24 +0000 (06:16 +0000)
Improve code coverage for libs.

Change-Id: I04c6cd7ee8abc5bb9a357ad2a191670b0e175c53
Issue-ID: SO-369
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
nova-client/src/test/java/com/woorea/openstack/nova/model/VolumeTypesTest.java [new file with mode: 0644]
nova-model/pom.xml

diff --git a/nova-client/src/test/java/com/woorea/openstack/nova/model/VolumeTypesTest.java b/nova-client/src/test/java/com/woorea/openstack/nova/model/VolumeTypesTest.java
new file mode 100644 (file)
index 0000000..1cee9a8
--- /dev/null
@@ -0,0 +1,29 @@
+/*-
+ * ============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.nova.model;
+
+import org.junit.Test;
+
+public class VolumeTypesTest {
+
+    VolumeTypes volumeTypes = new VolumeTypes();
+
+    @Test
+    public void getList() throws Exception {
+        volumeTypes.getList();
+    }
+
+}
\ No newline at end of file
index c526818..cc78c7a 100644 (file)
@@ -9,4 +9,11 @@
        <artifactId>nova-model</artifactId>
        <name>OpenStack Nova Model</name>
        <description>OpenStack Nova Model</description>
+       <dependencies>
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>4.12</version>
+               </dependency>
+       </dependencies>
 </project>
\ No newline at end of file