Class GUITestFinder

java.lang.Object
org.fest.swing.annotation.GUITestFinder

public final class GUITestFinder extends Object
Understands utility methods related to GUI tests. A GUI test is a class or method annotated with GUITest.
  • Constructor Details

    • GUITestFinder

      private GUITestFinder()
  • Method Details

    • isGUITest

      public static boolean isGUITest(Class<?> type, Method method)
      Returns true if the given class and/or method are annotated with GUITest. This method also searches in super-classes and overridden methods.
      Parameters:
      type - the class to check.
      method - the method to check.
      Returns:
      true if the given class and/or method are annotated with GUITest.
    • isSuperClassGUITest

      private static boolean isSuperClassGUITest(Class<?> type, Method method)
    • method

      private static Method method(Class<?> type, String methodName, Class<?>[] parameterTypes)
    • isGUITest

      private static boolean isGUITest(AnnotatedElement annotatedElement)