1
package org.jaudiotagger.issues;
3
import org.jaudiotagger.AbstractTestCase;
4
import org.jaudiotagger.audio.AudioFile;
5
import org.jaudiotagger.audio.AudioFileIO;
6
import org.jaudiotagger.tag.FieldKey;
11
* Converting FrameBodyUnsupported with known identifier to FrameBodyIPLS (v23) causing NoSuchMethodException.
12
* Not really sure why this is happening but we should check and take action instead of failing as we currently do
14
public class Issue285Test extends AbstractTestCase
16
public void testSavingOggFile()
18
File orig = new File("testdata", "test57.ogg");
21
System.err.println("Unable to test file - not available");
28
Exception exceptionCaught = null;
31
testFile = AbstractTestCase.copyAudioToTmp("test57.ogg");
33
//OggFileReader ofr = new OggFileReader();
34
//ofr.summarizeOggPageHeaders(testFile);
36
AudioFile af = AudioFileIO.read(testFile);
37
af.getTag().setField(FieldKey.COMMENT,"TEST");
47
assertNull(exceptionCaught);
1
package org.jaudiotagger.issues;
3
import org.jaudiotagger.AbstractTestCase;
4
import org.jaudiotagger.audio.AudioFile;
5
import org.jaudiotagger.audio.AudioFileIO;
6
import org.jaudiotagger.tag.FieldKey;
11
* Converting FrameBodyUnsupported with known identifier to FrameBodyIPLS (v23) causing NoSuchMethodException.
12
* Not really sure why this is happening but we should check and take action instead of failing as we currently do
14
public class Issue285Test extends AbstractTestCase
16
public void testSavingOggFile()
18
File orig = new File("testdata", "test57.ogg");
21
System.err.println("Unable to test file - not available");
28
Exception exceptionCaught = null;
31
testFile = AbstractTestCase.copyAudioToTmp("test57.ogg");
33
//OggFileReader ofr = new OggFileReader();
34
//ofr.summarizeOggPageHeaders(testFile);
36
AudioFile af = AudioFileIO.read(testFile);
37
af.getTag().setField(FieldKey.COMMENT,"TEST");
47
assertNull(exceptionCaught);