Package 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 thegetClasses()
method.- Version:
- $Id: $
- Author:
- Seth
-
-
Constructor Summary
Constructors Constructor Description PublicConstructorTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<Class<? extends Object>>
getClasses()
This method should return a list of classes that you wish to inspect for public constructors.void
testPublicConstructors()
testPublicConstructors
-
-
-
Method Detail
-
testPublicConstructors
public void testPublicConstructors() throws NoSuchMethodException, Exception
testPublicConstructors
- Throws:
NoSuchMethodException
- if any.Exception
- if any.
-
-