com.atlassian.core.util
Class TestImageInfo

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.core.util.TestImageInfo
All Implemented Interfaces:
junit.framework.Test

public class TestImageInfo
extends junit.framework.TestCase


Constructor Summary
TestImageInfo()
           
 
Method Summary
 void testAnInvalidPpmFileDoesNotLeadToEndlessLoops()
           
 void testCheckGif()
           
 void testCheckJPeg()
           
 void testCheckJPegWithInvalidData()
           
 void testCheckPng()
           
 void testPngWithCorruptedMetaData()
           
 void testPngWithJiraTag()
           
 void testTruncatedPng()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestImageInfo

public TestImageInfo()
Method Detail

testCheckJPeg

public void testCheckJPeg()
                   throws Exception
Throws:
Exception

testCheckPng

public void testCheckPng()
                  throws Exception
Throws:
Exception

testCheckGif

public void testCheckGif()
                  throws Exception
Throws:
Exception

testCheckJPegWithInvalidData

public void testCheckJPegWithInvalidData()
                                  throws Exception
Throws:
Exception

testAnInvalidPpmFileDoesNotLeadToEndlessLoops

public void testAnInvalidPpmFileDoesNotLeadToEndlessLoops()
                                                   throws Exception
Throws:
Exception

testPngWithCorruptedMetaData

public void testPngWithCorruptedMetaData()
                                  throws Exception
Throws:
Exception

testPngWithJiraTag

public void testPngWithJiraTag()
                        throws Exception
Throws:
Exception

testTruncatedPng

public void testTruncatedPng()
                      throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.