aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/policy
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/policy')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java1
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/policy/PolicyUtilTest.java5
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/policy/RestObjectTest.java4
3 files changed, 2 insertions, 8 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
index 0e74c7d83..05191fc5e 100644
--- a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
@@ -1,6 +1,5 @@
package org.onap.vid.policy;
-import org.apache.poi.hssf.record.formula.functions.T;
import org.json.simple.JSONObject;
import org.junit.Test;
import org.onap.vid.policy.rest.RequestDetails;
diff --git a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyUtilTest.java b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyUtilTest.java
index 566d17c11..1629081a6 100644
--- a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyUtilTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyUtilTest.java
@@ -1,6 +1,5 @@
package org.onap.vid.policy;
-import org.apache.poi.hssf.record.formula.functions.T;
import org.glassfish.jersey.client.ClientResponse;
import org.junit.Assert;
import org.junit.Test;
@@ -35,12 +34,10 @@ public class PolicyUtilTest {
@Test
public void testConvertPojoToString() throws Exception {
- T t = null;
String result;
// test 1
- t = null;
- result = PolicyUtil.convertPojoToString(t);
+ result = PolicyUtil.convertPojoToString(null);
Assert.assertEquals("", result);
}
diff --git a/vid-app-common/src/test/java/org/onap/vid/policy/RestObjectTest.java b/vid-app-common/src/test/java/org/onap/vid/policy/RestObjectTest.java
index 7665d99a2..eab343ab0 100644
--- a/vid-app-common/src/test/java/org/onap/vid/policy/RestObjectTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/policy/RestObjectTest.java
@@ -1,6 +1,5 @@
package org.onap.vid.policy;
-import org.apache.poi.hssf.record.formula.functions.T;
import org.junit.Test;
public class RestObjectTest {
@@ -12,11 +11,10 @@ public class RestObjectTest {
@Test
public void testSet() throws Exception {
RestObject testSubject;
- T t = null;
// default test
testSubject = createTestSubject();
- testSubject.set(t);
+ testSubject.set(null);
}
@Test