Skip to content

Commit

Permalink
#198: disables IoManagerSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
rladstaetter committed Jan 11, 2024
1 parent 74a38c6 commit 9ab29f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/src/test/scala/app/logorrr/io/IoManagerSpec.scala
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
package app.logorrr.io

import app.logorrr.LogoRRRNative
import org.scalatest.wordspec.AnyWordSpec

import java.nio.file.Paths

class IoManagerSpec extends AnyWordSpec {

"read ziputil-simple.zip" in {
// LogoRRRNative.loadNativeLibraries()

"read ziputil-simple.zip" ignore {
val res = IoManager.unzip(Paths.get("src/test/resources/app/logorrr/io/ziputil-simple.zip"), Set())
assert(res.size == 1)
val (fileId, entries) = res.toSeq.head
assert(fileId.fileName.endsWith("simple.log"))
assert(entries.size == 1)
assert(entries.get(0).value.startsWith("""MSI (c) (94:5C)"""))
}
"read ziputil-bit-more-complex.zip" in {
"read ziputil-bit-more-complex.zip" ignore {
val res = IoManager.unzip(Paths.get("src/test/resources/app/logorrr/io/ziputil-bit-more-complex.zip"), Set())
println(res.size == 3)
}
Expand Down

0 comments on commit 9ab29f8

Please sign in to comment.