added RepositorySimplePermissionITCase

This commit is contained in:
Sebastian Sdorra
2011-02-21 13:54:41 +01:00
parent 4591df1163
commit 16085e3c5d
3 changed files with 283 additions and 4 deletions

View File

@@ -254,9 +254,9 @@ public abstract class AbstractPermissionITCaseBase<T>
@Test
public void get()
{
WebResource wr = createResource(client, getBasePath());
WebResource wr = createResource(client, getGetPath());
checkResponse(wr.get(ClientResponse.class));
checkGetResponse(wr.get(ClientResponse.class));
}
/**
@@ -268,11 +268,33 @@ public abstract class AbstractPermissionITCaseBase<T>
{
WebResource wr = createResource(client, getBasePath());
checkResponse(wr.get(ClientResponse.class));
checkGetAllResponse(wr.get(ClientResponse.class));
}
//~--- methods --------------------------------------------------------------
/**
* Method description
*
*
* @param response
*/
protected void checkGetAllResponse(ClientResponse response)
{
checkResponse(response);
}
/**
* Method description
*
*
* @param response
*/
protected void checkGetResponse(ClientResponse response)
{
checkResponse(response);
}
/**
* Method description
*
@@ -326,5 +348,5 @@ public abstract class AbstractPermissionITCaseBase<T>
protected Client client;
/** Field description */
private Credentials credentials;
protected Credentials credentials;
}