Class MavenProjectLayoutTest
java.lang.Object
org.machanism.machai.project.layout.MavenProjectLayoutTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
tempDir
-
-
Constructor Details
-
MavenProjectLayoutTest
MavenProjectLayoutTest()
-
-
Method Details
-
isMavenProject_shouldReturnTrueWhenPomExists
- Throws:
IOException
-
isMavenProject_shouldReturnFalseWhenPomMissing
@Test void isMavenProject_shouldReturnFalseWhenPomMissing() -
getModules_shouldReturnModulesWhenPackagingIsPom
@Test void getModules_shouldReturnModulesWhenPackagingIsPom() -
getModules_shouldReturnEmptyListWhenNotPomPackaging
@Test void getModules_shouldReturnEmptyListWhenNotPomPackaging() -
getSources_shouldApplyDefaultsWhenBuildDirectoriesMissingAndReturnRelativePaths
@Test void getSources_shouldApplyDefaultsWhenBuildDirectoriesMissingAndReturnRelativePaths() -
getSources_shouldIncludeResourcesWhenProvided
@Test void getSources_shouldIncludeResourcesWhenProvided() -
getTests_shouldIncludeTestSourceAndTestResourcesWhenProvided
@Test void getTests_shouldIncludeTestSourceAndTestResourcesWhenProvided() -
getDocuments_shouldAlwaysContainSrcSite
@Test void getDocuments_shouldAlwaysContainSrcSite() -
getProjectId_shouldReturnArtifactId
@Test void getProjectId_shouldReturnArtifactId() -
getProjectName_shouldReturnName
@Test void getProjectName_shouldReturnName() -
getParentId_shouldReturnNullWhenNoParent
@Test void getParentId_shouldReturnNullWhenNoParent() -
getParentId_shouldReturnParentArtifactIdWhenPresent
@Test void getParentId_shouldReturnParentArtifactIdWhenPresent()
-