Examples of CollabList


Examples of com.heroku.api.request.sharing.CollabList

     * Get a list of collaborators that are allowed access to an app.
     * @param appName App name. See {@link #listApps} for a list of apps that can be used.
     * @return
     */
    public List<Collaborator> listCollaborators(String appName) {
        return connection.execute(new CollabList(appName), apiKey);
    }
View Full Code Here

Examples of com.heroku.api.request.sharing.CollabList

        SharingRemove cmd = new SharingRemove(app.getName(), sharingUser.getUsername());
        Unit response = connection.execute(cmd, apiKey);
        assertNotNull(response);

        CollabList collabList = new CollabList(app.getName());
        assertCollaboratorNotPresent(sharingUser.getUsername(), collabList);
    }
View Full Code Here

Examples of com.heroku.api.request.sharing.CollabList

        assertEquals(response.getStatus(), "Installed");
    }

    @Test(dataProvider = "newApp", retryAnalyzer = InternalServerErrorAnalyzer.class)
    public void testCollaboratorList(App app) {
        Request<List<Collaborator>> req = new CollabList(app.getName());
        List<Collaborator> xmlArrayResponse = connection.execute(req, apiKey);
        assertEquals(xmlArrayResponse.size(), 1);
        assertNotNull(xmlArrayResponse.get(0).getEmail());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.