org.apache.maven.shared.utils.reflection
Class ReflectorTest

java.lang.Object
  extended by org.apache.maven.shared.utils.reflection.ReflectorTest

public class ReflectorTest
extends Object

Author:
Stephen Connolly

Constructor Summary
ReflectorTest()
           
 
Method Summary
 void getConstructorNullEmpty()
           
 void getConstructorNullNull()
           
 void getConstructorObjectEmpty()
           
 void getConstructorObjectNull()
           
 void getConstructorPackage()
           
 void getConstructorPrivate()
           
 void getConstructorProtected()
           
 void getConstructorPublic()
           
 void getFieldCoTValueFalsePackageField()
           
 void getFieldCoTValueFalsePrivateField()
           
 void getFieldCoTValueFalseProtectedField()
           
 void getFieldCoTValueFalsePublicField()
           
 void getFieldCoTValuePackageField()
           
 void getFieldCoTValuePrivateField()
           
 void getFieldCoTValueProtectedField()
           
 void getFieldCoTValuePublicField()
           
 void getFieldCoTValueTruePackageField()
           
 void getFieldCoTValueTruePrivateField()
           
 void getFieldCoTValueTrueProtectedField()
           
 void getFieldCoTValueTruePublicField()
           
 void getFieldNullEmpty()
           
 void getFieldNullEmptyFalse()
           
 void getFieldNullEmptyTrue()
           
 void getFieldNullNull()
           
 void getFieldNullNullFalse()
           
 void getFieldNullNullTrue()
           
 void getFieldObjectEmpty()
           
 void getFieldObjectEmptyFalse()
           
 void getFieldObjectEmptyTrue()
           
 void getFieldObjectNull()
           
 void getFieldObjectNullFalse()
           
 void getFieldObjectNullTrue()
           
 void getMethodNullEmptyEmpty()
           
 void getMethodNullEmptyNull()
           
 void getMethodNullNullEmpty()
           
 void getMethodNullNullNull()
           
 void getMethodObjectEmptyEmpty()
           
 void getMethodObjectEmptyNull()
           
 void getMethodObjectNullEmpty()
           
 void getMethodObjectNullNull()
           
 void getMethodPackage()
           
 void getMethodPrivate()
           
 void getMethodProtected()
           
 void getMethodPublic()
           
 void getObjectPropertyNullEmpty()
           
 void getObjectPropertyNullNull()
           
 void getObjectPropertyObjectEmpty()
           
 void getObjectPropertyObjectNull()
           
 void getObjectPropertyViaPackageField()
           
 void getObjectPropertyViaPackageGetter()
           
 void getObjectPropertyViaPrivateField()
           
 void getObjectPropertyViaPrivateGetter()
           
 void getObjectPropertyViaProtectedField()
           
 void getObjectPropertyViaProtectedGetter()
           
 void getObjectPropertyViaPublicField()
           
 void getObjectPropertyViaPublicGetter()
           
 void getSingletonClassEmptyArray()
           
 void getSingletonClassInvalidSignature()
           
 void getSingletonClassNull()
           
 void getSingletonNonStaticMethod()
           
 void getSingletonNullEmptyArray()
           
 void getSingletonNullNull()
           
 void getSingletonPackageMethod()
           
 void getSingletonPackageMethodThrowsSomething()
           
 void getSingletonPrivateMethod()
           
 void getSingletonProtectedMethod()
           
 void getSingletonProtectedMethodThrowsSomething()
           
 void getSingletonPublicMethod()
           
 void getSingletonPublicMethodNullValue()
           
 void getSingletonPublicMethodThrowsSomething()
           
 void getStaticFieldNullEmpty()
           
 void getStaticFieldNullNull()
           
 void getStaticFieldObjectEmpty()
           
 void getStaticFieldObjectNull()
           
 void getStaticFieldPackageField()
           
 void getStaticFieldPrivateField()
           
 void getStaticFieldProtectedField()
           
 void getStaticFieldPublicField()
           
 void invokeNullEmptyEmpty()
           
 void invokeNullEmptyNull()
           
 void invokeNullNullEmpty()
           
 void invokeNullNullNull()
           
 void invokeObjectEmptyEmpty()
           
 void invokeObjectEmptyNull()
           
 void invokeObjectNullEmpty()
           
 void invokeObjectNullNull()
           
 void invokeObjectValidEmpty()
           
 void invokeObjectValidNull()
           
 void invokeObjectValidWrongSignature()
           
 void invokePackageMethod()
           
 void invokePrivateMethod()
           
 void invokeProtectedMethod()
           
 void invokePublicMethod()
           
 void invokeStaticClassEmptyEmptyArray()
           
 void invokeStaticClassEmptyNull()
           
 void invokeStaticClassInvalidSignature()
           
 void invokeStaticClassNullEmptyArray()
           
 void invokeStaticClassNullNull()
           
 void invokeStaticNonStaticMethod()
           
 void invokeStaticNullEmptyEmptyArray()
           
 void invokeStaticNullEmptyNull()
           
 void invokeStaticNullNullEmptyArray()
           
 void invokeStaticNullNullNull()
           
 void invokeStaticPackageMethod()
           
 void invokeStaticPackageMethodThrowsSomething()
           
 void invokeStaticPrivateMethod()
           
 void invokeStaticProtectedMethod()
           
 void invokeStaticProtectedMethodThrowsSomething()
           
 void invokeStaticPublicMethod()
           
 void invokeStaticPublicMethodNullValue()
           
 void invokeStaticPublicMethodThrowsSomething()
           
 void newInstanceClassEmptyArray()
           
 void newInstanceClassInvalidSignature()
           
 void newInstanceClassNull()
           
 void newInstanceNullEmptyArray()
           
 void newInstanceNullNull()
           
 void newInstancePackageConstructor()
           
 void newInstancePackageConstructorThrowsSomething()
           
 void newInstancePrivateConstructor()
           
 void newInstanceProtectedConstructor()
           
 void newInstanceProtectedConstructorThrowsSomething()
           
 void newInstancePublicConstructor()
           
 void newInstancePublicConstructorNullValue()
           
 void newInstancePublicConstructorThrowsSomething()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectorTest

