Class MavenArchiverTest


  • public class MavenArchiverTest
    extends java.lang.Object
    • Constructor Detail

      • MavenArchiverTest

        public MavenArchiverTest()
    • Method Detail

      • testInvalidModuleNames

        public void testInvalidModuleNames()
      • testValidModuleNames

        public void testValidModuleNames()
      • testGetManifestExtensionList

        public void testGetManifestExtensionList()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultiClassPath

        public void testMultiClassPath()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRecreation

        public void testRecreation()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNotGenerateImplementationVersionForMANIFESTMF

        public void testNotGenerateImplementationVersionForMANIFESTMF()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGenerateImplementationVersionForMANIFESTMF

        public void testGenerateImplementationVersionForMANIFESTMF()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCarriageReturnInManifestEntry

        public void testCarriageReturnInManifestEntry()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDeprecatedCreateArchiveAPI

        public void testDeprecatedCreateArchiveAPI()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testManifestEntries

        public void testManifestEntries()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testManifestWithInvalidAutomaticModuleNameThrowsOnCreateArchive

        public void testManifestWithInvalidAutomaticModuleNameThrowsOnCreateArchive()
                                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCreatedByManifestEntryWithoutMavenVersion

        public void testCreatedByManifestEntryWithoutMavenVersion()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testManifestSections

        public void testManifestSections()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultClassPathValue

        public void testDefaultClassPathValue()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultClassPathValue_WithSnapshot

        public void testDefaultClassPathValue_WithSnapshot()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMavenRepoClassPathValue

        public void testMavenRepoClassPathValue()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveWithSimpleClassPathLayoutWhileSettingSimpleLayoutExplicit

        public void shouldCreateArchiveWithSimpleClassPathLayoutWhileSettingSimpleLayoutExplicit()
                                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveCustomerLayoutSimple

        public void shouldCreateArchiveCustomerLayoutSimple()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveCustomLayoutSimpleNonUnique

        public void shouldCreateArchiveCustomLayoutSimpleNonUnique()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveCustomLayoutRepository

        public void shouldCreateArchiveCustomLayoutRepository()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveCustomLayoutRepositoryNonUnique

        public void shouldCreateArchiveCustomLayoutRepositoryNonUnique()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldCreateArchiveWithSimpleClassPathLayoutUsingDefaults

        public void shouldCreateArchiveWithSimpleClassPathLayoutUsingDefaults()
                                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMavenRepoClassPathValue_WithSnapshot

        public void testMavenRepoClassPathValue_WithSnapshot()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCustomClassPathValue

        public void testCustomClassPathValue()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCustomClassPathValue_WithSnapshotResolvedVersion

        public void testCustomClassPathValue_WithSnapshotResolvedVersion()
                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCustomClassPathValue_WithSnapshotForcingBaseVersion

        public void testCustomClassPathValue_WithSnapshotForcingBaseVersion()
                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultPomProperties

        public void testDefaultPomProperties()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCustomPomProperties

        public void testCustomPomProperties()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getJarFileManifest

        public java.util.jar.Manifest getJarFileManifest​(java.io.File jarFile)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException