org.silverpeas.wysiwyg.control
Class WysiwygControllerTest

java.lang.Object
  extended by org.silverpeas.wysiwyg.control.WysiwygControllerTest

public class WysiwygControllerTest
extends Object


Constructor Summary
WysiwygControllerTest()
           
 
Method Summary
 void testCopyWysiwygFRENNoImageInJcr()
          Test of copy method, of class WysiwygController.
 void testCopyWysiwygFRENWithImageInJcr()
          Test of copy method, of class WysiwygController.
 void testCopyWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr()
          Test of copy method, of class WysiwygController.
 void testCopyWysiwygFRThatIsEmptyENWithImageInJcr()
          Test of copy method, of class WysiwygController.
 void testCopyWysiwygThatExistsOnlyInEN()
          Test of copy method, of class WysiwygController.
 void testCreateWysiwyg()
          Test of createFileAndAttachment method, of class WysiwygController.
 void testFinNode()
          Test of finNode method, of class WysiwygController.
 void testFinNode2()
          Test of finNode2 method, of class WysiwygController.
 void testGetNodePath()
          Test of getNodePath method, of class WysiwygController.
 void testGetNodePathOnLinux()
          Test of getNodePath method, of class WysiwygController.
 void testHavegotwysiwygEmptyWysiwygFRAndEmptyENWysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygLegacyEmptyFRWysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrENwysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygLegacyFRWysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygLegacyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygtodisplayEmptyWysiwygFRAndEmptyENWysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrENwysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayLegacyFRWysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayLegacyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayWysiwyg()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayWysiwygThatDoesNotExist()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygtodisplayWysiwygThatExistsOnlyInEN()
          Test of haveGotWysiwygToDisplay method, of class WysiwygController.
 void testHavegotwysiwygWysiwyg()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygWysiwygThatDoesNotExist()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testHavegotwysiwygWysiwygThatExistsOnlyInEN()
          Test of haveGotWysiwyg method, of class WysiwygController.
 void testIgnoreLeadingSlash()
          Test of ignoreAntiSlash method, of class WysiwygController.
 void testLoadEmptyWysiwygFRAndEmptyENWysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadLegacyEmptyFRWysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadLegacyEmptyFRWysiwygAndJcrENwysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadLegacyFRWysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadLegacyFRWysiwygAndJcrEmptyENwysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadWysiwyg()
          Test of load method, of class WysiwygController.
 void testLoadWysiwygForDisplayOnly()
          Test of load method, of class WysiwygController.
 void testLoadWysiwygThatDoesNotExist()
          Test of load method, of class WysiwygController.
 void testLoadWysiwygThatExistsOnlyInEN()
          Test of load method, of class WysiwygController.
 void testMoveWysiwygFRENNoImageInJcr()
          Test of move method, of class WysiwygController.
 void testMoveWysiwygFRENWithImageInJcr()
          Test of move method, of class WysiwygController.
 void testMoveWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr()
          Test of move method, of class WysiwygController.
 void testMoveWysiwygFRThatIsEmptyENWithImageInJcr()
          Test of move method, of class WysiwygController.
 void testMoveWysiwygThatExistsOnlyInEN()
          Test of move method, of class WysiwygController.
 void testReplaceInternalImageId()
           
 void testReplaceInternalImageIdInOtherInstance()
           
 void testSaveEmptyWysiwyg()
          Test of save method, of class WysiwygController.
 void testSaveExistingWysiwygWithWrongFileName()
          Test of save method, of class WysiwygController.
 void testSaveVersionedWysiwygThenUpdateItWithEmptyOne()
          Test of save method, of class WysiwygController.
 void testSaveWysiwyg()
          Test of save method, of class WysiwygController.
 void testSaveWysiwygThenUpdateIt()
          Test of save method, of class WysiwygController.
 void testSaveWysiwygThenUpdateItWithEmptyOne()
          Test of save method, of class WysiwygController.
 void testSaveWysiwygWithRightFileName()
          Test of save method, of class WysiwygController.
 void testSupprDoubleAntiSlash()
          Test of ignoreAntiSlash method, of class WysiwygController.
 void testSuppressFinalSlash()
           
 void testSuppressLeadingSlashesOrAntislashes()
          Test of ignoreAntiSlash method, of class WysiwygController.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WysiwygControllerTest

