org.kuali.rice.kns.web.struts.form.pojo
Class PojoPluginTest

java.lang.Object
  extended by org.kuali.rice.kns.web.struts.form.pojo.PojoPluginTest

public class PojoPluginTest
extends Object


Nested Class Summary
static class PojoPluginTest.TestCollectionHolder
          Test class that holds a collection, but trying to get it results in a NestedNullException.
static class PojoPluginTest.TestCollectionHolder2
          Test class that holds a collection, but trying to get it results in a NestedNullException.
static class PojoPluginTest.TestCollectionHolderHolder
          Ugly name, but it holds a TestCollectionHolder
 
Constructor Summary
PojoPluginTest()
           
 
Method Summary
 void testGenerateIndexedPropertyNonList()
          Tests that original IndexOutOfBoundsException is thrown when the property is not a List
 void testGenerateIndexedPropertyNonPBO()
          Tests that original IndexOutOfBoundsException is thrown when the bean is not a PersistableBusinessObject
 void testGetChildCollectionThrowsNestedNullException()
          Testing scenario that was not working in the linked issue off of KULRICE-6877: KualiMaintainbleImpl#performCollectionForceUpperCase blowing up
 void testNestedNullIsWriteable()
          Testing scenario that isWriteable blows up with NestedNullException when property value is null KULRICE-6877: KualiMaintainbleImpl#performCollectionForceUpperCase blowing up
 void testUndefinedOJBClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoPluginTest

public PojoPluginTest()
Method Detail

testGetChildCollectionThrowsNestedNullException

public void testGetChildCollectionThrowsNestedNullException()
                                                     throws Exception

Testing scenario that was not working in the linked issue off of KULRICE-6877: KualiMaintainbleImpl#performCollectionForceUpperCase blowing up

Throws:
Exception

testNestedNullIsWriteable

public void testNestedNullIsWriteable()
                               throws Exception

Testing scenario that isWriteable blows up with NestedNullException when property value is null KULRICE-6877: KualiMaintainbleImpl#performCollectionForceUpperCase blowing up

Throws:
Exception

testGenerateIndexedPropertyNonPBO

public void testGenerateIndexedPropertyNonPBO()
                                       throws IllegalAccessException,
                                              InvocationTargetException,
                                              NoSuchMethodException
Tests that original IndexOutOfBoundsException is thrown when the bean is not a PersistableBusinessObject

Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException

testGenerateIndexedPropertyNonList

public void testGenerateIndexedPropertyNonList()
                                        throws IllegalAccessException,
                                               InvocationTargetException,
                                               NoSuchMethodException
Tests that original IndexOutOfBoundsException is thrown when the property is not a List

Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException

testUndefinedOJBClass

public void testUndefinedOJBClass()


Copyright © 2005–2015 The Kuali Foundation. All rights reserved.