-
-
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.
Merge pull request #74 from kiwix/no_string_for_illustration_data
Do not put binary illustration data into a string.
- Loading branch information
Showing
5 changed files
with
63 additions
and
11 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
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
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