org.apache.maven.it
Class MavenITmng4343MissingReleaseUpdatePolicyTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.it.AbstractMavenIntegrationTestCase
org.apache.maven.it.MavenITmng4343MissingReleaseUpdatePolicyTest
- All Implemented Interfaces:
- Test
public class MavenITmng4343MissingReleaseUpdatePolicyTest
- extends AbstractMavenIntegrationTestCase
This is a test set for MNG-4343.
- Version:
- $Id: MavenITmng4343MissingReleaseUpdatePolicyTest.java 981712 2010-08-03 00:36:19Z bentmann $
- Author:
- Benjamin Bentmann
Method Summary |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testitAlways()
Verify that checking for *missing* release artifacts respects the update policy that is configured in the
release section for the respective repository, in this case "always". |
void |
testitNever()
Verify that checking for *missing* release artifacts respects the update policy that is configured in the
release section for the respective repository, in this case "never", unless overriden from the CLI via -U. |
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 |
MavenITmng4343MissingReleaseUpdatePolicyTest
public MavenITmng4343MissingReleaseUpdatePolicyTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class TestCase
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown
in class TestCase
- Throws:
Exception
testitAlways
public void testitAlways()
throws Exception
- Verify that checking for *missing* release artifacts respects the update policy that is configured in the
release section for the respective repository, in this case "always".
- Throws:
Exception
testitNever
public void testitNever()
throws Exception
- Verify that checking for *missing* release artifacts respects the update policy that is configured in the
release section for the respective repository, in this case "never", unless overriden from the CLI via -U.
- Throws:
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.