summaryrefslogtreecommitdiffstats
path: root/heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java
diff options
context:
space:
mode:
authorSindhu A <arcot.sindhuri@huawei.com>2018-03-07 13:25:41 +0000
committerSindhu A <arcot.sindhuri@huawei.com>2018-03-08 06:01:04 +0000
commit7a0b8cbe5d1723076bd17e84bc741455acfd92c2 (patch)
treee91952384eff837c311efdc8862ab69672e10fb0 /heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java
parent69e3a3af4c88034633c17a82b02b957b7523bb2b (diff)
Improve the UT coverage for libs
Improve UT coverage for libs. Change-Id: I7bbcaba76b4a0f9c43461b704d40b64ad763a461 Issue-ID: SO-369 Signed-off-by: Sindhu A <arcot.sindhuri@huawei.com>
Diffstat (limited to 'heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java')
-rw-r--r--heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java43
1 files changed, 43 insertions, 0 deletions
diff --git a/heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java b/heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java
new file mode 100644
index 0000000..3b4561d
--- /dev/null
+++ b/heat-model/src/test/main/java/com.woorea.openstack.heat.model/LinkTest.java
@@ -0,0 +1,43 @@
+/*-
+ * ============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.model;
+
+import org.junit.Test;
+
+public class LinkTest {
+ Link link = new Link();
+
+ @Test
+ public void getHrefTest() throws Exception {
+ link.getHref();
+ }
+
+ @Test
+ public void setHrefTest() throws Exception {
+ link.setHref("href");
+ }
+
+ @Test
+ public void getRelTest() throws Exception {
+ link.getRel();
+ }
+
+ @Test
+ public void setRelTest() throws Exception {
+ link.setRel("rel");
+ }
+
+}