com.silverpeas.sharing.model
Class VersionFileAccessControlTest

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

public class VersionFileAccessControlTest
extends Object

Author:
ehugonnet

Constructor Summary
VersionFileAccessControlTest()
           
 
Method Summary
 void cleanRepository()
           
static void generalCleanUp()
           
 void generalSetUp()
           
 Connection getConnection()
           
 javax.jcr.Repository getRepository()
           
static void prepareDataSet()
           
 void testIsNotReadable()
           
 void testIsReadable()
          Test of isReadable method, of class SimpleFileAccessControl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionFileAccessControlTest

public VersionFileAccessControlTest()
Method Detail

prepareDataSet

public static void prepareDataSet()
                           throws Exception
Throws:
Exception

getConnection

public Connection getConnection()
                         throws SQLException
Throws:
SQLException

getRepository

public javax.jcr.Repository getRepository()

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

cleanRepository

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

generalCleanUp

public static void generalCleanUp()
                           throws Exception
Throws:
Exception

testIsReadable

public void testIsReadable()
Test of isReadable method, of class SimpleFileAccessControl.


testIsNotReadable

public void testIsNotReadable()


Copyright © 2016 Silverpeas. All Rights Reserved.