org.silverpeas.attachment.repository
Class DocumentConverterTest

java.lang.Object
  extended by org.silverpeas.attachment.repository.DocumentConverterTest

public class DocumentConverterTest
extends Object


Constructor Summary
DocumentConverterTest()
           
 
Method Summary
 void cleanRepository()
           
static void loadSpringContext()
           
 void setupJcr()
           
static void tearAlldown()
           
 void testAddAttachment()
          Test of addAttachment method, of class SimpleDocumentConverter.
 void testConvertNode()
          Test of convertNode method, of class SimpleDocumentConverter.
 void testFillNodeFromSimpleDocument()
          Test of fillNode method, of class SimpleDocumentConverter.
 void testFillNodeFromSimpleDocumentAndContent()
          Test of fillNode method, of class SimpleDocumentConverter.
 void testGetAttachment()
          Test of getAttachment method, of class SimpleDocumentConverter.
 void testGetNoAttachment()
          Test of getAttachment method, of class SimpleDocumentConverter.
 void testRemoveAttachment()
          Test of removeAttachment method, of class SimpleDocumentConverter.
 void testUpdateDocumentVersion()
          Test of fillNode method, of class SimpleDocumentConverter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentConverterTest

public DocumentConverterTest()
Method Detail

cleanRepository

public void cleanRepository()
                     throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

loadSpringContext

public static void loadSpringContext()
                              throws Exception
Throws:
Exception

tearAlldown

public static void tearAlldown()
                        throws Exception
Throws:
Exception

setupJcr

public void setupJcr()
              throws Exception
Throws:
Exception

testConvertNode

public void testConvertNode()
                     throws Exception
Test of convertNode method, of class SimpleDocumentConverter.

Throws:
Exception

testGetAttachment

public void testGetAttachment()
                       throws Exception
Test of getAttachment method, of class SimpleDocumentConverter.

Throws:
Exception

testGetNoAttachment

public void testGetNoAttachment()
                         throws Exception
Test of getAttachment method, of class SimpleDocumentConverter.

Throws:
Exception

testFillNodeFromSimpleDocument

public void testFillNodeFromSimpleDocument()
                                    throws Exception
Test of fillNode method, of class SimpleDocumentConverter.

Throws:
Exception

testFillNodeFromSimpleDocumentAndContent

public void testFillNodeFromSimpleDocumentAndContent()
                                              throws Exception
Test of fillNode method, of class SimpleDocumentConverter.

Throws:
Exception

testAddAttachment

public void testAddAttachment()
                       throws Exception
Test of addAttachment method, of class SimpleDocumentConverter.

Throws:
Exception

testRemoveAttachment

public void testRemoveAttachment()
                          throws Exception
Test of removeAttachment method, of class SimpleDocumentConverter.

Throws:
Exception

testUpdateDocumentVersion

public void testUpdateDocumentVersion()
                               throws Exception
Test of fillNode method, of class SimpleDocumentConverter.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.