public WysiwygControllerTest()
Method Detail

testFinNode

public void testFinNode()
Test of finNode method, of class WysiwygController.


testFinNode2

public void testFinNode2()
Test of finNode2 method, of class WysiwygController.


testGetNodePath

public void testGetNodePath()
Test of getNodePath method, of class WysiwygController.


testGetNodePathOnLinux

public void testGetNodePathOnLinux()
Test of getNodePath method, of class WysiwygController.


testSuppressLeadingSlashesOrAntislashes

public void testSuppressLeadingSlashesOrAntislashes()
Test of ignoreAntiSlash method, of class WysiwygController.


testIgnoreLeadingSlash

public void testIgnoreLeadingSlash()
Test of ignoreAntiSlash method, of class WysiwygController.


testSupprDoubleAntiSlash

public void testSupprDoubleAntiSlash()
Test of ignoreAntiSlash method, of class WysiwygController.


testSuppressFinalSlash

public void testSuppressFinalSlash()

testCopyWysiwygThatExistsOnlyInEN

public void testCopyWysiwygThatExistsOnlyInEN()
                                       throws Exception
Test of copy method, of class WysiwygController.

Throws:
Exception

testCopyWysiwygFRENNoImageInJcr

public void testCopyWysiwygFRENNoImageInJcr()
                                     throws Exception
Test of copy method, of class WysiwygController.

Throws:
Exception

testCopyWysiwygFRENWithImageInJcr

public void testCopyWysiwygFRENWithImageInJcr()
                                       throws Exception
Test of copy method, of class WysiwygController.

Throws:
Exception

testCopyWysiwygFRThatIsEmptyENWithImageInJcr

public void testCopyWysiwygFRThatIsEmptyENWithImageInJcr()
                                                  throws Exception
Test of copy method, of class WysiwygController.

Throws:
Exception

testCopyWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr

public void testCopyWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr()
                                                             throws Exception
Test of copy method, of class WysiwygController.

Throws:
Exception

testMoveWysiwygThatExistsOnlyInEN

public void testMoveWysiwygThatExistsOnlyInEN()
                                       throws Exception
Test of move method, of class WysiwygController.

Throws:
Exception

testMoveWysiwygFRENNoImageInJcr

public void testMoveWysiwygFRENNoImageInJcr()
                                     throws Exception
Test of move method, of class WysiwygController.

Throws:
Exception

testMoveWysiwygFRENWithImageInJcr

public void testMoveWysiwygFRENWithImageInJcr()
                                       throws Exception
Test of move method, of class WysiwygController.

Throws:
Exception

testMoveWysiwygFRThatIsEmptyENWithImageInJcr

public void testMoveWysiwygFRThatIsEmptyENWithImageInJcr()
                                                  throws Exception
Test of move method, of class WysiwygController.

Throws:
Exception

testMoveWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr

public void testMoveWysiwygFRThatIsEmptyENThatIsEmptyWithImageInJcr()
                                                             throws Exception
Test of move method, of class WysiwygController.

Throws:
Exception

testLoadWysiwygThatExistsOnlyInEN

public void testLoadWysiwygThatExistsOnlyInEN()
                                       throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadWysiwygThatDoesNotExist

public void testLoadWysiwygThatDoesNotExist()
                                     throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadLegacyFRWysiwyg

public void testLoadLegacyFRWysiwyg()
                             throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadLegacyEmptyFRWysiwyg

public void testLoadLegacyEmptyFRWysiwyg()
                                  throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadLegacyEmptyFRWysiwygAndJcrENwysiwyg

public void testLoadLegacyEmptyFRWysiwygAndJcrENwysiwyg()
                                                 throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadLegacyFRWysiwygAndJcrEmptyENwysiwyg

public void testLoadLegacyFRWysiwygAndJcrEmptyENwysiwyg()
                                                 throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg

public void testLoadLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
                                                      throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadWysiwygForDisplayOnly

public void testLoadWysiwygForDisplayOnly()
                                   throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadWysiwyg

