org.jaudiotagger.tag.id3
Class FrameCOMMTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jaudiotagger.AbstractTestCase
              extended by org.jaudiotagger.tag.id3.FrameCOMMTest
All Implemented Interfaces:
junit.framework.Test

public class FrameCOMMTest
extends AbstractTestCase

Test POPMFrameBody


Constructor Summary
FrameCOMMTest()
           
 
Method Summary
 void testReadFileContainingInvalidSizeCOMMFrame()
          Should run without throwing Runtime excception, although COMMFrame wont be loaded and will throwe invalid size exception
 void testReadFileContainingInvalidTextEncodingCOMMFrame()
          Should run without throwing Runtime excception, although COMMFrame wont be loaded and will throwe invalid datatype exception
 void testreadFrameContainingInvalidlanguageCodeCOMMFrame()
          Can read file containing a language code that does not actually map to a code , and write it back In this real example the language code has been held as three space characters
 void testsaveFileContainingNullLanguageCodeCOMMFrame()
          Can write file containing a COMM Frame with null language code
 
Methods inherited from class org.jaudiotagger.AbstractTestCase
assertErrorMessage, copy, copyAudioToTmp, copyAudioToTmp, copyAudioToTmp, setUp
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

FrameCOMMTest

public FrameCOMMTest()
Method Detail

testReadFileContainingInvalidSizeCOMMFrame

public void testReadFileContainingInvalidSizeCOMMFrame()
                                                throws Exception
Should run without throwing Runtime excception, although COMMFrame wont be loaded and will throwe invalid size exception

Throws:
Exception

testReadFileContainingInvalidTextEncodingCOMMFrame

public void testReadFileContainingInvalidTextEncodingCOMMFrame()
                                                        throws Exception
Should run without throwing Runtime excception, although COMMFrame wont be loaded and will throwe invalid datatype exception

Throws:
Exception

testreadFrameContainingInvalidlanguageCodeCOMMFrame

public void testreadFrameContainingInvalidlanguageCodeCOMMFrame()
                                                         throws Exception
Can read file containing a language code that does not actually map to a code , and write it back In this real example the language code has been held as three space characters

Throws:
Exception

testsaveFileContainingNullLanguageCodeCOMMFrame

public void testsaveFileContainingNullLanguageCodeCOMMFrame()
                                                     throws Exception
Can write file containing a COMM Frame with null language code

Throws:
Exception


Copyright © 2005-2009 java.net. All Rights Reserved.