Class GragleProjectLayoutTest

java.lang.Object
org.machanism.machai.project.layout.GragleProjectLayoutTest

class GragleProjectLayoutTest extends Object
  • Field Details

    • tempDir

      @TempDir Path tempDir
  • Constructor Details

    • GragleProjectLayoutTest

      GragleProjectLayoutTest()
  • Method Details

    • isGradleProject_shouldReturnTrueWhenBuildGradleExists

      @Test void isGradleProject_shouldReturnTrueWhenBuildGradleExists() throws IOException
      Throws:
      IOException
    • isGradleProject_shouldReturnFalseWhenBuildGradleMissing

      @Test void isGradleProject_shouldReturnFalseWhenBuildGradleMissing()
    • getSources_getTests_getDocuments_shouldReturnConventionalRoots

      @Test void getSources_getTests_getDocuments_shouldReturnConventionalRoots()
    • getModules_shouldReturnEmptyListWhenProjectModelCannotBeLoaded

      @Test void getModules_shouldReturnEmptyListWhenProjectModelCannotBeLoaded()
    • getProjectId_getProjectName_shouldReturnEmptyStringWhenProjectModelCannotBeLoaded

      @Test void getProjectId_getProjectName_shouldReturnEmptyStringWhenProjectModelCannotBeLoaded()
    • projectDir_shouldReturnGragleProjectLayoutForFluentChaining

      @Test void projectDir_shouldReturnGragleProjectLayoutForFluentChaining()
    • getModules_shouldReturnChildProjectNamesWhenProjectIsProvided

      @Test void getModules_shouldReturnChildProjectNamesWhenProjectIsProvided()