org.apache.maven.it
Class MavenITmng2276ProfileActivationBySettingsPropertyTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.it.AbstractMavenIntegrationTestCase
org.apache.maven.it.MavenITmng2276ProfileActivationBySettingsPropertyTest
- All Implemented Interfaces:
- Test
public class MavenITmng2276ProfileActivationBySettingsPropertyTest
- extends AbstractMavenIntegrationTestCase
This is a test set for MNG-2276.
- Author:
- Benjamin Bentmann
Method Summary |
void |
testitActivation()
Test that profiles in the POM can be activated by properties declared in active profiles from the settings. |
void |
testitCliWins()
Tests that system properties defined on the CLI are dominant over settings properties during profile activation. |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame, format |
MavenITmng2276ProfileActivationBySettingsPropertyTest
public MavenITmng2276ProfileActivationBySettingsPropertyTest()
testitActivation
public void testitActivation()
throws Exception
- Test that profiles in the POM can be activated by properties declared in active profiles from the settings.
- Throws:
Exception
testitCliWins
public void testitCliWins()
throws Exception
- Tests that system properties defined on the CLI are dominant over settings properties during profile activation.
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.