document analyzer test
This commit is contained in:
parent
67609394cc
commit
923e63ccbe
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
group = org.xbib.graphics
|
group = org.xbib.graphics
|
||||||
name = graphics
|
name = graphics
|
||||||
version = 5.0.3
|
version = 5.1.0
|
||||||
|
|
||||||
org.gradle.warning.mode = ALL
|
org.gradle.warning.mode = ALL
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class DocumentAnalyzerTest {
|
||||||
@Test
|
@Test
|
||||||
public void testDocument() throws IOException {
|
public void testDocument() throws IOException {
|
||||||
Path tmp = Files.createTempDirectory("document-analyzer");
|
Path tmp = Files.createTempDirectory("document-analyzer");
|
||||||
String sample = "20200000063.pdf";
|
String sample = "antonio_sample.pdf";
|
||||||
Path path = tmp.resolve(sample);
|
Path path = tmp.resolve(sample);
|
||||||
try (InputStream inputStream = getClass().getResourceAsStream(sample);
|
try (InputStream inputStream = getClass().getResourceAsStream(sample);
|
||||||
OutputStream outputStream = Files.newOutputStream(path)) {
|
OutputStream outputStream = Files.newOutputStream(path)) {
|
||||||
|
|
Loading…
Reference in a new issue