public ReflectorTest()
Method Detail

newInstanceNullNull

public void newInstanceNullNull()
                         throws Exception
Throws:
Exception

newInstanceClassNull

public void newInstanceClassNull()
                          throws Exception
Throws:
Exception

newInstanceNullEmptyArray

public void newInstanceNullEmptyArray()
                               throws Exception
Throws:
Exception

newInstanceClassEmptyArray

public void newInstanceClassEmptyArray()
                                throws Exception
Throws:
Exception

newInstanceClassInvalidSignature

public void newInstanceClassInvalidSignature()
                                      throws Exception
Throws:
Exception

newInstancePrivateConstructor

public void newInstancePrivateConstructor()
                                   throws Exception
Throws:
Exception

newInstancePackageConstructor

public void newInstancePackageConstructor()
                                   throws Exception
Throws:
Exception

newInstancePackageConstructorThrowsSomething

public void newInstancePackageConstructorThrowsSomething()
                                                  throws Exception
Throws:
Exception

newInstanceProtectedConstructor

public void newInstanceProtectedConstructor()
                                     throws Exception
Throws:
Exception

newInstanceProtectedConstructorThrowsSomething

public void newInstanceProtectedConstructorThrowsSomething()
                                                    throws Exception
Throws:
Exception

newInstancePublicConstructor

public void newInstancePublicConstructor()
                                  throws Exception
Throws:
Exception

newInstancePublicConstructorNullValue

public void newInstancePublicConstructorNullValue()
                                           throws Exception
Throws:
Exception

newInstancePublicConstructorThrowsSomething

public void newInstancePublicConstructorThrowsSomething()
                                                 throws Exception
Throws:
Exception

getSingletonNullNull

public void getSingletonNullNull()
                          throws Exception
Throws:
Exception

getSingletonClassNull

public void getSingletonClassNull()
                           throws Exception
Throws:
Exception

getSingletonNullEmptyArray

public void getSingletonNullEmptyArray()
                                throws Exception
Throws:
Exception

getSingletonClassEmptyArray

public void getSingletonClassEmptyArray()
                                 throws Exception
Throws:
Exception

getSingletonClassInvalidSignature

public void getSingletonClassInvalidSignature()
                                       throws Exception
Throws:
Exception

getSingletonPrivateMethod

