public class MavenCliTest
extends junit.framework.TestCase
Constructor and Description |
---|
MavenCliTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testCalculateDegreeOfConcurrencyWithCoreMultiplier() |
void |
testMavenConfig() |
void |
testMavenConfigInvalid() |
void |
testMVNConfigurationCLIRepeatedPropertiesLastWins()
Read .mvn/maven.config with the following definitions:
|
void |
testMVNConfigurationDefinedPropertiesCanBeOverwrittenViaCommandLine()
Read .mvn/maven.config with the following definitions:
|
void |
testMVNConfigurationFunkyArguments()
Read .mvn/maven.config with the following definitions:
|
void |
testMVNConfigurationThreadCanBeOverwrittenViaCommandLine()
Read .mvn/maven.config with the following definitions:
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testCalculateDegreeOfConcurrencyWithCoreMultiplier()
public void testMVNConfigurationThreadCanBeOverwrittenViaCommandLine() throws Exception
-T 3 -Drevision=1.3.0and check if the
-T 3
option can be overwritten via command line
argument.Exception
- in case of failure.public void testMVNConfigurationDefinedPropertiesCanBeOverwrittenViaCommandLine() throws Exception
-T 3 -Drevision=1.3.0and check if the
-Drevision-1.3.0
option can be overwritten via command line
argument.Exception
public void testMVNConfigurationCLIRepeatedPropertiesLastWins() throws Exception
-T 3 -Drevision=1.3.0and check if the
-Drevision-1.3.0
option can be overwritten via command line
argument.Exception
public void testMVNConfigurationFunkyArguments() throws Exception
-T 3 -Drevision=1.3.0and check if the
-Drevision-1.3.0
option can be overwritten via command line argument when there are
funky arguments present.Exception
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.