org.jaudiotagger.tag.id3
Class NewInterfaceTest

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

public class NewInterfaceTest
extends junit.framework.TestCase

Testing retrofitting of entagged interfaces


Field Summary
static String ALBUM_TEST_STRING
           
static String ALBUM_TEST_STRING2
           
private static String V1_ARTIST
           
 
Constructor Summary
NewInterfaceTest(String arg0)
          Constructor
 
Method Summary
static void main(String[] args)
          Command line entrance.
protected  void setUp()
           
static junit.framework.Test suite()
          Builds the Test Suite.
protected  void tearDown()
           
 void testBasicWrite()
           
 void testGenres()
          Currently genres are written to and from v2 tag as is, the decoding from genre number to string has to be done manually
 void testIterator()
           
 void testNewInterfaceBasicReadandWriteID3v1()
           
 void testNewInterfaceBasicReadandWriteID3v22()
           
 void testNewInterfaceBasicReadandWriteID3v23()
           
 void testNewInterfaceBasicReadandWriteID3v24()
           
 void testNewInterfaceDodgyMp3()
          Test code copes with reading dodgy ID3Tag , header appears ok but gap between header and tag data
 void testRemoveFrameOfType()
           
 void testSettingMultipleFramesofSameType()
          Test how adding multiple frameswith new interface of same type is is handled
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

V1_ARTIST

private static final String V1_ARTIST
See Also:
Constant Field Values

ALBUM_TEST_STRING

public static final String ALBUM_TEST_STRING
See Also:
Constant Field Values

ALBUM_TEST_STRING2

public static final String ALBUM_TEST_STRING2
See Also:
Constant Field Values
Constructor Detail

NewInterfaceTest

public NewInterfaceTest(String arg0)
Constructor

Parameters:
arg0 -
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

main

public static void main(String[] args)
Command line entrance.

Parameters:
args -

suite

public static junit.framework.Test suite()
Builds the Test Suite.

Returns:
the Test Suite.

testBasicWrite

public void testBasicWrite()

testNewInterfaceBasicReadandWriteID3v1

public void testNewInterfaceBasicReadandWriteID3v1()
                                            throws Exception
Throws:
Exception

testNewInterfaceBasicReadandWriteID3v24

public void testNewInterfaceBasicReadandWriteID3v24()
                                             throws Exception
Throws:
Exception

testNewInterfaceBasicReadandWriteID3v23

public void testNewInterfaceBasicReadandWriteID3v23()
                                             throws Exception
Throws:
Exception

testNewInterfaceBasicReadandWriteID3v22

public void testNewInterfaceBasicReadandWriteID3v22()
                                             throws Exception
Throws:
Exception

testSettingMultipleFramesofSameType

public void testSettingMultipleFramesofSameType()
                                         throws Exception
Test how adding multiple frameswith new interface of same type is is handled

Throws:
Exception

testNewInterfaceDodgyMp3

public void testNewInterfaceDodgyMp3()
                              throws Exception
Test code copes with reading dodgy ID3Tag , header appears ok but gap between header and tag data

Throws:
Exception

testIterator

public void testIterator()
                  throws Exception
Throws:
Exception

testGenres

public void testGenres()
Currently genres are written to and from v2 tag as is, the decoding from genre number to string has to be done manually


testRemoveFrameOfType

public void testRemoveFrameOfType()


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