diff options
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-02-12 06:16:24 +0000 |
---|---|---|
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | 2018-02-12 06:16:24 +0000 |
commit | 2bf0e89c0b9c0098b5dad272d3131cbcac1e27f1 (patch) | |
tree | 7da7ff34db7ef480727973ffaf1c6ce78b6736a8 | |
parent | f71f1cc49b06cd3e89801db2ed7c24d28547da52 (diff) |
Improve code coverage for libs
Improve code coverage for libs.
Change-Id: I04c6cd7ee8abc5bb9a357ad2a191670b0e175c53
Issue-ID: SO-369
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
-rw-r--r-- | nova-client/src/test/java/com/woorea/openstack/nova/model/VolumeTypesTest.java | 29 | ||||
-rw-r--r-- | nova-model/pom.xml | 7 |
2 files changed, 36 insertions, 0 deletions
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 index 0000000..1cee9a8 --- /dev/null +++ b/nova-client/src/test/java/com/woorea/openstack/nova/model/VolumeTypesTest.java @@ -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 diff --git a/nova-model/pom.xml b/nova-model/pom.xml index c526818..cc78c7a 100644 --- a/nova-model/pom.xml +++ b/nova-model/pom.xml @@ -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 |