Package org.machanism.machai.project
Class ProjectLayoutManagerTest
java.lang.Object
org.machanism.machai.project.ProjectLayoutManagerTest
-
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
-
Field Details
-
tempDir
-
-
Constructor Details
-
ProjectLayoutManagerTest
ProjectLayoutManagerTest()
-
-
Method Details
-
constructor_shouldThrowIllegalStateException
- Throws:
Exception
-
detectProjectLayout_shouldThrowFileNotFoundExceptionWhenDirDoesNotExist
@Test void detectProjectLayout_shouldThrowFileNotFoundExceptionWhenDirDoesNotExist() -
detectProjectLayout_shouldReturnMavenLayoutWhenPomXmlPresent
- Throws:
Exception
-
detectProjectLayout_shouldReturnGradleLayoutWhenBuildGradlePresentAndNoPom
@Test void detectProjectLayout_shouldReturnGradleLayoutWhenBuildGradlePresentAndNoPom() throws Exception- Throws:
Exception
-
detectProjectLayout_shouldReturnJScriptLayoutWhenPackageJsonPresentAndNoPomOrGradle
@Test void detectProjectLayout_shouldReturnJScriptLayoutWhenPackageJsonPresentAndNoPomOrGradle() throws Exception- Throws:
Exception
-
detectProjectLayout_shouldReturnPythonLayoutWhenPyprojectTomlPresentAndPublic
@Test void detectProjectLayout_shouldReturnPythonLayoutWhenPyprojectTomlPresentAndPublic() throws Exception- Throws:
Exception
-
detectProjectLayout_shouldReturnDefaultLayoutWhenDirExistsAndNoMarkers
@Test void detectProjectLayout_shouldReturnDefaultLayoutWhenDirExistsAndNoMarkers() throws Exception- Throws:
Exception
-
detectProjectLayout_shouldPreferMavenOverGradleWhenBothPresent
- Throws:
IOException
-