com.silverpeas.converter.openoffice
Class OpenOfficeConversionTest
java.lang.Object
com.silverpeas.converter.openoffice.OpenOfficeConversionTest
@ContextConfiguration(locations="/spring-converter.xml")
public class OpenOfficeConversionTest
- extends Object
Tests about the conversion of documents with the implementation based on OpenOffice .
As the conversion process itself is mocked, the tests assert just it is ran as expected.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenOfficeConversionTest
public OpenOfficeConversionTest()
setUp
public void setUp()
emptyTest
public void emptyTest()
convertingANonODTDocumentShouldThrowADocumentFormatException
public void convertingANonODTDocumentShouldThrowADocumentFormatException()
throws Exception
- Throws:
Exception
convertingADocumentIntoANonSupportedFormatShouldThrowADocumentFormatException
public void convertingADocumentIntoANonSupportedFormatShouldThrowADocumentFormatException()
throws Exception
- Throws:
Exception
conversionWithoutAnyOpenOfficeServiceShouldThrowADocumentFormatConversionException
public void conversionWithoutAnyOpenOfficeServiceShouldThrowADocumentFormatConversionException()
throws Exception
- Throws:
Exception
conversionWithAnOpenOfficeServiceUpShouldSucceed
public void conversionWithAnOpenOfficeServiceUpShouldSucceed()
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.