org.jaudiotagger.tag.vorbiscomment
Class VorbisReadTagTest

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

public class VorbisReadTagTest
extends AbstractTestCase

User: paul Date: 21-Feb-2008


Constructor Summary
VorbisReadTagTest()
           
 
Method Summary
 void testCreateCorruptFile()
          Create Value with empty value and then read back, then try and create another field Was expecting to fail but works ok
 void testFix202CorruptFile()
          Fixes an issue whereby a file contained a user comment with no value (DATE=) and the number of comments was one less than it should be.
 void testReadCorruptOgg()
          Test reading a file with corrupt vorbis comment tag, however the ogg paging is actually correct so no error found in this test.
 void testReadCorruptOgg2()
          Test reading corrupt file, because vorbis comment has an error (says no of comments is 5 but actually there are 6 it should throw appropriate error
 
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

VorbisReadTagTest

public VorbisReadTagTest()
Method Detail

testReadCorruptOgg

public void testReadCorruptOgg()
Test reading a file with corrupt vorbis comment tag, however the ogg paging is actually correct so no error found in this test.


testReadCorruptOgg2

public void testReadCorruptOgg2()
Test reading corrupt file, because vorbis comment has an error (says no of comments is 5 but actually there are 6 it should throw appropriate error


testCreateCorruptFile

public void testCreateCorruptFile()
Create Value with empty value and then read back, then try and create another field Was expecting to fail but works ok


testFix202CorruptFile

public void testFix202CorruptFile()
Fixes an issue whereby a file contained a user comment with no value (DATE=) and the number of comments was one less than it should be.



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