Class ProjectLayoutTest
java.lang.Object
org.machanism.machai.project.layout.ProjectLayoutTest
-
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
-
ProjectLayoutTest
ProjectLayoutTest()
-
-
Method Details
-
projectDir_shouldSetAndReturnConfiguredProjectDir
@Test void projectDir_shouldSetAndReturnConfiguredProjectDir() -
getModules_defaultImplementationShouldReturnEmptyList
@Test void getModules_defaultImplementationShouldReturnEmptyList() -
getRelativePath_instanceMethodShouldStripBasePathAndLeadingSlash
- Throws:
IOException
-
getRelativePath_staticShouldReturnDotWhenDirEqualsFile
@Test void getRelativePath_staticShouldReturnDotWhenDirEqualsFile() -
getRelativePath_staticShouldAddSingleDotPrefixWhenRequested
- Throws:
IOException
-
getRelativePath_staticShouldReturnNullWhenFileNotInsideDir
@Test void getRelativePath_staticShouldReturnNullWhenFileNotInsideDir() -
findFiles_shouldReturnEmptyListWhenNullOrNotDirectory
@Test void findFiles_shouldReturnEmptyListWhenNullOrNotDirectory() -
findDirectories_shouldReturnEmptyListWhenNullOrNotDirectory
@Test void findDirectories_shouldReturnEmptyListWhenNullOrNotDirectory() -
findFiles_shouldRecurseAndExcludeKnownToolingDirectories
- Throws:
IOException
-
findDirectories_shouldRecurseAndExcludeKnownToolingDirectories
- Throws:
IOException
-
getProjectLayoutType_shouldRemoveProjectLayoutSuffix
@Test void getProjectLayoutType_shouldRemoveProjectLayoutSuffix() -
getExcludeDirs_shouldReturnCloneToPreventExternalMutation
@Test void getExcludeDirs_shouldReturnCloneToPreventExternalMutation()
-