org.opennms.test
Class PublicConstructorTest
java.lang.Object
org.opennms.test.PublicConstructorTest
public abstract class PublicConstructorTest
- extends Object
This JUnit test simply checks for public constructors on the list of classes
that are returned by the getClasses() method.
- Version:
- $Id: $
- Author:
- Seth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicConstructorTest
public PublicConstructorTest()
testPublicConstructors
public void testPublicConstructors()
throws NoSuchMethodException,
Exception
testPublicConstructors
- Throws:
NoSuchMethodException - if any.
Exception - if any.
getClasses
protected abstract List<Class<? extends Object>> getClasses()
throws Exception
- This method should return a list of classes that you wish to inspect for public
constructors.
- Returns:
- a
List object.
- Throws:
Exception - if any.
Copyright © 2011. All Rights Reserved.