airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [49/50] [abbrv] airavata git commit: Fix compile error in SharingRegistryServerHandlerTest
Date Wed, 05 Apr 2017 19:11:13 GMT
Fix compile error in SharingRegistryServerHandlerTest


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/65c71cf0
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/65c71cf0
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/65c71cf0

Branch: refs/heads/develop
Commit: 65c71cf04eac7d97b87b7f6ecc2c0d6374d83f82
Parents: f682cac
Author: Gourav Shenoy <shenoy.200@gmail.com>
Authored: Wed Apr 5 14:08:42 2017 -0400
Committer: Gourav Shenoy <shenoy.200@gmail.com>
Committed: Wed Apr 5 14:08:42 2017 -0400

----------------------------------------------------------------------
 .../sharing/registry/SharingRegistryServerHandlerTest.java     | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/65c71cf0/modules/sharing-registry/sharing-registry-server/src/test/java/org/apache/airavata/sharing/registry/SharingRegistryServerHandlerTest.java
----------------------------------------------------------------------
diff --git a/modules/sharing-registry/sharing-registry-server/src/test/java/org/apache/airavata/sharing/registry/SharingRegistryServerHandlerTest.java
b/modules/sharing-registry/sharing-registry-server/src/test/java/org/apache/airavata/sharing/registry/SharingRegistryServerHandlerTest.java
index 2ae29ac..627d0e1 100644
--- a/modules/sharing-registry/sharing-registry-server/src/test/java/org/apache/airavata/sharing/registry/SharingRegistryServerHandlerTest.java
+++ b/modules/sharing-registry/sharing-registry-server/src/test/java/org/apache/airavata/sharing/registry/SharingRegistryServerHandlerTest.java
@@ -238,13 +238,7 @@ public class SharingRegistryServerHandlerTest {
         String entityId3 = sharingRegistryServerHandler.createEntity(entity3);
         Assert.assertNotNull(entityId3);
 
-        Assert.assertTrue(!sharingRegistryServerHandler.getEntity(domainId, entityId1).isShared());
         sharingRegistryServerHandler.shareEntityWithUsers(domainId, entityId1, Arrays.asList(userId2),
permissionTypeId1, true);
-        Assert.assertTrue(sharingRegistryServerHandler.getEntity(domainId, entityId1).isShared());
-        sharingRegistryServerHandler.revokeEntitySharingFromUsers(domainId, entityId1, Arrays.asList(userId2),
permissionTypeId1);
-        Assert.assertTrue(!sharingRegistryServerHandler.getEntity(domainId, entityId1).isShared());
-        sharingRegistryServerHandler.shareEntityWithUsers(domainId, entityId1, Arrays.asList(userId2),
permissionTypeId1, true);
-
         sharingRegistryServerHandler.shareEntityWithGroups(domainId, entityId3, Arrays.asList(groupId2),
permissionTypeId1, true);
 
         Entity entity4 = new Entity();


Mime
View raw message