org.apache.maven.archiver
Class MavenArchiverTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.archiver.MavenArchiverTest
All Implemented Interfaces:
Test

public class MavenArchiverTest
extends TestCase


Constructor Summary
MavenArchiverTest()
           
 
Method Summary
 Manifest getJarFileManifest(File jarFile)
           
 void testCarriageReturnInManifestEntry()
           
 void testCreatedByManifestEntryWithoutMavenVersion()
           
 void testCustomClassPathValue_WithSnapshotForcingBaseVersion()
           
 void testCustomClassPathValue_WithSnapshotResolvedVersion()
           
 void testCustomClassPathValue()
           
 void testDashesInClassPath_MSHARED_134()
           
 void testDashesInClassPath_MSHARED_182()
           
 void testDefaultClassPathValue_WithSnapshot()
           
 void testDefaultClassPathValue()
           
 void testDeprecatedCreateArchiveAPI()
           
 void testGenerateImplementationVersionForMANIFESTMF()
           
 void testGetManifestExtensionList()
           
 void testManifestEntries()
           
 void testManifestSections()
           
 void testMavenRepoClassPathValue_WithSnapshot()
           
 void testMavenRepoClassPathValue()
           
 void testMultiClassPath()
           
 void testNotGenerateImplementationVersionForMANIFESTMF()
           
 void testRecreation()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenArchiverTest

public MavenArchiverTest()
Method Detail

testGetManifestExtensionList

public void testGetManifestExtensionList()
                                  throws Exception
Throws:
Exception

testMultiClassPath

public void testMultiClassPath()
                        throws Exception
Throws:
Exception

testRecreation

public void testRecreation()
                    throws Exception
Throws:
Exception

testNotGenerateImplementationVersionForMANIFESTMF

public void testNotGenerateImplementationVersionForMANIFESTMF()
                                                       throws Exception
Throws:
Exception

testGenerateImplementationVersionForMANIFESTMF

public void testGenerateImplementationVersionForMANIFESTMF()
                                                    throws Exception
Throws:
Exception

testDashesInClassPath_MSHARED_134

public void testDashesInClassPath_MSHARED_134()
                                       throws IOException,
                                              org.codehaus.plexus.archiver.jar.ManifestException,
                                              DependencyResolutionRequiredException
Throws:
IOException
org.codehaus.plexus.archiver.jar.ManifestException
DependencyResolutionRequiredException

testDashesInClassPath_MSHARED_182

public void testDashesInClassPath_MSHARED_182()
                                       throws IOException,
                                              org.codehaus.plexus.archiver.jar.ManifestException,
                                              DependencyResolutionRequiredException
Throws:
IOException
org.codehaus.plexus.archiver.jar.ManifestException
DependencyResolutionRequiredException

testCarriageReturnInManifestEntry

public void testCarriageReturnInManifestEntry()
                                       throws Exception
Throws:
Exception

testDeprecatedCreateArchiveAPI

public void testDeprecatedCreateArchiveAPI()
                                    throws Exception
Throws:
Exception

testManifestEntries

public void testManifestEntries()
                         throws Exception
Throws:
Exception

testCreatedByManifestEntryWithoutMavenVersion

public void testCreatedByManifestEntryWithoutMavenVersion()
                                                   throws Exception
Throws:
Exception

testManifestSections

public void testManifestSections()
                          throws Exception
Throws:
Exception

testDefaultClassPathValue

public void testDefaultClassPathValue()
                               throws Exception
Throws:
Exception

testDefaultClassPathValue_WithSnapshot

public void testDefaultClassPathValue_WithSnapshot()
                                            throws Exception
Throws:
Exception

testMavenRepoClassPathValue

public void testMavenRepoClassPathValue()
                                 throws Exception
Throws:
Exception

testMavenRepoClassPathValue_WithSnapshot

public void testMavenRepoClassPathValue_WithSnapshot()
                                              throws Exception
Throws:
Exception

testCustomClassPathValue

public void testCustomClassPathValue()
                              throws Exception
Throws:
Exception

testCustomClassPathValue_WithSnapshotResolvedVersion

public void testCustomClassPathValue_WithSnapshotResolvedVersion()
                                                          throws Exception
Throws:
Exception

testCustomClassPathValue_WithSnapshotForcingBaseVersion

public void testCustomClassPathValue_WithSnapshotForcingBaseVersion()
                                                             throws Exception
Throws:
Exception

getJarFileManifest

public Manifest getJarFileManifest(File jarFile)
                            throws IOException
Throws:
IOException


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