Class AbstractGWGoalTest

java.lang.Object
org.machanism.machai.gw.maven.AbstractGWGoalTest

public class AbstractGWGoalTest extends Object
  • Constructor Details

    • AbstractGWGoalTest

      public AbstractGWGoalTest()
  • Method Details

    • getConfiguration_whenSettingsNull_throwsMojoExecutionException

      @Test public void getConfiguration_whenSettingsNull_throwsMojoExecutionException() throws Exception
      Throws:
      Exception
    • getConfiguration_whenServerIdProvidedButServerMissing_throwsMojoExecutionException

      @Test public void getConfiguration_whenServerIdProvidedButServerMissing_throwsMojoExecutionException() throws Exception
      Throws:
      Exception
    • getConfiguration_whenServerIdProvided_setsNonBlankUsernameAndPassword

      @Test public void getConfiguration_whenServerIdProvided_setsNonBlankUsernameAndPassword() throws Exception
      Throws:
      Exception
    • getConfiguration_whenServerContainsXmlConfiguration_addsChildProperties

      @Test public void getConfiguration_whenServerContainsXmlConfiguration_addsChildProperties() throws Exception
      Throws:
      Exception
    • scanDocuments_whenInstructionsAndProjectPresent_configuresProcessorAndScans

      @Test public void scanDocuments_whenInstructionsAndProjectPresent_configuresProcessorAndScans() throws Exception
      Throws:
      Exception
    • scanDocuments_whenProjectBasedirMissing_usesUserDirAndExistingPaths

      @Test public void scanDocuments_whenProjectBasedirMissing_usesUserDirAndExistingPaths() throws Exception
      Throws:
      Exception
    • scanDocuments_whenProcessorFails_wrapsExceptionInMojoExecutionException

      @Test public void scanDocuments_whenProcessorFails_wrapsExceptionInMojoExecutionException() throws Exception
      Throws:
      Exception
    • scanDocuments_whenProjectNotPresent_doesNotRegisterClassTool

      @Test public void scanDocuments_whenProjectNotPresent_doesNotRegisterClassTool() throws Exception
      Throws:
      Exception