org.jaudiotagger.tag.vorbiscomment
Class VorbisWriteTagTest

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

public class VorbisWriteTagTest
extends AbstractTestCase

Vorbis Write tsgs


Constructor Summary
VorbisWriteTagTest()
           
 
Method Summary
 void testDeleteTag()
           
 void testDeleteTag2()
           
 void testSummarizeFile()
          Can summarize file
 void testWriteTagToFile()
          Testing of writing various fields
 void testWriteToFileMuchLarger()
          Test writing to file, comments too large to fit on single page anymore
 void testWriteToFileMuchLargerSetupHeaderSplit()
          Test writing to file, comments too large to fit on single page anymore, and also setup header gets split
 void testWriteToFileNoLongerRequiresTwoPages()
          Test writing to file, comments was too large for one page but not anymore
 void testWriteToFileNoLongerRequiresTwoPagesNorSplit()
          Test writing to file, comments was too large for one page and setup header split but not anymore
 void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeader()
          Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit so comment data is changed but size of comment header is same length
 void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderLarger()
          Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is larger, but the comment, header and extra packets can still all fit on page 2
 void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLarger()
          Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is much larger, so that comment, header and extra packets can no longer fit on page 2
 void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLargerAndSplit()
          Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is much larger, so that comment, header and extra packets can no longer fit on page 2 AND setup header is also split over two
 void testWriteToFileWriteToFileWithExtraPacketsNoLongerRequiresTwoPages()
          Test writing to file, comments was too large for one page but not anymore
 
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

VorbisWriteTagTest

public VorbisWriteTagTest()
Method Detail

testSummarizeFile

public void testSummarizeFile()
Can summarize file


testWriteTagToFile

public void testWriteTagToFile()
Testing of writing various fields


testWriteToFileMuchLarger

public void testWriteToFileMuchLarger()
Test writing to file, comments too large to fit on single page anymore


testWriteToFileMuchLargerSetupHeaderSplit

public void testWriteToFileMuchLargerSetupHeaderSplit()
Test writing to file, comments too large to fit on single page anymore, and also setup header gets split


testWriteToFileWithExtraPacketsOnSamePageAsSetupHeader

public void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeader()
Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit so comment data is changed but size of comment header is same length


testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderLarger

public void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderLarger()
Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is larger, but the comment, header and extra packets can still all fit on page 2


testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLarger

public void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLarger()
Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is much larger, so that comment, header and extra packets can no longer fit on page 2


testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLargerAndSplit

public void testWriteToFileWithExtraPacketsOnSamePageAsSetupHeaderMuchLargerAndSplit()
Issue 197, test writing to file when audio packet come straight after setup packet on same oggPage, edit enough so that comment is much larger, so that comment, header and extra packets can no longer fit on page 2 AND setup header is also split over two


testWriteToFileNoLongerRequiresTwoPages

public void testWriteToFileNoLongerRequiresTwoPages()
Test writing to file, comments was too large for one page but not anymore


testWriteToFileNoLongerRequiresTwoPagesNorSplit

public void testWriteToFileNoLongerRequiresTwoPagesNorSplit()
Test writing to file, comments was too large for one page and setup header split but not anymore


testWriteToFileWriteToFileWithExtraPacketsNoLongerRequiresTwoPages

public void testWriteToFileWriteToFileWithExtraPacketsNoLongerRequiresTwoPages()
Test writing to file, comments was too large for one page but not anymore


testDeleteTag

public void testDeleteTag()
                   throws Exception
Throws:
Exception

testDeleteTag2

public void testDeleteTag2()
                    throws Exception
Throws:
Exception


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