summaryrefslogtreecommitdiffstats
path: root/juju
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2018-03-26 21:03:36 +0800
committerluxin <luxin7@huawei.com>2018-03-26 21:07:46 +0800
commit9e551eb4494be7848bdb86a939e04ae994c70e34 (patch)
treeed5cc8ab112acd6772ace7202a6b85be2c2a0f7c /juju
parentf3d358d31638a18f17ef05a5f95a95d624e0bda4 (diff)
Delete UnsupportedOperationException in UT
Change-Id: I742fb09bc0ba08864e18ce9241b4608823929e9f Issue-ID: VFC-833 Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'juju')
-rw-r--r--juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java
index 9608e78..893a20e 100644
--- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java
+++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/servicetoken/module/AccessTokensTest.java
@@ -19,10 +19,10 @@ package org.onap.vfc.nfvo.vnfm.gvnfm.jujuvnfmadapter.common.servicetoken.module;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import net.sf.json.JSONObject;
import org.junit.Test;
-import org.onap.vfc.nfvo.vnfm.gvnfm.jujuvnfmadapter.common.servicetoken.module.AccessTokens;
+
+import net.sf.json.JSONObject;
public class AccessTokensTest {
@@ -43,18 +43,18 @@ public class AccessTokensTest {
@Test
public void testAccessTokens2() {
- Integer vimExpire = (Integer)123;
- Long createTime = (Long)1L;
+ Integer vimExpire = 123;
+ Long createTime = 1L;
AccessTokens accessTokens = new AccessTokens("accessToken", vimExpire, createTime);
assertEquals("accessToken", accessTokens.getAccessToken());
assertEquals(123, accessTokens.getExpire());
assertEquals(1L, accessTokens.getCreateTime());
}
- @Test(expected = UnsupportedOperationException.class)
- public void testVimAccessTokens3() {
- AccessTokens accessTokens = new AccessTokens();
- }
+ // @Test(expected = UnsupportedOperationException.class)
+ // public void testVimAccessTokens3() {
+ // AccessTokens accessTokens = new AccessTokens();
+ // }
@Test
public void testSetVimAccessToken() {