public abstract class AbstractCockpitngUnitTest<T> extends Object
| Constructor and Description |
|---|
AbstractCockpitngUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeSkipped(List<Method> methodsToSkipList,
Method method) |
protected List<Method> |
getMethodsToSkip(ExtensibleWidget extensibleWidget) |
protected Class<? extends T> |
getWidgetType() |
protected boolean |
isSpecialPrivateMethod(Method method) |
void |
testExtensibleConstructors() |
void |
testExtensibleFields()
The test checks if all service/facade/ZK fields are accessible either via modifier (protected or less restrictive) or
getter.
|
void |
testExtensibleMethods() |
protected void |
testNullSafeMethods(Object target,
Collection<Method> methodsToTest) |
protected void testNullSafeMethods(Object target, Collection<Method> methodsToTest)
public void testExtensibleConstructors()
public void testExtensibleFields()
public void testExtensibleMethods()
protected List<Method> getMethodsToSkip(ExtensibleWidget extensibleWidget)
protected boolean isSpecialPrivateMethod(Method method)
Copyright © 2018. All rights reserved.