org.fest.swing.junit.runner
Class ImageFolderCreator

java.lang.Object
  extended by org.fest.swing.junit.runner.ImageFolderCreator

public class ImageFolderCreator
extends Object

Understands creation of the folder where screenshots of failed GUI tests will be saved to.

Author:
Alex Ruiz

Constructor Summary
ImageFolderCreator()
           
 
Method Summary
 File createImageFolder()
          Creates the folder where to save screenshots of failing GUI tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFolderCreator

public ImageFolderCreator()
Method Detail

createImageFolder

public File createImageFolder()
Creates the folder where to save screenshots of failing GUI tests. The name of the folder to create is 'failed-gui-tests'. If the folder already exists, it is deleted and recreated again.

Returns:
the created folder.
Throws:
org.fest.util.FilesException - if any error occurs when creating the folder.


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