net.sf.tapestry.junit.prop
Class PropertyHelperTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.sf.tapestry.junit.prop.PropertyHelperTest
All Implemented Interfaces:
Test

public class PropertyHelperTest
extends TestCase

Tests for various aspects of dynamic property access via PropertyHelper.

Version:
$Id: PropertyHelperTest.java,v 1.1 2001/10/08 18:28:40 hship Exp $
Author:
Howard Ship

Inner Class Summary
static class PropertyHelperTest.BasicBean
           
static class PropertyHelperTest.PublicBean
           
 
Constructor Summary
PropertyHelperTest(java.lang.String name)
           
 
Method Summary
 int getIntProperty()
           
 java.lang.String getStringProperty()
           
static Test suite()
           
 void testGetAccessorMap()
           
 void testGetAccessorPublicBean()
           
 void testGetAccessorReadOnly()
           
 void testGetAccessorReadWrite()
           
 void testGetAccessorsMap()
           
 void testGetAccessorsPublicBean()
           
 void testGetAccessorsStandard()
          Gets accessors for a standard bean.
 void testGetUnknownAccessor()
           
 void testNormalPropertyRead()
           
 void testPathPropertyWrite()
           
 void testPropertyPath()
           
 void testPublicBean()
           
 void testSimpleIntProperty()
           
 void testSimplePropertyWrite()
           
 void testSimpleStringProperty()
           
 void testSplitBasicPath()
           
 void testSplitPathPropertyWrite()
           
 void testSplitPropertyPath()
           
 void testUnknownProperty()
           
 void testUnknownPropertyPath()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, runTest, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyHelperTest

public PropertyHelperTest(java.lang.String name)
Method Detail

suite

public static Test suite()

testSimpleStringProperty

public void testSimpleStringProperty()

testSimpleIntProperty

public void testSimpleIntProperty()

testSplitBasicPath

public void testSplitBasicPath()

testPublicBean

public void testPublicBean()

testPropertyPath

public void testPropertyPath()

testSplitPropertyPath

public void testSplitPropertyPath()

testNormalPropertyRead

public void testNormalPropertyRead()

testSimplePropertyWrite

public void testSimplePropertyWrite()

testPathPropertyWrite

public void testPathPropertyWrite()

testSplitPathPropertyWrite

public void testSplitPathPropertyWrite()

testUnknownProperty

public void testUnknownProperty()

testUnknownPropertyPath

public void testUnknownPropertyPath()

testGetAccessorsStandard

public void testGetAccessorsStandard()
Gets accessors for a standard bean.

testGetAccessorsPublicBean

public void testGetAccessorsPublicBean()

testGetAccessorsMap

public void testGetAccessorsMap()

testGetAccessorReadWrite

public void testGetAccessorReadWrite()

testGetAccessorReadOnly

public void testGetAccessorReadOnly()

testGetAccessorPublicBean

public void testGetAccessorPublicBean()

testGetAccessorMap

public void testGetAccessorMap()

testGetUnknownAccessor

public void testGetUnknownAccessor()

getStringProperty

public java.lang.String getStringProperty()

getIntProperty

public int getIntProperty()