org.apache.commons.ognl.test
Class PropertySetterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.ognl.test.PropertySetterTest
All Implemented Interfaces:
junit.framework.Test

public class PropertySetterTest
extends junit.framework.TestCase

Tests being able to set property on object with interface that doesn't define setter. See OGNL-115.


Nested Class Summary
static interface PropertySetterTest.TestInterface
           
 class PropertySetterTest.TestObject
           
 
Constructor Summary
PropertySetterTest()
           
 
Method Summary
 PropertySetterTest.TestInterface getInterfaceObject()
           
 String getKey()
           
 Map getMap()
           
 PropertySetterTest.TestObject getObject()
           
 String getPropertyKey()
           
 void testEnhancedOgnl()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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
 

Constructor Detail

PropertySetterTest

public PropertySetterTest()
Method Detail

getMap

public Map getMap()

getKey

public String getKey()

getObject

public PropertySetterTest.TestObject getObject()

getInterfaceObject

public PropertySetterTest.TestInterface getInterfaceObject()

getPropertyKey

public String getPropertyKey()

testEnhancedOgnl

public void testEnhancedOgnl()
                      throws Exception
Throws:
Exception


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.