summaryrefslogtreecommitdiffstats
path: root/esr-core/esr-mgr/src/test
diff options
context:
space:
mode:
authorlizi00164331 <li.zi30@zte.com.cn>2017-09-01 11:03:40 +0800
committerlizi00164331 <li.zi30@zte.com.cn>2017-09-01 11:03:40 +0800
commitac489e7598190f1165ff6f7a5dee32e506386770 (patch)
tree19f4a3d65d8bbeb2d2066e4287a2412d6120a9ff /esr-core/esr-mgr/src/test
parent50439f3a9d1c1d99fc644ae71c68971e8e46b0e7 (diff)
Define the REST API of thirdParty SDNC.
Define the Rest API of thirdParty SDNC. Also including some file rename work. Change-Id: Ied018e3ca96813bbd6756644a73a5c7c87e997bd Issue-ID: AAI-250 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-core/esr-mgr/src/test')
-rw-r--r--esr-core/esr-mgr/src/test/java/org/onap/aai/esr/db/util/CatalogDbUtilTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/esr-core/esr-mgr/src/test/java/org/onap/aai/esr/db/util/CatalogDbUtilTest.java b/esr-core/esr-mgr/src/test/java/org/onap/aai/esr/db/util/CatalogDbUtilTest.java
index 6458737..6fb8f3a 100644
--- a/esr-core/esr-mgr/src/test/java/org/onap/aai/esr/db/util/CatalogDbUtilTest.java
+++ b/esr-core/esr-mgr/src/test/java/org/onap/aai/esr/db/util/CatalogDbUtilTest.java
@@ -19,41 +19,41 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
-import org.onap.aai.esr.util.ExtsysDbUtil;
+import org.onap.aai.esr.util.ExtsysUtil;
public class CatalogDbUtilTest {
@Test
public void when_generate_id_is_not_null() {
- String actualUuid = ExtsysDbUtil.generateId();
+ String actualUuid = ExtsysUtil.generateId();
assertNotNull(actualUuid);
}
@Test
public void when_input_empty_string_output_false() {
boolean expect = false;
- boolean actual = ExtsysDbUtil.isNotEmpty("");
+ boolean actual = ExtsysUtil.isNotEmpty("");
assertEquals(expect, actual);
}
@Test
public void when_input_blan_string_output_true() {
boolean expect = true;
- boolean actual = ExtsysDbUtil.isNotEmpty(" ");
+ boolean actual = ExtsysUtil.isNotEmpty(" ");
assertEquals(expect, actual);
}
@Test
public void when_input_null_string_output_false() {
boolean expect = false;
- boolean actual = ExtsysDbUtil.isNotEmpty(null);
+ boolean actual = ExtsysUtil.isNotEmpty(null);
assertEquals(expect, actual);
}
@Test
public void when_input_str_string_output_true() {
boolean expect = true;
- boolean actual = ExtsysDbUtil.isNotEmpty("str");
+ boolean actual = ExtsysUtil.isNotEmpty("str");
assertEquals(expect, actual);
}