com.drew.metadata.test
Class MetadataTest

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

public class MetadataTest
extends junit.framework.TestCase

JUnit test case for class Metadata.

Author:
Drew Noakes http://drewnoakes.com

Constructor Summary
MetadataTest(String s)
           
 
Method Summary
 void testContainsTag()
           
 void testGetDirectory()
           
 void testGetErrorCount()
           
 void testGetErrors()
           
 void testGetNonExistantTag()
           
 void testHasErrors()
           
 void testMetadataSerializable()
           
 void testSerializeAndRestore()
           
 void testSetAndGetMultipleTagsInMultilpeDirectories()
           
 void testSetAndGetMultipleTagsInSingleDirectory()
           
 void testSetAndGetSingleTag()
           
 void testSetSameTagMultpleTimes()
           
 
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

MetadataTest

public MetadataTest(String s)
Method Detail

testSetAndGetSingleTag

public void testSetAndGetSingleTag()
                            throws Exception
Throws:
Exception

testSetSameTagMultpleTimes

public void testSetSameTagMultpleTimes()
                                throws Exception
Throws:
Exception

testGetDirectory

public void testGetDirectory()
                      throws Exception
Throws:
Exception

testSetAndGetMultipleTagsInSingleDirectory

public void testSetAndGetMultipleTagsInSingleDirectory()
                                                throws Exception
Throws:
Exception

testSetAndGetMultipleTagsInMultilpeDirectories

public void testSetAndGetMultipleTagsInMultilpeDirectories()
                                                    throws Exception
Throws:
Exception

testContainsTag

public void testContainsTag()
                     throws Exception
Throws:
Exception

testGetNonExistantTag

public void testGetNonExistantTag()
                           throws Exception
Throws:
Exception

testHasErrors

public void testHasErrors()
                   throws Exception
Throws:
Exception

testGetErrors

public void testGetErrors()
                   throws Exception
Throws:
Exception

testGetErrorCount

public void testGetErrorCount()
                       throws Exception
Throws:
Exception

testMetadataSerializable

public void testMetadataSerializable()
                              throws Exception
Throws:
Exception

testSerializeAndRestore

public void testSerializeAndRestore()
                             throws Exception
Throws:
Exception