Package org.apache.maven.shared.invoker
Class MavenCommandLineBuilderTest
- java.lang.Object
-
- org.apache.maven.shared.invoker.MavenCommandLineBuilderTest
-
public class MavenCommandLineBuilderTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TemporaryFolder
temporaryFolder
-
Constructor Summary
Constructors Constructor Description MavenCommandLineBuilderTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws IOException
- Throws:
IOException
-
tearDown
public void tearDown()
-
testShouldFailToSetLocalRepoLocationGloballyWhenItIsAFile
public void testShouldFailToSetLocalRepoLocationGloballyWhenItIsAFile()
-
testShouldFailToSetLocalRepoLocationFromRequestWhenItIsAFile
public void testShouldFailToSetLocalRepoLocationFromRequestWhenItIsAFile()
-
testShouldSetLocalRepoLocationGlobally
public void testShouldSetLocalRepoLocationGlobally() throws IOException
- Throws:
IOException
-
testShouldSetLocalRepoLocationFromRequest
public void testShouldSetLocalRepoLocationFromRequest() throws Exception
- Throws:
Exception
-
testRequestProvidedLocalRepoLocationShouldOverrideGlobal
public void testRequestProvidedLocalRepoLocationShouldOverrideGlobal() throws Exception
- Throws:
Exception
-
testShouldSetWorkingDirectoryGlobally
public void testShouldSetWorkingDirectoryGlobally() throws Exception
- Throws:
Exception
-
testShouldSetWorkingDirectoryFromRequest
public void testShouldSetWorkingDirectoryFromRequest() throws Exception
- Throws:
Exception
-
testRequestProvidedWorkingDirectoryShouldOverrideGlobal
public void testRequestProvidedWorkingDirectoryShouldOverrideGlobal() throws Exception
- Throws:
Exception
-
testShouldUseSystemOutLoggerWhenNoneSpecified
public void testShouldUseSystemOutLoggerWhenNoneSpecified() throws Exception
- Throws:
Exception
-
testShouldFailIfLoggerSetToNull
public void testShouldFailIfLoggerSetToNull() throws Exception
- Throws:
Exception
-
testShouldFindDummyMavenExecutable
public void testShouldFindDummyMavenExecutable() throws Exception
- Throws:
Exception
-
testShouldSetBatchModeFlagFromRequest
public void testShouldSetBatchModeFlagFromRequest()
-
testShouldSetOfflineFlagFromRequest
public void testShouldSetOfflineFlagFromRequest()
-
testShouldSetUpdateSnapshotsFlagFromRequest
public void testShouldSetUpdateSnapshotsFlagFromRequest()
-
testShouldSetDebugFlagFromRequest
public void testShouldSetDebugFlagFromRequest()
-
testShouldSetErrorFlagFromRequest
public void testShouldSetErrorFlagFromRequest()
-
testShouldSetQuietFlagFromRequest
public void testShouldSetQuietFlagFromRequest()
-
testDebugOptionShouldMaskShowErrorsOption
public void testDebugOptionShouldMaskShowErrorsOption()
-
testAlsoMake
public void testAlsoMake()
-
testProjectsAndAlsoMake
public void testProjectsAndAlsoMake()
-
testAlsoMakeDependents
public void testAlsoMakeDependents()
-
testProjectsAndAlsoMakeDependents
public void testProjectsAndAlsoMakeDependents()
-
testProjectsAndAlsoMakeAndAlsoMakeDependents
public void testProjectsAndAlsoMakeAndAlsoMakeDependents()
-
testShouldSetResumeFrom
public void testShouldSetResumeFrom()
-
testShouldSetStrictChecksumPolityFlagFromRequest
public void testShouldSetStrictChecksumPolityFlagFromRequest()
-
testShouldSetLaxChecksumPolicyFlagFromRequest
public void testShouldSetLaxChecksumPolicyFlagFromRequest()
-
testShouldSetFailAtEndFlagFromRequest
public void testShouldSetFailAtEndFlagFromRequest()
-
testShouldSetFailNeverFlagFromRequest
public void testShouldSetFailNeverFlagFromRequest()
-
testShouldUseDefaultOfFailFastWhenSpecifiedInRequest
public void testShouldUseDefaultOfFailFastWhenSpecifiedInRequest()
-
testShouldSpecifyFileOptionUsingNonStandardPomFileLocation
public void testShouldSpecifyFileOptionUsingNonStandardPomFileLocation() throws Exception
- Throws:
Exception
-
testShouldSpecifyFileOptionUsingNonStandardPomInBasedir
public void testShouldSpecifyFileOptionUsingNonStandardPomInBasedir() throws Exception
- Throws:
Exception
-
testShouldNotSpecifyFileOptionUsingStandardPomFileLocation
public void testShouldNotSpecifyFileOptionUsingStandardPomFileLocation() throws Exception
- Throws:
Exception
-
testShouldNotSpecifyFileOptionUsingStandardPomInBasedir
public void testShouldNotSpecifyFileOptionUsingStandardPomInBasedir() throws Exception
- Throws:
Exception
-
testShouldUseDefaultPomFileWhenBasedirSpecifiedWithoutPomFileName
public void testShouldUseDefaultPomFileWhenBasedirSpecifiedWithoutPomFileName() throws Exception
- Throws:
Exception
-
testShouldSpecifyPomFileWhenBasedirSpecifiedWithPomFileName
public void testShouldSpecifyPomFileWhenBasedirSpecifiedWithPomFileName() throws Exception
- Throws:
Exception
-
testShouldSpecifyCustomUserSettingsLocationFromRequest
public void testShouldSpecifyCustomUserSettingsLocationFromRequest() throws Exception
- Throws:
Exception
-
testShouldSpecifyCustomGlobalSettingsLocationFromRequest
public void testShouldSpecifyCustomGlobalSettingsLocationFromRequest() throws Exception
- Throws:
Exception
-
testShouldSpecifyCustomToolchainsLocationFromRequest
public void testShouldSpecifyCustomToolchainsLocationFromRequest() throws Exception
- Throws:
Exception
-
testShouldSpecifyCustomPropertyFromRequest
public void testShouldSpecifyCustomPropertyFromRequest()
-
testShouldSpecifyCustomPropertyWithSpacesInValueFromRequest
public void testShouldSpecifyCustomPropertyWithSpacesInValueFromRequest()
-
testShouldSpecifyCustomPropertyWithSpacesInKeyFromRequest
public void testShouldSpecifyCustomPropertyWithSpacesInKeyFromRequest()
-
testShouldSpecifySingleGoalFromRequest
public void testShouldSpecifySingleGoalFromRequest() throws CommandLineConfigurationException
-
testShouldSpecifyTwoGoalsFromRequest
public void testShouldSpecifyTwoGoalsFromRequest() throws CommandLineConfigurationException
-
testShouldSpecifyThreadsFromRequest
public void testShouldSpecifyThreadsFromRequest()
-
testBuildTypicalMavenInvocationEndToEnd
public void testBuildTypicalMavenInvocationEndToEnd() throws Exception
- Throws:
Exception
-
testShouldSetEnvVar_MAVEN_TERMINATE_CMD
public void testShouldSetEnvVar_MAVEN_TERMINATE_CMD() throws Exception
- Throws:
Exception
-
testShouldInsertActivatedProfiles
public void testShouldInsertActivatedProfiles() throws Exception
- Throws:
Exception
-
testShouldSetEnvVar_M2_HOME
public void testShouldSetEnvVar_M2_HOME() throws Exception
- Throws:
Exception
-
-