org.apache.tapestry.engine.state
Class TestSessionScopeManager

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.engine.state.TestSessionScopeManager

public class TestSessionScopeManager
extends BaseComponentTestCase

Tests for SessionScopeManager.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
TestSessionScopeManager()
           
 
Method Summary
protected  SessionStoreOptimized newOptimized(boolean dirty)
           
protected  WebSession newSession()
           
 void testExists()
           
 void testExistsMissing()
           
 void testExistsNoSession()
           
 void testGetAndCreate()
           
 void testGetExists()
           
 void testStore()
           
 void testStoreOptimizedClean()
           
 void testStoreOptimizedDirty()
           
protected  void trainGetAttribute(WebSession session, String name, Object attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSessionScopeManager

public TestSessionScopeManager()
Method Detail

testExistsNoSession

public void testExistsNoSession()

testExistsMissing

public void testExistsMissing()

testExists

public void testExists()

testGetExists

public void testGetExists()

testGetAndCreate

public void testGetAndCreate()

trainGetAttribute

protected void trainGetAttribute(WebSession session,
                                 String name,
                                 Object attribute)

testStore

public void testStore()

newSession

protected WebSession newSession()

newOptimized

protected SessionStoreOptimized newOptimized(boolean dirty)

testStoreOptimizedClean

public void testStoreOptimizedClean()

testStoreOptimizedDirty

public void testStoreOptimizedDirty()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.