org.apache.commons.chain.impl
Class TestContextTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.chain.impl.ContextBaseTestCase
              extended by org.apache.commons.chain.impl.TestContextTestCase
All Implemented Interfaces:
junit.framework.Test

public class TestContextTestCase
extends ContextBaseTestCase

Extension of ContextBaseTestCase to validate property delegation.


Field Summary
 
Fields inherited from class org.apache.commons.chain.impl.ContextBaseTestCase
context
 
Constructor Summary
TestContextTestCase(String name)
          Construct a new instance of this test case.
 
Method Summary
protected  Context createContext()
           
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void testPristine()
           
 void testReadOnly()
           
 void testReadWrite()
           
 void testWriteOnly()
           
 
Methods inherited from class org.apache.commons.chain.impl.ContextBaseTestCase
checkAttributeCount, expectedAttributeCount, tearDown, testAttributes, testContains, testEquals, testKeySet, testPutAll, testSeriaization
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestContextTestCase

public TestContextTestCase(String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
Set up instance variables required by this test case.

Overrides:
setUp in class ContextBaseTestCase

suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


testPristine

public void testPristine()
Overrides:
testPristine in class ContextBaseTestCase

testReadOnly

public void testReadOnly()

testReadWrite

public void testReadWrite()

testWriteOnly

public void testWriteOnly()

createContext

protected Context createContext()
Overrides:
createContext in class ContextBaseTestCase


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.