com.silverpeas.accesscontrol
Class NodeAccessControllerTest

java.lang.Object
  extended by com.silverpeas.accesscontrol.NodeAccessControllerTest

@PrepareForTest(value=com.stratelia.webactiv.util.EJBUtilitaire.class)
public class NodeAccessControllerTest
extends Object

Author:
ehugonnet

Constructor Summary
NodeAccessControllerTest()
           
 
Method Summary
 void setup()
           
 void userIsAuthorizedWhenNodeHaveNoSpecificRightsOnComponent()
          Test of isUserAuthorized method, of class NodeAccessController.
 void userIsAuthorizedWhenNodeHaveNoSpecificRightsOnNode()
          Test of isUserAuthorized method, of class NodeAccessController.
 void userIsAuthorizedWhithRightsDependOn()
          Test of isUserAuthorized method, of class NodeAccessController.
 void userIsNotAuthorizedWhithRightsDependOn()
          Test of isUserAuthorized method, of class NodeAccessController.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAccessControllerTest

public NodeAccessControllerTest()
Method Detail

setup

public void setup()

userIsAuthorizedWhenNodeHaveNoSpecificRightsOnNode

public void userIsAuthorizedWhenNodeHaveNoSpecificRightsOnNode()
                                                        throws Exception
Test of isUserAuthorized method, of class NodeAccessController.

Throws:
Exception - s

userIsAuthorizedWhenNodeHaveNoSpecificRightsOnComponent

public void userIsAuthorizedWhenNodeHaveNoSpecificRightsOnComponent()
                                                             throws Exception
Test of isUserAuthorized method, of class NodeAccessController.

Throws:
Exception - s

userIsAuthorizedWhithRightsDependOn

public void userIsAuthorizedWhithRightsDependOn()
                                         throws Exception
Test of isUserAuthorized method, of class NodeAccessController.

Throws:
Exception

userIsNotAuthorizedWhithRightsDependOn

public void userIsNotAuthorizedWhithRightsDependOn()
                                            throws Exception
Test of isUserAuthorized method, of class NodeAccessController.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.