com.silverpeas.converter
Class ToHTMLConverterTest

java.lang.Object
  extended by com.silverpeas.converter.ToHTMLConverterTest

@ContextConfiguration(locations="/spring-converter.xml")
public class ToHTMLConverterTest
extends Object

Test the conversion of documents with an OpenOffice server.

Author:
Yohann Chastagnier

Constructor Summary
ToHTMLConverterTest()
           
 
Method Summary
 void assertConvertAnDocumentToHTML(String extension)
           
 void convertAnDocDocumentToHTML()
           
 void convertAnODTDocumentIntoANonSupportedFormat()
           
 void convertAnODTDocumentToDoc()
           
 void convertAnODTDocumentToHTML()
           
 void convertAnODTDocumentToRTF()
           
 void convertAnPDFDocumentToHTML()
           
 void convertAnRtfDocumentToHTML()
           
 void convertAnRtfInputStreamToHTMLOutputStream()
           
 void convertAnTxtDocumentToHTML()
           
 void convertAnXMLDocumentToHTML()
           
 void setUp()
           
static void setUpClass()
           
 void tearDown()
           
static void tearDownClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToHTMLConverterTest

public ToHTMLConverterTest()
Method Detail

setUpClass

public static void setUpClass()
                       throws Exception
Throws:
Exception

tearDownClass

public static void tearDownClass()
                          throws Exception
Throws:
Exception

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

convertAnODTDocumentToHTML

public void convertAnODTDocumentToHTML()
                                throws Exception
Throws:
Exception

convertAnDocDocumentToHTML

public void convertAnDocDocumentToHTML()
                                throws Exception
Throws:
Exception

convertAnRtfDocumentToHTML

public void convertAnRtfDocumentToHTML()
                                throws Exception
Throws:
Exception

convertAnRtfInputStreamToHTMLOutputStream

public void convertAnRtfInputStreamToHTMLOutputStream()
                                               throws Exception
Throws:
Exception

convertAnTxtDocumentToHTML

public void convertAnTxtDocumentToHTML()
                                throws Exception
Throws:
Exception

convertAnXMLDocumentToHTML

public void convertAnXMLDocumentToHTML()
                                throws Exception
Throws:
Exception

convertAnPDFDocumentToHTML

public void convertAnPDFDocumentToHTML()
                                throws Exception
Throws:
Exception

assertConvertAnDocumentToHTML

public void assertConvertAnDocumentToHTML(String extension)
                                   throws Exception
Throws:
Exception

convertAnODTDocumentToDoc

public void convertAnODTDocumentToDoc()
                               throws Exception
Throws:
Exception

convertAnODTDocumentToRTF

public void convertAnODTDocumentToRTF()
                               throws Exception
Throws:
Exception

convertAnODTDocumentIntoANonSupportedFormat

public void convertAnODTDocumentIntoANonSupportedFormat()
                                                 throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.