mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Fix build
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<name>- Misc</name>
|
||||
|
||||
<parent>
|
||||
<artifactId>alfresco-transform-core</artifactId>
|
||||
<groupId>org.alfresco</groupId>
|
||||
<version>2.6.1-SNAPSHOT</version>
|
||||
<artifactId>alfresco-transform-core</artifactId>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
<version>2.6.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
@@ -26,14 +26,11 @@
|
||||
*/
|
||||
package org.alfresco.transform.misc;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import org.alfresco.transform.base.AbstractBaseTest;
|
||||
import org.alfresco.transform.base.html.OptionLister;
|
||||
import org.apache.pdfbox.pdmodel.PDDocument;
|
||||
import org.apache.pdfbox.text.PDFTextStripper;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.mock.web.MockMultipartFile;
|
||||
import org.springframework.test.web.servlet.MvcResult;
|
||||
import org.springframework.test.web.servlet.request.MockHttpServletRequestBuilder;
|
||||
@@ -65,8 +62,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
*/
|
||||
public class MiscTest extends AbstractBaseTest
|
||||
{
|
||||
@Autowired OptionLister optionLister;
|
||||
|
||||
protected final String sourceEncoding = "UTF-8";
|
||||
protected final String targetEncoding = "UTF-8";
|
||||
protected final String targetMimetype = MIMETYPE_TEXT_PLAIN;
|
||||
@@ -503,14 +498,4 @@ public class MiscTest extends AbstractBaseTest
|
||||
super.targetMimetype = this.targetMimetype;
|
||||
super.queueTransformRequestUsingDirectAccessUrlTest();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void optionListTest()
|
||||
{
|
||||
assertEquals(ImmutableSet.of(
|
||||
"pageLimit",
|
||||
"targetEncoding",
|
||||
"extractMapping"),
|
||||
optionLister.getOptionNames(controller.transformConfig(0).getBody().getTransformOptions()));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user