Class SetupVerifier

java.lang.Object
io.quarkus.maven.it.assertions.SetupVerifier

public class SetupVerifier extends Object
  • Constructor Details

    • SetupVerifier

      public SetupVerifier()
  • Method Details

    • assertThatJarExists

      public static void assertThatJarExists(File archive) throws Exception
      Throws:
      Exception
    • assertThatJarContainsFile

      public static void assertThatJarContainsFile(File archive, String file) throws Exception
      Throws:
      Exception
    • assertThatJarDoesNotContainFile

      public static void assertThatJarDoesNotContainFile(File archive, String file) throws Exception
      Throws:
      Exception
    • assertThatJarContainsFileWithContent

      public static void assertThatJarContainsFileWithContent(File archive, String path, String... lines) throws Exception
      Throws:
      Exception
    • verifySetup

      public static void verifySetup(File pomFile) throws Exception
      Throws:
      Exception
    • hasPlugin

      public static Optional<org.apache.maven.model.Plugin> hasPlugin(org.apache.maven.project.MavenProject project, String pluginKey)
    • verifySetupWithVersion

      public static void verifySetupWithVersion(File pomFile) throws Exception
      Throws:
      Exception