diff options
author | uvok | 2025-07-12 11:31:50 +0200 |
---|---|---|
committer | uvok | 2025-07-12 11:31:50 +0200 |
commit | d8fb4403eeb1004d13c389fc4694d4e03eeecbec (patch) | |
tree | 771af4f3939e3138b47b9af28a00c05329f6e86e /songsterr-reader/src/test | |
parent | a60782e40c02bacdce44befae5ccc60d3f387e35 (diff) |
Add remaining fields and classes
Diffstat (limited to 'songsterr-reader/src/test')
-rw-r--r-- | songsterr-reader/src/test/java/de/uvok/tuxguitar/ApplicationTest.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/songsterr-reader/src/test/java/de/uvok/tuxguitar/ApplicationTest.java b/songsterr-reader/src/test/java/de/uvok/tuxguitar/ApplicationTest.java index d78bc76..e7041ab 100644 --- a/songsterr-reader/src/test/java/de/uvok/tuxguitar/ApplicationTest.java +++ b/songsterr-reader/src/test/java/de/uvok/tuxguitar/ApplicationTest.java @@ -4,10 +4,25 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; +import java.io.BufferedReader; +import java.io.InputStream; +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; + +import org.herac.tuxguitar.io.base.TGSongReaderHandle; +import org.herac.tuxguitar.util.TGContext; + class ApplicationTest { @Test - void shouldAnswerWithTrue() { + void shouldAnswerWithTrue() throws IOException { + TGSongReaderHandle srh = new TGSongReaderHandle(); + try (InputStream buf = new FileInputStream("/home/andreas/development/TgSongsterrImport/ftb.json")) { + srh.setInputStream(buf); + SongsterrInputStream s = new SongsterrInputStream(); + s.read(srh); + } assertTrue(true); } } |