Class ReflectionUtilsTest

java.lang.Object
org.codehaus.gmavenplus.util.ReflectionUtilsTest

public class ReflectionUtilsTest extends Object
Unit tests for the ReflectionUtils class.
Author:
Keegan Witt
  • Constructor Details

    • ReflectionUtilsTest

      public ReflectionUtilsTest()
  • Method Details

    • testHappyPaths

      public void testHappyPaths() throws Exception
      Throws:
      Exception
    • testFindConstructorClassNull

      public void testFindConstructorClassNull()
    • testFindConstructorNotFound

      public void testFindConstructorNotFound()
    • testFindFieldClassNull

      public void testFindFieldClassNull()
    • testFindFieldNameAndTypeNull

      public void testFindFieldNameAndTypeNull()
    • testFindFieldNotFound

      public void testFindFieldNotFound()
    • testFindMethodClassNull

      public void testFindMethodClassNull()
    • testFindMethodNameNull

      public void testFindMethodNameNull()
    • testFindMethodNotFound

      public void testFindMethodNotFound()
    • testGetEnumConstantNonEnumClass

      public void testGetEnumConstantNonEnumClass()
    • testGetEnumConstantValueNotFound

      public void testGetEnumConstantValueNotFound()
    • testGetStaticFieldNotStatic

      public void testGetStaticFieldNotStatic() throws Exception
      Throws:
      Exception
    • testInvokeConstructorNull

      public void testInvokeConstructorNull() throws Exception
      Throws:
      Exception
    • testInvokeMethodMethodNull

      public void testInvokeMethodMethodNull() throws Exception
      Throws:
      Exception
    • testInvokeMethodObjectNull

      public void testInvokeMethodObjectNull() throws Exception
      Throws:
      Exception
    • testInvokeStaticMethodMethodNull

      public void testInvokeStaticMethodMethodNull() throws Exception
      Throws:
      Exception
    • testInvokeStaticMethodMethodNotStatic

      public void testInvokeStaticMethodMethodNotStatic() throws Exception
      Throws:
      Exception
    • testConstructor

      public void testConstructor() throws Exception
      Throws:
      Exception