public void getSingletonPrivateMethod()
                               throws Exception
Throws:
Exception

getSingletonPackageMethod

public void getSingletonPackageMethod()
                               throws Exception
Throws:
Exception

getSingletonPackageMethodThrowsSomething

public void getSingletonPackageMethodThrowsSomething()
                                              throws Exception
Throws:
Exception

getSingletonProtectedMethod

public void getSingletonProtectedMethod()
                                 throws Exception
Throws:
Exception

getSingletonProtectedMethodThrowsSomething

public void getSingletonProtectedMethodThrowsSomething()
                                                throws Exception
Throws:
Exception

getSingletonPublicMethod

public void getSingletonPublicMethod()
                              throws Exception
Throws:
Exception

getSingletonPublicMethodNullValue

public void getSingletonPublicMethodNullValue()
                                       throws Exception
Throws:
Exception

getSingletonPublicMethodThrowsSomething

public void getSingletonPublicMethodThrowsSomething()
                                             throws Exception
Throws:
Exception

getSingletonNonStaticMethod

public void getSingletonNonStaticMethod()
                                 throws Exception
Throws:
Exception

invokeNullNullNull

public void invokeNullNullNull()
                        throws Exception
Throws:
Exception

invokeNullNullEmpty

public void invokeNullNullEmpty()
                         throws Exception
Throws:
Exception

invokeNullEmptyNull

public void invokeNullEmptyNull()
                         throws Exception
Throws:
Exception

invokeNullEmptyEmpty

public void invokeNullEmptyEmpty()
                          throws Exception
Throws:
Exception

invokeObjectNullNull

public void invokeObjectNullNull()
                          throws Exception
Throws:
Exception

invokeObjectNullEmpty

public void invokeObjectNullEmpty()
                           throws Exception
Throws:
Exception

invokeObjectEmptyNull

public void invokeObjectEmptyNull()
                           throws Exception
Throws:
Exception

invokeObjectEmptyEmpty

public void invokeObjectEmptyEmpty()
                            throws Exception
Throws:
Exception

invokeObjectValidNull

public void invokeObjectValidNull()
                           throws Exception
Throws:
Exception

invokeObjectValidEmpty

public void invokeObjectValidEmpty()
                            throws Exception
Throws:
Exception

invokeObjectValidWrongSignature

public void invokeObjectValidWrongSignature()
                                     throws Exception
Throws:
Exception

invokePrivateMethod

public void invokePrivateMethod()
                         throws Exception
Throws:
Exception

invokePackageMethod

public void invokePackageMethod()
                         throws Exception
Throws:
Exception

invokeProtectedMethod

public void invokeProtectedMethod()
                           throws Exception
Throws:
Exception

invokePublicMethod

public void invokePublicMethod()
                        throws Exception
Throws:
Exception

getStaticFieldNullNull

public void getStaticFieldNullNull()
                            throws Exception
Throws:
Exception

getStaticFieldNullEmpty

public void getStaticFieldNullEmpty()
                             throws Exception
Throws:
Exception

getStaticFieldObjectNull

public void getStaticFieldObjectNull()
                              throws Exception
Throws:
Exception

getStaticFieldObjectEmpty

public void getStaticFieldObjectEmpty()
                               throws Exception
Throws:
Exception

getStaticFieldPrivateField

public void getStaticFieldPrivateField()
                                throws Exception
Throws:
Exception

getStaticFieldPackageField

public void getStaticFieldPackageField()
                                throws Exception
Throws:
Exception

getStaticFieldProtectedField

public void getStaticFieldProtectedField()
                                  throws Exception
Throws:
Exception

getStaticFieldPublicField

public void getStaticFieldPublicField()
                               throws Exception
Throws:
Exception

getFieldNullNull

public void getFieldNullNull()
                      throws Exception
Throws:
Exception

getFieldNullEmpty

public void getFieldNullEmpty()
                       throws Exception
Throws:
Exception

getFieldObjectNull

public void getFieldObjectNull()
                        throws Exception
Throws:
Exception

getFieldObjectEmpty

public void getFieldObjectEmpty()
                         throws Exception
Throws:
Exception

getFieldCoTValuePrivateField

public void getFieldCoTValuePrivateField()
                                  throws Exception
Throws:
Exception

getFieldCoTValuePackageField

