org.fest.swing.annotation
Class GUITestFinder

java.lang.Object
  extended by 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.

Author:
Alex Ruiz

Method Summary
static boolean isGUITest(Class<?> type, Method method)
          Returns true if the given class and/or method are annotated with GUITest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.