Class ProjectLayoutManagerTest

java.lang.Object
org.machanism.machai.project.ProjectLayoutManagerTest

class ProjectLayoutManagerTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • ProjectLayoutManagerTest

      ProjectLayoutManagerTest()
  • Method Details

    • constructor_shouldThrowIllegalStateException

      @Test void constructor_shouldThrowIllegalStateException() throws Exception
      Throws:
      Exception
    • detectProjectLayout_shouldThrowFileNotFoundExceptionWhenDirDoesNotExist

      @Test void detectProjectLayout_shouldThrowFileNotFoundExceptionWhenDirDoesNotExist()
    • detectProjectLayout_shouldReturnMavenLayoutWhenPomXmlPresent

      @Test void detectProjectLayout_shouldReturnMavenLayoutWhenPomXmlPresent() throws Exception
      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

      @Test void detectProjectLayout_shouldPreferMavenOverGradleWhenBothPresent() throws IOException
      Throws:
      IOException