org.apache.commons.ognl
Class TestOgnlRuntime

java.lang.Object
  extended by org.apache.commons.ognl.TestOgnlRuntime

public class TestOgnlRuntime
extends Object

Tests various methods / functionality of OgnlRuntime.


Constructor Summary
TestOgnlRuntime()
           
 
Method Summary
 void test_Call_Method_VarArgs()
           
 void test_Call_Static_Method_Invalid_Class()
           
 void test_Class_Cache_Inspector()
           
 void test_Complicated_Inheritance()
           
 void test_Find_Method_Mixed_Boolean_Getters()
           
 void test_Find_Parameter_Types_Superclass()
           
 void test_Find_Parameter_Types()
           
 void test_Get_Appropriate_Method()
           
 void test_Get_Declared_Methods_With_Synthetic_Methods()
           
 void test_Get_Generic_Parameter_Types()
           
 void test_Get_Private_Class()
           
 void test_Get_Property_Descriptors_With_Synthetic_Methods()
           
 void test_Get_Read_Method_Multiple_Boolean_Getters()
           
 void test_Get_Read_Method_Multiple()
           
 void test_Get_Read_Method()
           
 void test_Get_Super_Or_Interface_Class()
           
 void test_Set_Generic_Parameter_Types()
           
 void test_Setter_Returns()
           
 void testGetCompiler()
           
 void testGetField()
           
 void testGetPropertyDescriptorFromArray()
           
 void testGetSetMethod()
           
 void testOGNLParameterDiscovery()
          Tests OGNL parameter discovery.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestOgnlRuntime

public TestOgnlRuntime()
Method Detail

test_Get_Super_Or_Interface_Class

public void test_Get_Super_Or_Interface_Class()
                                       throws Exception
Throws:
Exception

test_Get_Private_Class

public void test_Get_Private_Class()
                            throws Exception
Throws:
Exception

test_Complicated_Inheritance

public void test_Complicated_Inheritance()
                                  throws Exception
Throws:
Exception

test_Get_Read_Method

public void test_Get_Read_Method()
                          throws Exception
Throws:
Exception

test_Get_Read_Method_Multiple

public void test_Get_Read_Method_Multiple()
                                   throws Exception
Throws:
Exception

test_Get_Read_Method_Multiple_Boolean_Getters

public void test_Get_Read_Method_Multiple_Boolean_Getters()
                                                   throws Exception
Throws:
Exception

test_Find_Method_Mixed_Boolean_Getters

public void test_Find_Method_Mixed_Boolean_Getters()
                                            throws Exception
Throws:
Exception

test_Get_Appropriate_Method

public void test_Get_Appropriate_Method()
                                 throws Exception
Throws:
Exception

test_Call_Static_Method_Invalid_Class

public void test_Call_Static_Method_Invalid_Class()

test_Setter_Returns

public void test_Setter_Returns()
                         throws Exception
Throws:
Exception

test_Call_Method_VarArgs

public void test_Call_Method_VarArgs()
                              throws Exception
Throws:
Exception

test_Class_Cache_Inspector

public void test_Class_Cache_Inspector()
                                throws Exception
Throws:
Exception

test_Set_Generic_Parameter_Types

public void test_Set_Generic_Parameter_Types()
                                      throws Exception
Throws:
Exception

test_Get_Generic_Parameter_Types

public void test_Get_Generic_Parameter_Types()
                                      throws Exception
Throws:
Exception

test_Find_Parameter_Types

public void test_Find_Parameter_Types()
                               throws Exception
Throws:
Exception

test_Find_Parameter_Types_Superclass

public void test_Find_Parameter_Types_Superclass()
                                          throws Exception
Throws:
Exception

test_Get_Declared_Methods_With_Synthetic_Methods

public void test_Get_Declared_Methods_With_Synthetic_Methods()
                                                      throws Exception
Throws:
Exception

test_Get_Property_Descriptors_With_Synthetic_Methods

public void test_Get_Property_Descriptors_With_Synthetic_Methods()
                                                          throws Exception
Throws:
Exception

testOGNLParameterDiscovery

public void testOGNLParameterDiscovery()
                                throws NoSuchMethodException,
                                       CacheException
Tests OGNL parameter discovery.

Throws:
NoSuchMethodException
CacheException

testGetField

public void testGetField()
                  throws OgnlException
Throws:
OgnlException

testGetSetMethod

public void testGetSetMethod()
                      throws IntrospectionException,
                             OgnlException
Throws:
IntrospectionException
OgnlException

testGetCompiler

public void testGetCompiler()

testGetPropertyDescriptorFromArray

public void testGetPropertyDescriptorFromArray()
                                        throws Exception
Throws:
Exception


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