org.apache.maven.it
Class MavenITmng4368TimestampAwareArtifactInstallerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.it.AbstractMavenIntegrationTestCase
              extended by org.apache.maven.it.MavenITmng4368TimestampAwareArtifactInstallerTest
All Implemented Interfaces:
Test

public class MavenITmng4368TimestampAwareArtifactInstallerTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4368.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4368TimestampAwareArtifactInstallerTest()
           
 
Method Summary
 void testitJarPackaging()
          Verify that the artifact installer copies files to the local repo only if their timestamp differs from the copy already in the local repo.
 void testitPomPackaging()
          Verify that the artifact installer copies POMs to the local repo even if they have an older timestamp as the copy in the local repo.
 
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenITmng4368TimestampAwareArtifactInstallerTest

public MavenITmng4368TimestampAwareArtifactInstallerTest()
Method Detail

testitPomPackaging

public void testitPomPackaging()
                        throws Exception
Verify that the artifact installer copies POMs to the local repo even if they have an older timestamp as the copy in the local repo.

Throws:
Exception

testitJarPackaging

public void testitJarPackaging()
                        throws Exception
Verify that the artifact installer copies files to the local repo only if their timestamp differs from the copy already in the local repo.

Throws:
Exception


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.