Package io.quarkus.maven.it.assertions
Class SetupVerifier
- java.lang.Object
-
- io.quarkus.maven.it.assertions.SetupVerifier
-
public class SetupVerifier extends Object
-
-
Constructor Summary
Constructors Constructor Description SetupVerifier()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertThatJarContainsFile(File archive, String file)
static void
assertThatJarContainsFileWithContent(File archive, String path, String... lines)
static void
assertThatJarDoesNotContainFile(File archive, String file)
static void
assertThatJarExists(File archive)
static Optional<org.apache.maven.model.Plugin>
hasPlugin(org.apache.maven.project.MavenProject project, String pluginKey)
static void
verifySetup(File pomFile)
static void
verifySetupWithVersion(File pomFile)
-
-
-
Method Detail
-
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
-
hasPlugin
public static Optional<org.apache.maven.model.Plugin> hasPlugin(org.apache.maven.project.MavenProject project, String pluginKey)
-
-