public void testDeployAll()

in app-gradle-plugin/src/integTest/java/com/google/cloud/tools/gradle/appengine/AppEngineAppYamlPluginIntegrationTest.java [73:99]


  public void testDeployAll()
      throws CloudSdkNotFoundException, IOException, ProcessHandlerException,
          UnsupportedOsException {

    BuildResult buildResult =
        GradleRunner.create()
            .withProjectDir(testProjectDir.getRoot())
            .withPluginClasspath()
            .withArguments("appengineDeployAll")
            .build();

    MatcherAssert.assertThat(
        buildResult.getOutput(), CoreMatchers.containsString("Deployed service [appyaml-project]"));
    MatcherAssert.assertThat(
        buildResult.getOutput(), CoreMatchers.containsString("Custom routings have been updated."));
    MatcherAssert.assertThat(
        buildResult.getOutput(), CoreMatchers.containsString("DoS protection has been updated."));
    MatcherAssert.assertThat(
        buildResult.getOutput(),
        CoreMatchers.containsString("Indexes are being rebuilt. This may take a moment."));
    MatcherAssert.assertThat(
        buildResult.getOutput(), CoreMatchers.containsString("Cron jobs have been updated."));
    MatcherAssert.assertThat(
        buildResult.getOutput(), CoreMatchers.containsString("Task queues have been updated."));

    deleteProject();
  }