Package com.heroku.api.request.stack

Examples of com.heroku.api.request.stack.StackList


     * Gets a list of stacks available.
     * @param appName See {@link #listApps} for a list of apps that can be used.
     * @return List of stacks available.
     */
    public List<StackInfo> listAppStacks(String appName) {
        return connection.execute(new StackList(appName), apiKey);
    }
View Full Code Here


        assertEquals(rollback, lastRelease.getName());
    }
   
    @Test(dataProvider = "app", retryAnalyzer = InternalServerErrorAnalyzer.class)
    public void testStackList(App app) {
        List<StackInfo> stacks = connection.execute(new StackList(app.getName()), apiKey);
        for (StackInfo s : stacks) {
            if (app.getStack().equals(s.getStack())) {
                assertTrue(true);
                return;
            }
View Full Code Here

TOP

Related Classes of com.heroku.api.request.stack.StackList

Copyright © 2018 www.massapicom. 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.