mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
Reduce tests verbosity
This commit is contained in:
parent
f2ae899938
commit
6af7b6fce9
@ -1,3 +1,5 @@
|
|||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
language: java
|
language: java
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -qq update
|
- sudo apt-get -qq update
|
||||||
|
@ -97,10 +97,9 @@ public class TestFileUtil {
|
|||||||
File file4 = new File();
|
File file4 = new File();
|
||||||
file4.setId("document_odt");
|
file4.setId("document_odt");
|
||||||
file4.setMimeType(MimeType.OPEN_DOCUMENT_TEXT);
|
file4.setMimeType(MimeType.OPEN_DOCUMENT_TEXT);
|
||||||
|
|
||||||
try (InputStream pdfInputStream = PdfUtil.convertToPdf(documentDto, Lists.newArrayList(file0, file1, file2, file3, file4), true, true, 10)) {
|
InputStream is = PdfUtil.convertToPdf(documentDto, Lists.newArrayList(file0, file1, file2, file3, file4), true, true, 10);
|
||||||
ByteStreams.copy(pdfInputStream, System.out);
|
is.close();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user