Uses of Class
io.spring.initializr.generator.test.buildsystem.maven.MavenBuildAssert
Packages that use MavenBuildAssert
Package
Description
Support for testing a Maven build.
Support for testing project generation.
-
Uses of MavenBuildAssert in io.spring.initializr.generator.test.buildsystem.maven
Methods in io.spring.initializr.generator.test.buildsystem.maven that return MavenBuildAssertModifier and TypeMethodDescriptionMavenBuildAssert.doesNotHaveBom
(String groupId, String artifactId) Assert thatpom.xml
does not define the specified bom.MavenBuildAssert.doesNotHaveDependency
(String groupId, String artifactId) Assert thatpom.xml
does not define a dependency with the specifiedgroupId
andartifactId
.MavenBuildAssert.doesNotHaveNode
(String path) Assertpom.xml
does not define a node with the specifiedpath
.MavenBuildAssert.doesNotHaveProfile
(String id) Assertpom.xml
does not define a profile with the specifiedid
.MavenBuildAssert.doesNotHaveProperty
(String name) Assertpom.xml
does not define the specified property.MavenBuildAssert.hasArtifactId
(String artifactId) Assertpom.xml
uses the specifiedartifactId
.Assertpom.xml
defines the specified bom.MavenBuildAssert.hasBomsSize
(int size) Assertpom.xml
defines the specified number of boms.MavenBuildAssert.hasDependenciesSize
(int size) Assertpom.xml
defines the specified number of dependencies.MavenBuildAssert.hasDependency
(Dependency dependency) Assertpom.xml
defines the specified dependency.MavenBuildAssert.hasDependency
(String groupId, String artifactId) Assertpom.xml
defines the specified dependency with no version and compile scope.MavenBuildAssert.hasDependency
(String groupId, String artifactId, String version) Assertpom.xml
defines the specified dependency with compile scope.MavenBuildAssert.hasDependency
(String groupId, String artifactId, String version, String scope) Assertpom.xml
defines the specified dependency with the specified scope.MavenBuildAssert.hasDescription
(String description) Assertpom.xml
uses the specifieddescription
.MavenBuildAssert.hasGroupId
(String groupId) Assertpom.xml
uses the specifiedgroupId
.Assertpom.xml
uses the specifiedname
.MavenBuildAssert.hasPackaging
(String packaging) Assertpom.xml
uses the specifiedpackaging
.Assertpom.xml
defines the specified parent.MavenBuildAssert.hasProfile
(String id) Assertpom.xml
defines a profile with the specifiedid
.MavenBuildAssert.hasProperty
(String name, String value) Assertpom.xml
defines the specified property.MavenBuildAssert.hasRepositoriesSize
(int size) Assertpom.xml
defines the specified number of repositories.MavenBuildAssert.hasRepository
(String id, String name, String url, Boolean snapshotsEnabled) Assertpom.xml
defines the specified repository.Assertpom.xml
contains the specified value at the specified path.MavenBuildAssert.hasVersion
(String version) Assertpom.xml
uses the specifiedversion
. -
Uses of MavenBuildAssert in io.spring.initializr.generator.test.project
Methods in io.spring.initializr.generator.test.project that return MavenBuildAssertModifier and TypeMethodDescriptionAbstractModuleAssert.mavenBuild()
Assert this module has apom.xml
and return anassert
for thepom.xml
file of this module, to allow chaining of maven-specific assertions from this call.