public void getFieldCoTValuePackageField()
                                  throws Exception
Throws:
Exception

getFieldCoTValueProtectedField

public void getFieldCoTValueProtectedField()
                                    throws Exception
Throws:
Exception

getFieldCoTValuePublicField

public void getFieldCoTValuePublicField()
                                 throws Exception
Throws:
Exception

getFieldNullNullFalse

public void getFieldNullNullFalse()
                           throws Exception
Throws:
Exception

getFieldNullEmptyFalse

public void getFieldNullEmptyFalse()
                            throws Exception
Throws:
Exception

getFieldObjectNullFalse

public void getFieldObjectNullFalse()
                             throws Exception
Throws:
Exception

getFieldObjectEmptyFalse

public void getFieldObjectEmptyFalse()
                              throws Exception
Throws:
Exception

getFieldCoTValueFalsePrivateField

public void getFieldCoTValueFalsePrivateField()
                                       throws Exception
Throws:
Exception

getFieldCoTValueFalsePackageField

public void getFieldCoTValueFalsePackageField()
                                       throws Exception
Throws:
Exception

getFieldCoTValueFalseProtectedField

public void getFieldCoTValueFalseProtectedField()
                                         throws Exception
Throws:
Exception

getFieldCoTValueFalsePublicField

public void getFieldCoTValueFalsePublicField()
                                      throws Exception
Throws:
Exception

getFieldNullNullTrue

public void getFieldNullNullTrue()
                          throws Exception
Throws:
Exception

getFieldNullEmptyTrue

public void getFieldNullEmptyTrue()
                           throws Exception
Throws:
Exception

getFieldObjectNullTrue

public void getFieldObjectNullTrue()
                            throws Exception
Throws:
Exception

getFieldObjectEmptyTrue

public void getFieldObjectEmptyTrue()
                             throws Exception
Throws:
Exception

getFieldCoTValueTruePrivateField

public void getFieldCoTValueTruePrivateField()
                                      throws Exception
Throws:
Exception

getFieldCoTValueTruePackageField

public void getFieldCoTValueTruePackageField()
                                      throws Exception
Throws:
Exception

getFieldCoTValueTrueProtectedField

public void getFieldCoTValueTrueProtectedField()
                                        throws Exception
Throws:
Exception

getFieldCoTValueTruePublicField

public void getFieldCoTValueTruePublicField()
                                     throws Exception
Throws:
Exception

invokeStaticNullNullNull

public void invokeStaticNullNullNull()
                              throws Exception
Throws:
Exception

invokeStaticClassNullNull

public void invokeStaticClassNullNull()
                               throws Exception
Throws:
Exception

invokeStaticNullNullEmptyArray

public void invokeStaticNullNullEmptyArray()
                                    throws Exception
Throws:
Exception

invokeStaticClassNullEmptyArray

public void invokeStaticClassNullEmptyArray()
                                     throws Exception
Throws:
Exception

invokeStaticNullEmptyNull

public void invokeStaticNullEmptyNull()
                               throws Exception
Throws:
Exception

invokeStaticClassEmptyNull

public void invokeStaticClassEmptyNull()
                                throws Exception
Throws:
Exception

invokeStaticNullEmptyEmptyArray

public void invokeStaticNullEmptyEmptyArray()
                                     throws Exception
Throws:
Exception

invokeStaticClassEmptyEmptyArray

public void invokeStaticClassEmptyEmptyArray()
                                      throws Exception
Throws:
Exception

invokeStaticClassInvalidSignature

public void invokeStaticClassInvalidSignature()
                                       throws Exception
Throws:
Exception

invokeStaticPrivateMethod

public void invokeStaticPrivateMethod()
                               throws Exception
Throws:
Exception

invokeStaticPackageMethod

public void invokeStaticPackageMethod()
                               throws Exception
Throws:
Exception

invokeStaticPackageMethodThrowsSomething

public void invokeStaticPackageMethodThrowsSomething()
                                              throws Exception
Throws:
Exception

invokeStaticProtectedMethod

public void invokeStaticProtectedMethod()
                                 throws Exception
Throws:
Exception

invokeStaticProtectedMethodThrowsSomething

public void invokeStaticProtectedMethodThrowsSomething()
                                                throws Exception
Throws:
Exception

