Package org.codehaus.gmavenplus.util
Class ReflectionUtilsTest
java.lang.Object
org.codehaus.gmavenplus.util.ReflectionUtilsTest
Unit tests for the ReflectionUtils class.
- Author:
- Keegan Witt
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Constructor Details
-
ReflectionUtilsTest
public ReflectionUtilsTest()
-
-
Method Details
-
testHappyPaths
- 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
- Throws:
Exception
-
testInvokeConstructorNull
- Throws:
Exception
-
testInvokeMethodMethodNull
- Throws:
Exception
-
testInvokeMethodObjectNull
- Throws:
Exception
-
testInvokeStaticMethodMethodNull
- Throws:
Exception
-
testInvokeStaticMethodMethodNotStatic
- Throws:
Exception
-
testConstructor
- Throws:
Exception
-