net.sf.sasl.common.helper
Class ReflectionHelperTest

java.lang.Object
  extended by net.sf.sasl.common.helper.ReflectionHelperTest

public class ReflectionHelperTest
extends Object

Class defines tests cases for the ReflectionHelper class.

Author:
Philipp Förmer

Constructor Summary
ReflectionHelperTest()
           
 
Method Summary
 void setUp()
           
 void testGetAllSuperClasses()
          Test cases for ReflectionHelper.getAllSuperClasses(Class) .
 void testGetClassByName()
          Tests cases for getClassByName.
 void testGetCompletePropertyList()
          Tests cases for getCompleteFieldList(Class) method.
 void testGetPropertyGetterMethod()
          Tests cases for getPropertyGetterMethod(Class, String) method.
 void testGetPropertyOverMethodOrField()
          Tests cases for getPropertyOverMethodOrField(Object, String) method.
 void testGetPropertyViaPath()
          Tests cases for getPropertyViaPath(Object, String) method.
 void testHasProperty()
          Tests cases for hasProperty.
 void testInstantiateObject()
          Tests cases for instantiateObject.
 void testSetPropertyOverMethodOrField()
          Test cases for setPropertyOverMethodOrField .
 void testToBeanSetterMethodName()
          Tests cases for toBeanSetterMethodName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionHelperTest

public ReflectionHelperTest()
Method Detail

setUp

public void setUp()

testGetClassByName

public void testGetClassByName()
                        throws Exception
Tests cases for getClassByName.

Throws:
Exception

testGetAllSuperClasses

public void testGetAllSuperClasses()
                            throws Exception
Test cases for ReflectionHelper.getAllSuperClasses(Class) .

Throws:
Exception

testSetPropertyOverMethodOrField

public void testSetPropertyOverMethodOrField()
                                      throws Exception
Test cases for setPropertyOverMethodOrField .

Throws:
Exception

testHasProperty

public void testHasProperty()
                     throws Exception
Tests cases for hasProperty.

Throws:
Exception

testInstantiateObject

public void testInstantiateObject()
                           throws Exception
Tests cases for instantiateObject.

Throws:
Exception

testToBeanSetterMethodName

public void testToBeanSetterMethodName()
                                throws Exception
Tests cases for toBeanSetterMethodName.

Throws:
Exception

testGetCompletePropertyList

public void testGetCompletePropertyList()
                                 throws Exception
Tests cases for getCompleteFieldList(Class) method.

Throws:
Exception

testGetPropertyGetterMethod

public void testGetPropertyGetterMethod()
                                 throws Exception
Tests cases for getPropertyGetterMethod(Class, String) method.

Throws:
Exception

testGetPropertyOverMethodOrField

public void testGetPropertyOverMethodOrField()
                                      throws Exception
Tests cases for getPropertyOverMethodOrField(Object, String) method.

Throws:
Exception

testGetPropertyViaPath

public void testGetPropertyViaPath()
                            throws Exception
Tests cases for getPropertyViaPath(Object, String) method.

Throws:
Exception


Copyright © 2010. All Rights Reserved.