invokeStaticPublicMethod

public void invokeStaticPublicMethod()
                              throws Exception
Throws:
Exception

invokeStaticPublicMethodNullValue

public void invokeStaticPublicMethodNullValue()
                                       throws Exception
Throws:
Exception

invokeStaticPublicMethodThrowsSomething

public void invokeStaticPublicMethodThrowsSomething()
                                             throws Exception
Throws:
Exception

invokeStaticNonStaticMethod

public void invokeStaticNonStaticMethod()
                                 throws Exception
Throws:
Exception

getConstructorNullNull

public void getConstructorNullNull()
                            throws Exception
Throws:
Exception

getConstructorNullEmpty

public void getConstructorNullEmpty()
                             throws Exception
Throws:
Exception

getConstructorObjectNull

public void getConstructorObjectNull()
                              throws Exception
Throws:
Exception

getConstructorObjectEmpty

public void getConstructorObjectEmpty()
                               throws Exception
Throws:
Exception

getConstructorPrivate

public void getConstructorPrivate()
                           throws Exception
Throws:
Exception

getConstructorPackage

public void getConstructorPackage()
                           throws Exception
Throws:
Exception

getConstructorProtected

public void getConstructorProtected()
                             throws Exception
Throws:
Exception

getConstructorPublic

public void getConstructorPublic()
                          throws Exception
Throws:
Exception

getObjectPropertyNullNull

public void getObjectPropertyNullNull()
                               throws Exception
Throws:
Exception

getObjectPropertyNullEmpty

public void getObjectPropertyNullEmpty()
                                throws Exception
Throws:
Exception

getObjectPropertyObjectNull

public void getObjectPropertyObjectNull()
                                 throws Exception
Throws:
Exception

getObjectPropertyObjectEmpty

public void getObjectPropertyObjectEmpty()
                                  throws Exception
Throws:
Exception

getObjectPropertyViaPrivateField

public void getObjectPropertyViaPrivateField()
                                      throws Exception
Throws:
Exception

getObjectPropertyViaPackageField

public void getObjectPropertyViaPackageField()
                                      throws Exception
Throws:
Exception

getObjectPropertyViaProtectedField

public void getObjectPropertyViaProtectedField()
                                        throws Exception
Throws:
Exception

getObjectPropertyViaPublicField

public void getObjectPropertyViaPublicField()
                                     throws Exception
Throws:
Exception

getObjectPropertyViaPrivateGetter

public void getObjectPropertyViaPrivateGetter()
                                       throws Exception
Throws:
Exception

getObjectPropertyViaPackageGetter

public void getObjectPropertyViaPackageGetter()
                                       throws Exception
Throws:
Exception

getObjectPropertyViaProtectedGetter

public void getObjectPropertyViaProtectedGetter()
                                         throws Exception
Throws:
Exception

getObjectPropertyViaPublicGetter

public void getObjectPropertyViaPublicGetter()
                                      throws Exception
Throws:
Exception

getMethodNullNullNull

public void getMethodNullNullNull()
                           throws Exception
Throws:
Exception

getMethodNullNullEmpty

public void getMethodNullNullEmpty()
                            throws Exception
Throws:
Exception

getMethodObjectNullNull

public void getMethodObjectNullNull()
                             throws Exception
Throws:
Exception

getMethodObjectNullEmpty

public void getMethodObjectNullEmpty()
                              throws Exception
Throws:
Exception

getMethodNullEmptyNull

public void getMethodNullEmptyNull()
                            throws Exception
Throws:
Exception

getMethodNullEmptyEmpty

public void getMethodNullEmptyEmpty()
                             throws Exception
Throws:
Exception

getMethodObjectEmptyNull

public void getMethodObjectEmptyNull()
                              throws Exception
Throws:
Exception

getMethodObjectEmptyEmpty

public void getMethodObjectEmptyEmpty()
                               throws Exception
Throws:
Exception

getMethodPrivate

public void getMethodPrivate()
                      throws Exception
Throws:
Exception

getMethodPackage

public void getMethodPackage()
                      throws Exception
Throws:
Exception

getMethodProtected

public void getMethodProtected()
                        throws Exception
Throws:
Exception

getMethodPublic

public void getMethodPublic()
                     throws Exception
Throws:
Exception


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