Save point: [skip ci]

* libreoffice
This commit is contained in:
alandavis
2022-07-27 10:10:37 +01:00
parent b54bd537f5
commit 954579036a
15 changed files with 234 additions and 288 deletions

View File

@@ -59,7 +59,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
/**
* Test Misc.
* Test Misc. Includes calling the 3rd party libraries.
*/
public class MiscTest extends AbstractBaseTest
{
@@ -84,6 +84,7 @@ public class MiscTest extends AbstractBaseTest
protected void mockTransformCommand(String sourceExtension, String targetExtension,
String sourceMimetype, boolean readTargetFileBytes)
{
// Misc transform is not mocked. It is run for real.
}
@Override
@@ -109,14 +110,6 @@ public class MiscTest extends AbstractBaseTest
return builder;
}
@Test
@Override
public void noTargetFileTest()
{
// Ignore the test in super class as the Misc transforms are real rather than mocked up.
// It is the mock that returns a zero length file for other transformers, when we supply an invalid targetExtension.
}
/**
* Test transforming a valid eml file to text
*/