com.drew.metadata.exif.test
Class ExifDescriptorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.drew.metadata.exif.test.ExifDescriptorTest
All Implemented Interfaces:
junit.framework.Test

public class ExifDescriptorTest
extends junit.framework.TestCase

JUnit test case for class ExifDescriptor.

Author:
Drew Noakes http://drewnoakes.com

Constructor Summary
ExifDescriptorTest(String s)
           
 
Method Summary
 void testUnicodeComment_ActualBytes()
           
 void testUnicodeComment_Ascii()
           
 void testUserCommentDescription_AsciiHeaderAsciiEncoding()
           
 void testUserCommentDescription_AsciiHeaderExtendedAsciiEncoding()
           
 void testUserCommentDescription_BlankAscii()
           
 void testUserCommentDescription_EmptyEncoding()
           
 void testUserCommentDescription_ZeroLengthAscii1()
           
 void testUserCommentDescription_ZeroLengthAscii2()
           
 void testWindowsXpFields()
           
 void testXResolutionDescription()
           
 void testYResolutionDescription()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExifDescriptorTest

public ExifDescriptorTest(String s)
Method Detail

testXResolutionDescription

public void testXResolutionDescription()
                                throws Exception
Throws:
Exception

testYResolutionDescription

public void testYResolutionDescription()
                                throws Exception
Throws:
Exception

testUserCommentDescription_EmptyEncoding

public void testUserCommentDescription_EmptyEncoding()
                                              throws Exception
Throws:
Exception

testUserCommentDescription_AsciiHeaderExtendedAsciiEncoding

public void testUserCommentDescription_AsciiHeaderExtendedAsciiEncoding()
                                                                 throws Exception
Throws:
Exception

testUserCommentDescription_AsciiHeaderAsciiEncoding

public void testUserCommentDescription_AsciiHeaderAsciiEncoding()
                                                         throws Exception
Throws:
Exception

testUserCommentDescription_BlankAscii

public void testUserCommentDescription_BlankAscii()
                                           throws Exception
Throws:
Exception

testUserCommentDescription_ZeroLengthAscii1

public void testUserCommentDescription_ZeroLengthAscii1()
                                                 throws Exception
Throws:
Exception

testUserCommentDescription_ZeroLengthAscii2

public void testUserCommentDescription_ZeroLengthAscii2()
                                                 throws Exception
Throws:
Exception

testUnicodeComment_ActualBytes

public void testUnicodeComment_ActualBytes()
                                    throws Exception
Throws:
Exception

testUnicodeComment_Ascii

public void testUnicodeComment_Ascii()
                              throws Exception
Throws:
Exception

testWindowsXpFields

public void testWindowsXpFields()
                         throws Exception
Throws:
Exception