Class AbstractCockpitngUnitTest<T>

    • Constructor Detail

      • AbstractCockpitngUnitTest

        public AbstractCockpitngUnitTest()
    • Method Detail

      • testNullSafeMethods

        protected void testNullSafeMethods​(java.lang.Object target,
                                           java.util.Collection<java.lang.reflect.Method> methodsToTest)
      • testExtensibleConstructors

        public void testExtensibleConstructors()
      • testExtensibleFields

        public void testExtensibleFields()
        The test checks if all service/facade/ZK fields are accessible either via modifier (protected or less restrictive) or getter.
      • testExtensibleMethods

        public void testExtensibleMethods()
      • canBeSkipped

        protected boolean canBeSkipped​(java.util.List<java.lang.reflect.Method> methodsToSkipList,
                                       java.lang.reflect.Method method)
      • getMethodsToSkip

        protected java.util.List<java.lang.reflect.Method> getMethodsToSkip​(ExtensibleWidget extensibleWidget)
      • isSpecialPrivateMethod

        protected boolean isSpecialPrivateMethod​(java.lang.reflect.Method method)
      • getWidgetType

        protected java.lang.Class<? extends T> getWidgetType()