diff options
author | 2018-02-12 05:37:17 +0000 | |
---|---|---|
committer | 2018-02-12 05:37:17 +0000 | |
commit | f71f1cc49b06cd3e89801db2ed7c24d28547da52 (patch) | |
tree | bad234f6a9564d72ee6d292628a00a1d22008370 /nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java | |
parent | 05ac1667ec8690ab6a7623938f2d9a462e07aaec (diff) |
Improve code coverage for libs
Improve code coverage for libs.
Change-Id: I7e6560e0af41cb9756d6eec17dee6e32df3d3ad6
Issue-ID: SO-369
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java')
-rw-r--r-- | nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java b/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java new file mode 100644 index 0000000..67b542b --- /dev/null +++ b/nova-client/src/test/java/com/woorea/openstack/nova/api/extensions/NetworksExtensionTest.java @@ -0,0 +1,44 @@ +/*- + * ============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.api.extensions; + +import org.junit.Test; + +public class NetworksExtensionTest { + + NetworksExtension networksExtension = new NetworksExtension(null); + + @Test + public void list() throws Exception { + networksExtension.list(); + } + + @Test + public void show() throws Exception { + networksExtension.show("test"); + } + + @Test + public void delete() throws Exception { + networksExtension.delete("test"); + } + + @Test + public void disassociate() throws Exception { + networksExtension.disassociate("test"); + } + +}
\ No newline at end of file |