| | |
| | |
|
| | | retrievedRepository = findRepository(model.name);
|
| | | assertTrue("Failed to delete " + model.name, retrievedRepository == null);
|
| | |
|
| | | for (UserModel u : RpcUtils.getUsers(url, account, password.toCharArray())) {
|
| | | if (u.username.equals(testMember)) {
|
| | | RpcUtils.deleteUser(u, url, account, password.toCharArray());
|
| | | break;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | private RepositoryModel findRepository(String name) throws IOException {
|
| | |
| | | account, password.toCharArray());
|
| | | assertTrue("No federation result registrations were retrieved!", registrations.size() > 0);
|
| | | }
|
| | | |
| | |
|
| | | public void testFederationProposals() throws Exception {
|
| | | List<FederationProposal> proposals = RpcUtils.getFederationProposals(url,
|
| | | account, password.toCharArray());
|
| | | List<FederationProposal> proposals = RpcUtils.getFederationProposals(url, account,
|
| | | password.toCharArray());
|
| | | assertTrue("No federation proposals were retrieved!", proposals.size() > 0);
|
| | | }
|
| | | |
| | |
|
| | | public void testFederationSets() throws Exception {
|
| | | List<FederationSet> sets = RpcUtils.getFederationSets(url,
|
| | | account, password.toCharArray());
|
| | | List<FederationSet> sets = RpcUtils.getFederationSets(url, account, password.toCharArray());
|
| | | assertTrue("No federation sets were retrieved!", sets.size() > 0);
|
| | | }
|
| | | }
|