-
-
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
1cbbd4e
commit ed6a302
Showing
3 changed files
with
58 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
16 changes: 16 additions & 0 deletions
16
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,16 @@ | ||
|
||
package org.kiwix.test.libkiwix; | ||
|
||
import org.kiwix.libkiwix.Illustration; | ||
|
||
public class TestIllustration | ||
{ | ||
private Illustration inner; | ||
public TestIllustration(Illustration _inner) { inner = _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