mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-07-31 17:38:33 +00:00
Initial tests
* Add initial tests for config aggregation * Update AbstractTransformerControllerTest to use the new engine config names
This commit is contained in:
@@ -71,6 +71,8 @@ public class MiscControllerTest extends AbstractTransformerControllerTest
|
||||
private final String targetEncoding = "UTF-8";
|
||||
private final String targetMimetype = MIMETYPE_TEXT_PLAIN;
|
||||
|
||||
private static final String ENGINE_CONFIG_NAME = "misc_engine_config.json";
|
||||
|
||||
@Before
|
||||
public void before() throws Exception
|
||||
{
|
||||
@@ -86,6 +88,12 @@ public class MiscControllerTest extends AbstractTransformerControllerTest
|
||||
expectedSourceFileBytes);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEngineConfigName()
|
||||
{
|
||||
return ENGINE_CONFIG_NAME;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void mockTransformCommand(String sourceExtension, String targetExtension,
|
||||
String sourceMimetype, boolean readTargetFileBytes)
|
||||
|
Reference in New Issue
Block a user