org.jaudiotagger.tag.id3
Class ID3v1TagTest

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

public class ID3v1TagTest
extends junit.framework.TestCase


Field Summary
static String ALBUM
           
static String ARTIST
           
static String COMMENT
           
static String GENRE_VAL
           
static String TITLE
           
static String TRACK_VALUE
           
static String YEAR
           
 
Constructor Summary
ID3v1TagTest(String arg0)
          Constructor
 
Method Summary
static ID3v1Tag getInitialisedTag()
          Provides an initilised object to be used in other tests to prevent code duplication
static void main(String[] args)
          Command line entrance.
protected  void setUp()
           
static junit.framework.Test suite()
          Builds the Test Suite.
protected  void tearDown()
           
 void testCreateID3v11Tag()
           
 void testCreateID3v1FromID3v22()
           
 void testCreateID3v1FromID3v23()
           
 void testCreateID3v1FromID3v24()
           
 void testNewInterface()
           
 void testSaveID3v1TagToFile()
           
 void testSaveID3v1TagToFileUsingTagInterface()
           
 
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

ARTIST

public static final String ARTIST
See Also:
Constant Field Values

ALBUM

public static final String ALBUM
See Also:
Constant Field Values

COMMENT

public static final String COMMENT
See Also:
Constant Field Values

TITLE

public static final String TITLE
See Also:
Constant Field Values

TRACK_VALUE

public static final String TRACK_VALUE
See Also:
Constant Field Values

GENRE_VAL

public static final String GENRE_VAL
See Also:
Constant Field Values

YEAR

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

ID3v1TagTest

public ID3v1TagTest(String arg0)
Constructor

Parameters:
arg0 -
Method Detail

getInitialisedTag

public static ID3v1Tag getInitialisedTag()
Provides an initilised object to be used in other tests to prevent code duplication

Returns:
ID3v1Tag

main

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

Parameters:
args -

setUp

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

tearDown

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

suite

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

Returns:
the Test Suite.

testCreateID3v11Tag

public void testCreateID3v11Tag()

testSaveID3v1TagToFile

public void testSaveID3v1TagToFile()
                            throws Exception
Throws:
Exception

testSaveID3v1TagToFileUsingTagInterface

public void testSaveID3v1TagToFileUsingTagInterface()
                                             throws Exception
Throws:
Exception

testCreateID3v1FromID3v24

public void testCreateID3v1FromID3v24()

testCreateID3v1FromID3v23

public void testCreateID3v1FromID3v23()

testCreateID3v1FromID3v22

public void testCreateID3v1FromID3v22()

testNewInterface

public void testNewInterface()


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