mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07: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
|
language: java
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -qq update
|
- sudo apt-get -qq update
|
||||||
|
@ -98,9 +98,8 @@ public class TestFileUtil {
|
|||||||
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