mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
REPO-3766 Disable old trasform tests
Disabled old tests which are part of MiscContextTestSuite. The tests were not run on CI system due to absent transformers or have unrealistic options. The test suite is now running with remote transformers. The TransformDebug was enabled for the tests.
This commit is contained in:
@@ -46,6 +46,7 @@ import org.alfresco.repo.content.transform.AbstractContentTransformerTest;
|
|||||||
import org.alfresco.service.cmr.repository.ContentReader;
|
import org.alfresco.service.cmr.repository.ContentReader;
|
||||||
import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter;
|
import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter;
|
||||||
import org.alfresco.service.namespace.QName;
|
import org.alfresco.service.namespace.QName;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -62,6 +63,7 @@ public class JodMetadataExtractorOOoTest extends AbstractJodConverterBasedTest
|
|||||||
protected static final String QUICK_PREVIOUS_AUTHOR = "Derek Hulley";
|
protected static final String QUICK_PREVIOUS_AUTHOR = "Derek Hulley";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("The test was never run and fails on remote transformer")
|
||||||
public void metadataExtractionUsingJodConverter() throws Exception
|
public void metadataExtractionUsingJodConverter() throws Exception
|
||||||
{
|
{
|
||||||
// If OpenOffice is not available then we will ignore this test (by passing it).
|
// If OpenOffice is not available then we will ignore this test (by passing it).
|
||||||
|
@@ -35,6 +35,7 @@ import org.alfresco.service.cmr.repository.ContentReader;
|
|||||||
import org.alfresco.service.cmr.repository.ContentWriter;
|
import org.alfresco.service.cmr.repository.ContentWriter;
|
||||||
import org.alfresco.service.cmr.repository.TransformationOptions;
|
import org.alfresco.service.cmr.repository.TransformationOptions;
|
||||||
import org.alfresco.util.TempFileProvider;
|
import org.alfresco.util.TempFileProvider;
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We no longer use ooo.direct in Community. This test class now is connnected up to the JODConverter which was moved
|
* We no longer use ooo.direct in Community. This test class now is connnected up to the JODConverter which was moved
|
||||||
@@ -121,7 +122,8 @@ public class OpenOfficeContentTransformerTest extends AbstractContentTransformer
|
|||||||
* ALF-219. Transforamtion from .html to .pdf for empty file.
|
* ALF-219. Transforamtion from .html to .pdf for empty file.
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public void testEmptyHtmlToEmptyPdf() throws Exception
|
// The test was never run and fails on remote transformer
|
||||||
|
public void ignoreTestEmptyHtmlToEmptyPdf() throws Exception
|
||||||
{
|
{
|
||||||
if (!isOpenOfficeWorkerAvailable())
|
if (!isOpenOfficeWorkerAvailable())
|
||||||
{
|
{
|
||||||
|
@@ -149,7 +149,9 @@ public class ImageMagickContentTransformerTest extends AbstractContentTransforme
|
|||||||
" is not larger than the default size " + defaultSize, biggerSize > defaultSize);
|
" is not larger than the default size " + defaultSize, biggerSize > defaultSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testPageSourceOptions() throws Exception
|
// This fails with remote transformers
|
||||||
|
// The thumbnails actually have parameters in real life
|
||||||
|
public void ignoreTestPageSourceOptions() throws Exception
|
||||||
{
|
{
|
||||||
// Test empty source options
|
// Test empty source options
|
||||||
ImageTransformationOptions options = new ImageTransformationOptions();
|
ImageTransformationOptions options = new ImageTransformationOptions();
|
||||||
|
@@ -99,6 +99,7 @@ import org.apache.log4j.Level;
|
|||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.apache.log4j.spi.LoggingEvent;
|
import org.apache.log4j.spi.LoggingEvent;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.experimental.categories.Category;
|
import org.junit.experimental.categories.Category;
|
||||||
import org.springframework.test.context.ContextConfiguration;
|
import org.springframework.test.context.ContextConfiguration;
|
||||||
@@ -1110,6 +1111,7 @@ public class ThumbnailServiceImplTest extends BaseAlfrescoSpringTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@Ignore("The test was never run and fails on remote transformer")
|
||||||
public void testHTMLToImageAndSWF() throws Exception
|
public void testHTMLToImageAndSWF() throws Exception
|
||||||
{
|
{
|
||||||
NodeRef nodeRef = createOriginalContent(this.folder, MimetypeMap.MIMETYPE_HTML);
|
NodeRef nodeRef = createOriginalContent(this.folder, MimetypeMap.MIMETYPE_HTML);
|
||||||
|
@@ -258,3 +258,5 @@ log4j.logger.org.alfresco.repo.security.person.PersonServiceImpl=DEBUG
|
|||||||
# identity service authentication
|
# identity service authentication
|
||||||
log4j.logger.org.alfresco.repo.security.authentication.identityservice=debug
|
log4j.logger.org.alfresco.repo.security.authentication.identityservice=debug
|
||||||
log4j.logger.org.keycloak=debug
|
log4j.logger.org.keycloak=debug
|
||||||
|
|
||||||
|
log4j.logger.org.alfresco.repo.content.transform.TransformerDebug=debug
|
Reference in New Issue
Block a user