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