org.springframework.binding.support
Class AbstractPropertyAccessStrategyTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.richclient.test.SpringRichTestCase
              extended by org.springframework.binding.support.AbstractPropertyAccessStrategyTests
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BeanPropertyAccessStrategyTests, ClassPropertyAccessStrategyTests, ObjectPropertyAccessStrategyTests

public abstract class AbstractPropertyAccessStrategyTests
extends SpringRichTestCase

Tests class AbstractPropertyAccessStrategy.

Author:
Oliver Hutchison, Arne Limburg

Field Summary
protected  org.springframework.binding.support.AbstractPropertyAccessStrategy pas
           
protected  TestPropertyChangeListener pcl
           
protected  TestBean testBean
           
protected  org.springframework.binding.value.ValueModel vm
           
 
Fields inherited from class org.springframework.richclient.test.SpringRichTestCase
applicationServices, logger
 
Constructor Summary
AbstractPropertyAccessStrategyTests()
           
 
Method Summary
protected  void assertPropertyMetadata(org.springframework.binding.PropertyMetadataAccessStrategy mas, String property, Class type, boolean isReadable, boolean isWriteable)
           
protected abstract  org.springframework.binding.support.AbstractPropertyAccessStrategy createPropertyAccessStrategy(Object target)
           
protected  void doSetUp()
          Should be implemented in subclasses as an alternative to the final method SpringRichTestCase.setUp()
protected  boolean isStrictNullHandlingEnabled()
           
 void testBeanThatImplementsPropertyChangePublisher()
           
 void testChildPropertyAccessStrategy()
           
 void testListProperty()
           
 void testMapProperty()
           
 void testNestedProperty()
           
 void testReadOnlyProperty()
           
 void testSimpleProperty()
           
 void testWriteOnlyProperty()
           
 
Methods inherited from class org.springframework.richclient.test.SpringRichTestCase
createApplicationContext, createApplicationLifecycleAdvisor, doTearDown, getApplicationServices, registerAdditionalServices, registerBasicServices, setUp, tearDown
 
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

pas

protected org.springframework.binding.support.AbstractPropertyAccessStrategy pas

testBean

protected TestBean testBean

vm

protected org.springframework.binding.value.ValueModel vm

pcl

protected TestPropertyChangeListener pcl
Constructor Detail

AbstractPropertyAccessStrategyTests

public AbstractPropertyAccessStrategyTests()
Method Detail

doSetUp

protected void doSetUp()
                throws Exception
Description copied from class: SpringRichTestCase
Should be implemented in subclasses as an alternative to the final method SpringRichTestCase.setUp()

Overrides:
doSetUp in class SpringRichTestCase
Throws:
Exception

createPropertyAccessStrategy

protected abstract org.springframework.binding.support.AbstractPropertyAccessStrategy createPropertyAccessStrategy(Object target)

isStrictNullHandlingEnabled

protected boolean isStrictNullHandlingEnabled()

testSimpleProperty

public void testSimpleProperty()

testNestedProperty

public void testNestedProperty()

testChildPropertyAccessStrategy

public void testChildPropertyAccessStrategy()

testMapProperty

public void testMapProperty()

testListProperty

public void testListProperty()

testReadOnlyProperty

public void testReadOnlyProperty()

testWriteOnlyProperty

public void testWriteOnlyProperty()

testBeanThatImplementsPropertyChangePublisher

public void testBeanThatImplementsPropertyChangePublisher()

assertPropertyMetadata

protected void assertPropertyMetadata(org.springframework.binding.PropertyMetadataAccessStrategy mas,
                                      String property,
                                      Class type,
                                      boolean isReadable,
                                      boolean isWriteable)


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.