public class MavenCommandLineBuilderTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TemporaryFolder |
temporaryFolder |
Constructor and Description |
---|
MavenCommandLineBuilderTest() |
public void setUp() throws IOException
IOException
public void tearDown()
public void testShouldFailToSetLocalRepoLocationGloballyWhenItIsAFile()
public void testShouldFailToSetLocalRepoLocationFromRequestWhenItIsAFile()
public void testShouldSetLocalRepoLocationGlobally() throws IOException
IOException
public void testShouldSetLocalRepoLocationFromRequest() throws Exception
Exception
public void testRequestProvidedLocalRepoLocationShouldOverrideGlobal() throws Exception
Exception
public void testShouldSetWorkingDirectoryGlobally() throws Exception
Exception
public void testShouldSetWorkingDirectoryFromRequest() throws Exception
Exception
public void testRequestProvidedWorkingDirectoryShouldOverrideGlobal() throws Exception
Exception
public void testShouldUseSystemOutLoggerWhenNoneSpecified() throws Exception
Exception
public void testShouldFailIfLoggerSetToNull()
public void testShouldFindDummyMavenExecutable() throws Exception
Exception
public void testShouldFindDummyMavenExecutableWithMavenHomeFromRequest() throws Exception
Exception
public void testShouldSetBatchModeFlagFromRequest()
public void testShouldSetOfflineFlagFromRequest()
public void testShouldSetUpdateSnapshotsFlagFromRequest()
public void testShouldSetDebugFlagFromRequest()
public void testShouldSetErrorFlagFromRequest()
public void testShouldSetQuietFlagFromRequest()
public void testShouldSetNonRecursiveFlagsFromRequest()
public void testShouldSetShowVersionFlagsFromRequest()
public void testDebugOptionShouldMaskShowErrorsOption()
public void testShouldSetBuilderIdOptionsFromRequest()
public void testAlsoMake()
public void testProjectsAndAlsoMake()
public void testAlsoMakeDependents()
public void testProjectsAndAlsoMakeDependents()
public void testProjectsAndAlsoMakeAndAlsoMakeDependents()
public void testShouldSetResumeFrom()
public void testShouldSetStrictChecksumPolityFlagFromRequest()
public void testShouldSetLaxChecksumPolicyFlagFromRequest()
public void testShouldSetFailAtEndFlagFromRequest()
public void testShouldSetFailNeverFlagFromRequest()
public void testShouldAddArg() throws CommandLineConfigurationException
public void testShouldUseDefaultOfFailFastWhenSpecifiedInRequest()
public void testShouldSetNoTransferProgressFlagFromRequest()
public void testShouldSpecifyFileOptionUsingNonStandardPomFileLocation() throws Exception
Exception
public void testShouldNotSpecifyFileOptionUsingStandardPomFileLocation() throws Exception
Exception
public void testShouldSetPomForOutsideWorkspace() throws Exception
Exception
public void testShouldNotSpecifyFileOptionUsingStandardPomInBasedir() throws Exception
Exception
public void testShouldUseDefaultPomFileWhenBasedirSpecifiedWithoutPomFileName() throws Exception
Exception
public void testShouldSpecifyPomFileWhenBasedirSpecifiedWithPomFileName() throws Exception
Exception
public void testShouldSpecifyCustomUserSettingsLocationFromRequest() throws Exception
Exception
public void testShouldSpecifyCustomGlobalSettingsLocationFromRequest() throws Exception
Exception
public void testShouldSpecifyCustomToolchainsLocationFromRequest() throws Exception
Exception
public void testShouldSpecifyCustomPropertyFromRequest()
public void testShouldSpecifyCustomPropertyWithSpacesInValueFromRequest()
public void testShouldSpecifyCustomPropertyWithSpacesInKeyFromRequest()
public void testShouldSpecifySingleGoalFromRequest() throws CommandLineConfigurationException
public void testShouldSpecifyTwoGoalsFromRequest() throws CommandLineConfigurationException
public void testShouldSpecifyThreadsFromRequest()
public void testBuildTypicalMavenInvocationEndToEnd() throws Exception
Exception
public void testShouldInsertActivatedProfiles() throws Exception
Exception
public void testMvnExecutableFromInvoker() throws Exception
Exception
public void testMvnExecutableFormRequest() throws Exception
Exception
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.