public void testLoadWysiwyg()
                     throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testLoadEmptyWysiwygFRAndEmptyENWysiwyg

public void testLoadEmptyWysiwygFRAndEmptyENWysiwyg()
                                             throws Exception
Test of load method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayWysiwygThatExistsOnlyInEN

public void testHavegotwysiwygtodisplayWysiwygThatExistsOnlyInEN()
                                                          throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayWysiwygThatDoesNotExist

public void testHavegotwysiwygtodisplayWysiwygThatDoesNotExist()
                                                        throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayLegacyFRWysiwyg

public void testHavegotwysiwygtodisplayLegacyFRWysiwyg()
                                                throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayLegacyEmptyFRWysiwyg

public void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwyg()
                                                     throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrENwysiwyg

public void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrENwysiwyg()
                                                                    throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayLegacyFRWysiwygAndJcrEmptyENwysiwyg

public void testHavegotwysiwygtodisplayLegacyFRWysiwygAndJcrEmptyENwysiwyg()
                                                                    throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg

public void testHavegotwysiwygtodisplayLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
                                                                         throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayWysiwyg

public void testHavegotwysiwygtodisplayWysiwyg()
                                        throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygtodisplayEmptyWysiwygFRAndEmptyENWysiwyg

public void testHavegotwysiwygtodisplayEmptyWysiwygFRAndEmptyENWysiwyg()
                                                                throws Exception
Test of haveGotWysiwygToDisplay method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygWysiwygThatExistsOnlyInEN

public void testHavegotwysiwygWysiwygThatExistsOnlyInEN()
                                                 throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygWysiwygThatDoesNotExist

public void testHavegotwysiwygWysiwygThatDoesNotExist()
                                               throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygLegacyFRWysiwyg

public void testHavegotwysiwygLegacyFRWysiwyg()
                                       throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygLegacyEmptyFRWysiwyg

public void testHavegotwysiwygLegacyEmptyFRWysiwyg()
                                            throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrENwysiwyg

public void testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrENwysiwyg()
                                                           throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygLegacyFRWysiwygAndJcrEmptyENwysiwyg

public void testHavegotwysiwygLegacyFRWysiwygAndJcrEmptyENwysiwyg()
                                                           throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg

public void testHavegotwysiwygLegacyEmptyFRWysiwygAndJcrEmptyENwysiwyg()
                                                                throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygWysiwyg

public void testHavegotwysiwygWysiwyg()
                               throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testHavegotwysiwygEmptyWysiwygFRAndEmptyENWysiwyg

public void testHavegotwysiwygEmptyWysiwygFRAndEmptyENWysiwyg()
                                                       throws Exception
Test of haveGotWysiwyg method, of class WysiwygController.

Throws:
Exception

testCreateWysiwyg

public void testCreateWysiwyg()
                       throws Exception
Test of createFileAndAttachment method, of class WysiwygController.

Throws:
Exception

testSaveWysiwyg

public void testSaveWysiwyg()
                     throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveEmptyWysiwyg

public void testSaveEmptyWysiwyg()
                          throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveWysiwygThenUpdateIt

public void testSaveWysiwygThenUpdateIt()
                                 throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveWysiwygThenUpdateItWithEmptyOne

public void testSaveWysiwygThenUpdateItWithEmptyOne()
                                             throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveExistingWysiwygWithWrongFileName

public void testSaveExistingWysiwygWithWrongFileName()
                                              throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveWysiwygWithRightFileName

public void testSaveWysiwygWithRightFileName()
                                      throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testSaveVersionedWysiwygThenUpdateItWithEmptyOne

public void testSaveVersionedWysiwygThenUpdateItWithEmptyOne()
                                                      throws Exception
Test of save method, of class WysiwygController.

Throws:
Exception

testReplaceInternalImageId

public void testReplaceInternalImageId()
                                throws IOException
Throws:
IOException

testReplaceInternalImageIdInOtherInstance

public void testReplaceInternalImageIdInOtherInstance()
                                               throws IOException
Throws:
IOException


Copyright © 2016 Silverpeas. All Rights Reserved.