org.silverpeas.mylinks.web
Class MyLinksResourceTest

java.lang.Object
  extended by org.silverpeas.mylinks.web.MyLinksResourceTest

public class MyLinksResourceTest
extends Object


Constructor Summary
MyLinksResourceTest()
           
 
Method Summary
 void addComponentLink()
           
 void addLink()
           
 void addSpaceLink()
           
 void deleteLink()
           
 void getMyLinkOfCurrentUserWithoutPosition()
           
 void getMyLinkOfCurrentUserWithPosition()
           
 void getMyLinksWithoutPositionAndOneNotVisible()
           
 void getMyLinksWithPositionAndOneNotVisible()
           
 void getMyLinkThatDoesNotExists()
           
 void getMyLinkThatTheCurrentUserIsNotOwner()
           
 void saveUserLinksOrderAtFirstWhenNoPositionBefore()
           
 void saveUserLinksOrderAtFirstWhenPositionExistingBefore()
           
 void saveUserLinksOrderAtLastWhenNoPositionBefore()
           
 void saveUserLinksOrderAtLastWhenPositionExistingBefore()
           
 void saveUserLinksOrderAtMiddleWhenNoPositionBefore()
           
 void saveUserLinksOrderAtMiddleWhenPositionExistingBefore()
           
 void saveUserLinksOrderBadRequest()
           
 void saveUserLinksOrderFirstSamePositionWhenNoPositionBefore()
           
 void saveUserLinksOrderFisrtSamePositionWhenPositionExistingBefore()
           
 void saveUserLinksOrderLastSamePositionWhenNoPositionBefore()
           
 void saveUserLinksOrderLastSamePositionWhenPositionExistingBefore()
           
 void saveUserLinksOrderMiddleSamePositionWhenAllPositionExistingBefore()
           
 void saveUserLinksOrderMiddleSamePositionWhenPositionExistingBefore()
           
 void saveUserLinksOrderWhenStrangePositionExistingBefore()
           
 void setup()
           
 void tearDown()
           
 void updateLink()
           
 void updateLinkButNameIsMissing()
           
 void updateLinkButUrlIsMissing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLinksResourceTest

public MyLinksResourceTest()
Method Detail

setup

public void setup()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()

getMyLinksWithoutPositionAndOneNotVisible

public void getMyLinksWithoutPositionAndOneNotVisible()

getMyLinksWithPositionAndOneNotVisible

public void getMyLinksWithPositionAndOneNotVisible()

getMyLinkOfCurrentUserWithoutPosition

public void getMyLinkOfCurrentUserWithoutPosition()

getMyLinkOfCurrentUserWithPosition

public void getMyLinkOfCurrentUserWithPosition()

getMyLinkThatTheCurrentUserIsNotOwner

public void getMyLinkThatTheCurrentUserIsNotOwner()

getMyLinkThatDoesNotExists

public void getMyLinkThatDoesNotExists()

addLink

public void addLink()

updateLink

public void updateLink()
                throws Exception
Throws:
Exception

updateLinkButUrlIsMissing

public void updateLinkButUrlIsMissing()
                               throws Exception
Throws:
Exception

updateLinkButNameIsMissing

public void updateLinkButNameIsMissing()
                                throws Exception
Throws:
Exception

deleteLink

public void deleteLink()
                throws Exception
Throws:
Exception

addSpaceLink

public void addSpaceLink()

addComponentLink

public void addComponentLink()

saveUserLinksOrderAtMiddleWhenNoPositionBefore

public void saveUserLinksOrderAtMiddleWhenNoPositionBefore()
                                                    throws Exception
Throws:
Exception

saveUserLinksOrderAtFirstWhenNoPositionBefore

public void saveUserLinksOrderAtFirstWhenNoPositionBefore()
                                                   throws Exception
Throws:
Exception

saveUserLinksOrderAtLastWhenNoPositionBefore

public void saveUserLinksOrderAtLastWhenNoPositionBefore()
                                                  throws Exception
Throws:
Exception

saveUserLinksOrderFirstSamePositionWhenNoPositionBefore

public void saveUserLinksOrderFirstSamePositionWhenNoPositionBefore()
                                                             throws Exception
Throws:
Exception

saveUserLinksOrderLastSamePositionWhenNoPositionBefore

public void saveUserLinksOrderLastSamePositionWhenNoPositionBefore()
                                                            throws Exception
Throws:
Exception

saveUserLinksOrderAtMiddleWhenPositionExistingBefore

public void saveUserLinksOrderAtMiddleWhenPositionExistingBefore()
                                                          throws Exception
Throws:
Exception

saveUserLinksOrderAtFirstWhenPositionExistingBefore

public void saveUserLinksOrderAtFirstWhenPositionExistingBefore()
                                                         throws Exception
Throws:
Exception

saveUserLinksOrderAtLastWhenPositionExistingBefore

public void saveUserLinksOrderAtLastWhenPositionExistingBefore()
                                                        throws Exception
Throws:
Exception

saveUserLinksOrderFisrtSamePositionWhenPositionExistingBefore

public void saveUserLinksOrderFisrtSamePositionWhenPositionExistingBefore()
                                                                   throws Exception
Throws:
Exception

saveUserLinksOrderMiddleSamePositionWhenPositionExistingBefore

public void saveUserLinksOrderMiddleSamePositionWhenPositionExistingBefore()
                                                                    throws Exception
Throws:
Exception

saveUserLinksOrderMiddleSamePositionWhenAllPositionExistingBefore

public void saveUserLinksOrderMiddleSamePositionWhenAllPositionExistingBefore()
                                                                       throws Exception
Throws:
Exception

saveUserLinksOrderLastSamePositionWhenPositionExistingBefore

public void saveUserLinksOrderLastSamePositionWhenPositionExistingBefore()
                                                                  throws Exception
Throws:
Exception

saveUserLinksOrderWhenStrangePositionExistingBefore

public void saveUserLinksOrderWhenStrangePositionExistingBefore()
                                                         throws Exception
Throws:
Exception

saveUserLinksOrderBadRequest

public void saveUserLinksOrderBadRequest()
                                  throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.