com.atlassian.plugin.osgi.factory.transform
Class TestJarUtils

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.osgi.factory.transform.TestJarUtils
All Implemented Interfaces:
junit.framework.Test

public class TestJarUtils
extends junit.framework.TestCase


Constructor Summary
TestJarUtils()
           
 
Method Summary
 void testEntries()
           
 void testEntry()
           
 void testEntryNotFound()
           
 void testExtractor()
           
 void testHasManifestEntryReturnsFalseWithEmptyManifest()
           
 void testHasManifestEntryReturnsFalseWithManifest()
           
 void testHasManifestEntryReturnsFalseWithNoManifest()
           
 void testManifest()
           
 void testManifestCreatedIfNotPresent()
           
 void testNoEntries()
           
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestJarUtils

public TestJarUtils()
Method Detail

testEntries

public void testEntries()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testNoEntries

public void testNoEntries()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testHasManifestEntryReturnsFalseWithNoManifest

public void testHasManifestEntryReturnsFalseWithNoManifest()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testHasManifestEntryReturnsFalseWithEmptyManifest

public void testHasManifestEntryReturnsFalseWithEmptyManifest()
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

testHasManifestEntryReturnsFalseWithManifest

public void testHasManifestEntryReturnsFalseWithManifest()
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

testEntry

public void testEntry()
               throws java.lang.Exception
Throws:
java.lang.Exception

testEntryNotFound

public void testEntryNotFound()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testManifest

public void testManifest()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testManifestCreatedIfNotPresent

public void testManifestCreatedIfNotPresent()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testExtractor

public void testExtractor()
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 Atlassian. All Rights Reserved.