-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test on Illustration data coming from book.
- Loading branch information
1 parent
be5bcd8
commit d0d210f
Showing
3 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
lib/src/test/org/kiwix/test/libkiwix/TestIllustration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
package org.kiwix.test.libkiwix; | ||
|
||
import org.kiwix.libkiwix.Illustration; | ||
|
||
public class TestIllustration | ||
{ | ||
private Illustration inner; | ||
|
||
public int width() { return inner.width(); } | ||
public int height() { return inner.height(); } | ||
public String mimeType() { return inner.mimeType(); } | ||
public String url() { return inner.url(); } | ||
public byte[] getData() { return inner.getData(); } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters