aboutsummaryrefslogtreecommitdiffstats
path: root/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-03-23 00:11:53 -0400
committerdglFromAtt <dgl@research.att.com>2018-03-23 00:12:03 -0400
commit5cb24dbf4169e7638b8af649c01183e279cc4cf5 (patch)
tree49f1ab47c23c4a4d13050be0f6aa985e49c58710 /dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java
parent8955d49382c04907a82995018b896281d0f5130f (diff)
Use new ONAP artifact w/o flexslider dependency
This has additional changes for using ONAP artifact in dbca-common subdir. Change-Id: I1b0b50dc8d884500d2e0ba1ba8d21373834f9486 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-341
Diffstat (limited to 'dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java')
-rw-r--r--dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java16
1 files changed, 10 insertions, 6 deletions
diff --git a/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java b/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java
index 406a2e2..346ffa9 100644
--- a/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java
+++ b/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java
@@ -5,11 +5,12 @@ import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.onap.fusion.core.MockApplicationContextTestSuite;
-import org.openecomp.portalsdk.core.domain.Profile;
-import org.openecomp.portalsdk.core.domain.User;
-import org.openecomp.portalsdk.core.service.ProfileService;
-import org.openecomp.portalsdk.core.service.UserProfileService;
+import org.onap.portalsdk.core.domain.Profile;
+import org.onap.portalsdk.core.domain.User;
+import org.onap.portalsdk.core.service.ProfileService;
+import org.onap.portalsdk.core.service.UserProfileService;
import org.springframework.beans.factory.annotation.Autowired;
+import java.io.IOException;
public class ProfileServiceTest extends MockApplicationContextTestSuite {
@@ -23,8 +24,11 @@ public class ProfileServiceTest extends MockApplicationContextTestSuite {
@Test
public void testFindAll() {
- List<Profile> profiles = service.findAll();
- Assert.assertTrue(profiles.size() > 0);
+ try {
+ List<Profile> profiles = service.findAll();
+ Assert.assertTrue(profiles.size() > 0);
+ } catch ( IOException e ) {
+ }
}
@Test