1
package org.jaudiotagger.issues;
3
import org.jaudiotagger.AbstractTestCase;
4
import org.jaudiotagger.audio.AudioFileIO;
5
import org.jaudiotagger.audio.mp3.MP3File;
6
import org.jaudiotagger.tag.FieldKey;
7
import org.jaudiotagger.tag.KeyNotFoundException;
8
import org.jaudiotagger.tag.Tag;
13
Test tag Equality (specifically PartOfSet)
15
public class Issue319Test extends AbstractTestCase
21
public void testTagEquality() throws Exception
23
File orig = new File("testdata", "test26.mp3");
26
System.err.println("Unable to test file - not available");
30
File file1 = new File("testdata", "test26.mp3");
33
MP3File audioFile = (MP3File)AudioFileIO.read(file1);
34
Tag tag = audioFile.getTag();
36
FieldKey key = FieldKey.DISC_NO;
38
String fieldValue = tag.getFirst(key);
39
System.out.println("Fieldvalue is"+fieldValue);
40
} catch (KeyNotFoundException e) {
b'\\ No newline at end of file'