org.assertj.swing.testing
Class AssertJSwingTestCaseTemplate

java.lang.Object
  extended by org.assertj.swing.testing.AssertJSwingTestCaseTemplate

public abstract class AssertJSwingTestCaseTemplate
extends Object

Template for test cases that use AssertJ-Swing.

Author:
Alex Ruiz

Constructor Summary
AssertJSwingTestCaseTemplate()
           
 
Method Summary
protected  void cleanUp()
          Cleans up resources used by this test's Robot.
protected  Robot robot()
           
protected  void setUpRobot()
          Creates this test's Robot using a new AWT hierarchy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertJSwingTestCaseTemplate

public AssertJSwingTestCaseTemplate()
Method Detail

setUpRobot

protected final void setUpRobot()
Creates this test's Robot using a new AWT hierarchy.


cleanUp

protected final void cleanUp()
Cleans up resources used by this test's Robot.


robot

@Nonnull
protected final Robot robot()
Returns:
this test's Robot


Copyright © 2014–2015 AssertJ. All rights reserved.