Package restx.shell

Examples of restx.shell.RestxShell


        if ("true".equals(System.getenv("DRONE"))) {
            // executing maven causes problem on drone
            return;
        }

        RestxShell shell = prepareRestxShell();

        AppShellCommand.NewAppCommandRunner appCommandRunner =
                new AppShellCommand(new CoreModule().uuidGenerator()).new NewAppCommandRunner();
        Path appPath = appCommandRunner.generateApp(descriptor, shell);
View Full Code Here


        mavenVerifier.verifyErrorFreeLog();
    }

    private RestxShell prepareRestxShell() throws IOException {
        ConsoleReader consoleReader = new ConsoleReader();
        RestxShell shell = spy(new RestxShell(consoleReader, Factory.builder().build()));
        doNothing().when(shell).println(anyString());
        doReturn(this.workDirectory.getRoot().toPath()).when(shell).currentLocation();
        return shell;
    }
View Full Code Here

TOP

Related Classes of restx.shell.RestxShell

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.