@ContextConfiguration(locations="classpath:ConverterTest-context.xml") public class EndToEndConversionTest extends Object
Modifier and Type | Field and Description |
---|---|
private Converter |
converter |
private FormulaConverter |
dom_converter |
private String |
ext |
private String |
filename |
private FormulaConverter |
img_converter |
private String |
inputFilename |
private ArrayList<Path> |
inputPaths |
private static org.apache.log4j.Logger |
logger |
private Path |
outputFilePath |
private Path |
outputPath |
private String |
title |
private Path |
workingDirectory |
Constructor and Description |
---|
EndToEndConversionTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
private void |
testConvertCreatesFiles(FormulaConverter formulaConverter)
Generic test runner
|
void |
testConvertCreatesFilesWithImages() |
void |
testConvertCreatesFilesWithoutImages() |
void |
testConvertFileExists()
tests the renaming scheme for handling existing filenames
|
private static final org.apache.log4j.Logger logger
private final String inputFilename
private final String filename
private final String ext
@Autowired private Converter converter
private Path outputPath
private Path outputFilePath
private Path workingDirectory
private String title
private FormulaConverter img_converter
private FormulaConverter dom_converter
public void testConvertCreatesFilesWithImages() throws Exception
Exception
public void testConvertCreatesFilesWithoutImages() throws Exception
Exception
private void testConvertCreatesFiles(FormulaConverter formulaConverter) throws Exception
formulaConverter
- an implementation of FormulaConverter interfaceException
Copyright © 2015 Vienna University of Technology. All rights reserved.