usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [1/4] incubator-usergrid git commit: fix compilation issues
Date Sun, 04 Jan 2015 01:19:49 GMT
Repository: incubator-usergrid
Updated Branches:
  refs/heads/USERGRID-291-User-Tests f59aad0da -> 6c569d82b


fix compilation issues


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/07562c0c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/07562c0c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/07562c0c

Branch: refs/heads/USERGRID-291-User-Tests
Commit: 07562c0c7939197da6d3749e7fb2de75c912fb99
Parents: f59aad0
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Mon Dec 29 07:58:14 2014 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Mon Dec 29 07:58:14 2014 -0700

----------------------------------------------------------------------
 .../rest/applications/collection/groups/GroupResourceIT.java     | 2 +-
 .../test/resource2point0/endpoints/ApplicationsResource.java     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/07562c0c/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
index 14f1863..e7acf4b 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
@@ -429,7 +429,7 @@ public class GroupResourceIT extends AbstractRestIT {
         //7. get all the users in the groups
         this.refreshIndex();
         Collection usersInGroup = this.app().collection("groups").uniqueID(groupName).connection("users").get();
-        assertEquals(usersInGroup.response.getEntityCount(), 2);
+        assertEquals(usersInGroup.getResponse().getEntityCount(), 2);
 
 
         //8. post an activity to the group

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/07562c0c/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/ApplicationsResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/ApplicationsResource.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/ApplicationsResource.java
index 07ac809..09c0f72 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/ApplicationsResource.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/endpoints/ApplicationsResource.java
@@ -38,11 +38,11 @@ public class ApplicationsResource extends CollectionEndpoint {
         super( name, context, parent );
     }
 
-
-
     public CollectionEndpoint collection(String name) {
         return new CollectionEndpoint(name,context,this);
     }
 
+    public TokenResource token(){return new TokenResource(context,this);}
+
 
 }


Mime
View raw message