org.springframework.osgi
Class TestUtils

java.lang.Object
  extended by org.springframework.osgi.TestUtils

public abstract class TestUtils
extends Object

Util classes for test cases.

Author:
Costin Leau

Constructor Summary
TestUtils()
           
 
Method Summary
static Object getFieldValue(Object object, String fieldName)
           
static Object invokeMethod(Object target, String methodName, Object[] args)
           
static Object invokeStaticMethod(Class target, String methodName, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtils

public TestUtils()
Method Detail

getFieldValue

public static Object getFieldValue(Object object,
                                   String fieldName)

invokeMethod

public static Object invokeMethod(Object target,
                                  String methodName,
                                  Object[] args)

invokeStaticMethod

public static Object invokeStaticMethod(Class target,
                                        String methodName,
                                        Object[] args)


Copyright © 2006-2009 Spring Framework. All Rights Reserved.