org.alfresco.jcr.session
Class SessionImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.jcr.test.BaseJCRTest
              extended by org.alfresco.jcr.session.SessionImplTest
All Implemented Interfaces:
junit.framework.Test

public class SessionImplTest
extends BaseJCRTest

Test JCR Session


Field Summary
protected  javax.jcr.Session superuserSession
           
 
Fields inherited from class org.alfresco.jcr.test.BaseJCRTest
adminUserName, applicationContext, repository, storeRef
 
Constructor Summary
SessionImplTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAttributes()
           
 void testLogout()
           
 void testRepository()
           
 void testSessionThread()
           
 void testUserId()
           
 
Methods inherited from class org.alfresco.jcr.test.BaseJCRTest
getAdminUserName, getWorkspace
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

superuserSession

protected javax.jcr.Session superuserSession
Constructor Detail

SessionImplTest

public SessionImplTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseJCRTest
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testRepository

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

testUserId

public void testUserId()

testAttributes

public void testAttributes()

testLogout

public void testLogout()

testSessionThread

public void testSessionThread()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.