summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test
diff options
context:
space:
mode:
authorTal Gitelman <tal.gitelman@att.com>2018-11-29 11:57:23 +0200
committerTal Gitelman <tal.gitelman@att.com>2018-11-29 15:52:43 +0200
commitd4050ef7a4a6961509a82c9c4511e2aceb6d5394 (patch)
tree2004327aa5060484118c00077cb6091522b01127 /catalog-be/src/test
parentd8bdab062d106a854ae7719433baeaa3954c88b6 (diff)
update sdc portal integration
Issue-ID: SDC-1749 Change-Id: Ic8162af62583dd5d1d81662ef555d2267514f107 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
Diffstat (limited to 'catalog-be/src/test')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java47
1 files changed, 1 insertions, 46 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java
index 552d2dd4a6..dd76fb29c7 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java
@@ -7,17 +7,12 @@ import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.onap.portalsdk.core.onboarding.exception.PortalAPIException;
-import org.onap.portalsdk.core.restful.domain.EcompRole;
import org.onap.portalsdk.core.restful.domain.EcompUser;
import org.openecomp.sdc.be.user.UserBusinessLogic;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.HashSet;
import java.util.Map;
-import java.util.Set;
public class PortalRestAPICentralServiceImplTest {
@Mock
@@ -108,44 +103,4 @@ public class PortalRestAPICentralServiceImplTest {
//TODO: Test goes here...
}
-
- /**
- *
- * Method: getUserBusinessLogic()
- *
- */
- @Test
- public void testGetUserBusinessLogic() throws Exception {
- //TODO: Test goes here...
-
- try {
- Method method = testSubject.getClass().getMethod("getUserBusinessLogic");
- method.setAccessible(true);
- method.invoke(testSubject);
- } catch(NoSuchMethodException e) {
- } catch(IllegalAccessException e) {
- } catch(InvocationTargetException e) {
- }
- }
-
- /**
- *
- * Method: checkIfSingleRoleProvided(EcompUser user)
- *
- */
- @Test
- public void testCheckIfSingleRoleProvided() throws Exception {
- //TODO: Test goes here...
- /*
- try {
- Method method = PortalRestAPICentralServiceImpl.getClass().getMethod("checkIfSingleRoleProvided", EcompUser.class);
- method.setAccessible(true);
- method.invoke(<Object>, <Parameters>);
- } catch(NoSuchMethodException e) {
- } catch(IllegalAccessException e) {
- } catch(InvocationTargetException e) {
- }
- */
- }
-
-}
+}