com.silverpeas.sharing.model
Class NodeAccessControlTest

java.lang.Object
  extended by com.silverpeas.sharing.model.NodeAccessControlTest

@PrepareForTest(value={com.stratelia.webactiv.util.EJBUtilitaire.class,com.silverpeas.sharing.services.SharingServiceFactory.class})
public class NodeAccessControlTest
extends Object

Author:
ehugonnet

Constructor Summary
NodeAccessControlTest()
           
 
Method Summary
 void testIsReadableAttachment()
          Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.
 void testIsReadableDocument()
          Test of isReadable method, of class NodeAccessControl for a version document.
 void testIsReadableNode()
          Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.
 void testIsUnReadableAttachment()
          Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.
 void testIsUnReadableDocument()
          Test of isReadable method, of class NodeAccessControl for a version document..
 void testIsUnReadableNode()
          Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAccessControlTest

public NodeAccessControlTest()
Method Detail

testIsReadableDocument

public void testIsReadableDocument()
                            throws Exception
Test of isReadable method, of class NodeAccessControl for a version document.

Throws:
Exception

testIsUnReadableDocument

public void testIsUnReadableDocument()
                              throws Exception
Test of isReadable method, of class NodeAccessControl for a version document..

Throws:
Exception

testIsReadableAttachment

public void testIsReadableAttachment()
                              throws Exception
Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.

Throws:
Exception

testIsUnReadableAttachment

public void testIsUnReadableAttachment()
                                throws Exception
Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.

Throws:
Exception

testIsReadableNode

public void testIsReadableNode()
                        throws Exception
Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.

Throws:
Exception

testIsUnReadableNode

public void testIsUnReadableNode()
                          throws Exception
Test of isReadable method, of class NodeAccessControl for an AttachmentDetail.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.