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.xmldoes not define the specified bom.MavenBuildAssert.doesNotHaveDependency(String groupId, String artifactId) Assert thatpom.xmldoes not define a dependency with the specifiedgroupIdandartifactId.MavenBuildAssert.doesNotHaveNode(String path) Assertpom.xmldoes not define a node with the specifiedpath.MavenBuildAssert.doesNotHaveProfile(String id) Assertpom.xmldoes not define a profile with the specifiedid.MavenBuildAssert.doesNotHaveProperty(String name) Assertpom.xmldoes not define the specified property.MavenBuildAssert.hasArtifactId(String artifactId) Assertpom.xmluses the specifiedartifactId.Assertpom.xmldefines the specified bom.MavenBuildAssert.hasBomsSize(int size) Assertpom.xmldefines the specified number of boms.MavenBuildAssert.hasDependenciesSize(int size) Assertpom.xmldefines the specified number of dependencies.MavenBuildAssert.hasDependency(Dependency dependency) Assertpom.xmldefines the specified dependency.MavenBuildAssert.hasDependency(String groupId, String artifactId) Assertpom.xmldefines the specified dependency with no version and compile scope.MavenBuildAssert.hasDependency(String groupId, String artifactId, String version) Assertpom.xmldefines the specified dependency with compile scope.MavenBuildAssert.hasDependency(String groupId, String artifactId, String version, String scope) Assertpom.xmldefines the specified dependency with the specified scope.MavenBuildAssert.hasDescription(String description) Assertpom.xmluses the specifieddescription.MavenBuildAssert.hasGroupId(String groupId) Assertpom.xmluses the specifiedgroupId.Assertpom.xmluses the specifiedname.MavenBuildAssert.hasPackaging(String packaging) Assertpom.xmluses the specifiedpackaging.Assertpom.xmldefines the specified parent.MavenBuildAssert.hasProfile(String id) Assertpom.xmldefines a profile with the specifiedid.MavenBuildAssert.hasProperty(String name, String value) Assertpom.xmldefines the specified property.MavenBuildAssert.hasRepositoriesSize(int size) Assertpom.xmldefines the specified number of repositories.MavenBuildAssert.hasRepository(String id, String name, String url, Boolean snapshotsEnabled) Assertpom.xmldefines the specified repository.Assertpom.xmlcontains the specified value at the specified path.MavenBuildAssert.hasVersion(String version) Assertpom.xmluses 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.xmland return anassertfor thepom.xmlfile of this module, to allow chaining of maven-specific assertions from this call.