diff options
author | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2018-01-31 17:19:00 +0200 |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java | |
parent | 2f20b001b9243e0f8b44aecc768ec265fd538732 (diff) |
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d
Issue-ID: VID-86
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java b/vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java deleted file mode 100644 index b7f88ac3..00000000 --- a/vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyUtilTest.java +++ /dev/null @@ -1,54 +0,0 @@ -package org.openecomp.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; - -public class PolicyUtilTest { - - private PolicyUtil createTestSubject() { - return new PolicyUtil(); - } - - @Test - public void testWrapResponse() throws Exception { - String body = ""; - int statusCode = 0; - PolicyResponseWrapper result; - - // default test - result = PolicyUtil.wrapResponse(body, statusCode); - } - - - @Test - public void testWrapResponse_2() throws Exception { - RestObject<String> rs = null; - PolicyResponseWrapper result; - - // test 1 - rs = null; - result = PolicyUtil.wrapResponse(rs); - Assert.assertNotNull(result); - } - - @Test - public void testConvertPojoToString() throws Exception { - T t = null; - String result; - - // test 1 - t = null; - result = PolicyUtil.convertPojoToString(t); - Assert.assertEquals("", result); - } - - @Test - public void testMain() throws Exception { - String[] args = new String[] { "" }; - - // default test - PolicyUtil.main(args); - } -}
\ No newline at end of file |