Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils
Class MethodUtilsTestCase  view MethodUtilsTestCase download MethodUtilsTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.MethodUtilsTestCase
All Implemented Interfaces:
junit.framework.Test

public class MethodUtilsTestCase
extends junit.framework.TestCase

Test case for MethodUtils


Field Summary
protected  org.apache.commons.beanutils.priv.PrivateBeanFactory privateBeanFactory
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
MethodUtilsTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Tear down instance variables required by this test case.
 void testGetAccessibleMethod()
           Test getAccessibleMethod.
 void testInvokeExactMethod()
           Test invokeExactMethod.
 void testInvokeMethod()
           Test invokeMethod.
 void testInvokeMethodWithPrimitives()
           Test invokeMethod with a primitive.
 void testParentMethod()
           
 void testPublicSub()
           
 void testSimpleStatic1()
          Simple tests for accessing static methods via invokeMethod().
 void testSimpleStatic2()
          Simple tests for accessing static methods via invokeExactMethod().
 void testSimpleStatic3()
          Simple tests for accessing static methods via getAccessibleMethod()
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

privateBeanFactory

protected org.apache.commons.beanutils.priv.PrivateBeanFactory privateBeanFactory
Constructor Detail

MethodUtilsTestCase

public MethodUtilsTestCase(java.lang.String name)
Construct a new instance of this test case.

Method Detail

setUp

public void setUp()
Set up instance variables required by this test case.


suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
Tear down instance variables required by this test case.


testGetAccessibleMethod

public void testGetAccessibleMethod()

Test getAccessibleMethod.


testInvokeExactMethod

public void testInvokeExactMethod()

Test invokeExactMethod.


testInvokeMethod

public void testInvokeMethod()
                      throws java.lang.Exception

Test invokeMethod.


testInvokeMethodWithPrimitives

public void testInvokeMethodWithPrimitives()
                                    throws java.lang.Exception

Test invokeMethod with a primitive.


testSimpleStatic1

public void testSimpleStatic1()
Simple tests for accessing static methods via invokeMethod().


testSimpleStatic2

public void testSimpleStatic2()
Simple tests for accessing static methods via invokeExactMethod().


testSimpleStatic3

public void testSimpleStatic3()
Simple tests for accessing static methods via getAccessibleMethod()


testPublicSub

public void testPublicSub()
                   throws java.lang.Exception

testParentMethod

public void testParentMethod()
                      throws java.lang.Exception