mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
ATS-995, MNT-23248: TIFF to PDF ImageMagick transform don't work
- fixing AIOTikaMetadataExtractsIT failing tests
This commit is contained in:
parent
154fd77438
commit
2060660b21
@ -82,10 +82,10 @@ public class MiscTransformsIT
|
||||
private static final String ENGINE_URL = "http://localhost:8090";
|
||||
|
||||
private static final Map<String, FileInfo> TEST_FILES = Stream.of(
|
||||
testFile(MIMETYPE_IMAGE_GIF, "gif", "quick.gif"),
|
||||
testFile(MIMETYPE_IMAGE_JPEG, "jpg", "quick.jpg"),
|
||||
testFile(MIMETYPE_IMAGE_PNG, "png", "quick.png"),
|
||||
testFile(MIMETYPE_IMAGE_TIFF, "tiff", "quick.tiff"),
|
||||
testFile(MIMETYPE_IMAGE_GIF, "gif", "sample.gif"),
|
||||
testFile(MIMETYPE_IMAGE_JPEG, "jpg", "sample.jpg"),
|
||||
testFile(MIMETYPE_IMAGE_PNG, "png", "sample.png"),
|
||||
testFile(MIMETYPE_IMAGE_TIFF, "tiff", "sample.tiff"),
|
||||
testFile(MIMETYPE_WORD, "doc", "quick.doc"),
|
||||
testFile(MIMETYPE_OPENXML_WORDPROCESSING, "docx", "quick.docx"),
|
||||
testFile(MIMETYPE_EXCEL, "xls", "quick.xls"),
|
||||
|
@ -63,7 +63,7 @@ import org.mockito.MockitoAnnotations;
|
||||
|
||||
class ImageToPdfTransformerTest
|
||||
{
|
||||
private static final File sourceFile = loadFile("quick.gif");
|
||||
private static final File sourceFile = loadFile("sample.gif");
|
||||
|
||||
@Mock
|
||||
private TransformManager transformManager;
|
||||
@ -84,9 +84,9 @@ class ImageToPdfTransformerTest
|
||||
static Stream<ImageFile> imageFiles()
|
||||
{
|
||||
return Stream.of(
|
||||
ImageFile.of("quick.jpg", MIMETYPE_IMAGE_JPEG),
|
||||
ImageFile.of("quick.gif", MIMETYPE_IMAGE_GIF),
|
||||
ImageFile.of("quick.png", MIMETYPE_IMAGE_PNG)
|
||||
ImageFile.of("sample.jpg", MIMETYPE_IMAGE_JPEG),
|
||||
ImageFile.of("sample.gif", MIMETYPE_IMAGE_GIF),
|
||||
ImageFile.of("sample.png", MIMETYPE_IMAGE_PNG)
|
||||
);
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ class ImageToPdfTransformerTest
|
||||
{
|
||||
return Stream.of(
|
||||
ArgumentsCartesianProduct.of(imageFiles(), defaultTransformOptions()),
|
||||
ArgumentsCartesianProduct.of(ImageFile.of("quick.tiff", MIMETYPE_IMAGE_TIFF, 6), tiffTransformOptions())
|
||||
ArgumentsCartesianProduct.of(ImageFile.of("sample.tiff", MIMETYPE_IMAGE_TIFF, 6), tiffTransformOptions())
|
||||
).flatMap(Function.identity());
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Loading…
x
Reference in New Issue
Block a user