public class DefaultScreenShotFilenameGenerator extends Object implements ScreenShotFilenameGenerator
ScreenShotFilenameGenerator
that generatesConstructor and Description |
---|
DefaultScreenShotFilenameGenerator(File directory)
The directory in which the screen shot file will be created.
|
Modifier and Type | Method and Description |
---|---|
File |
getTargetFilename(org.junit.runner.Description description)
Generates unique file names for the test case described by
description . |
public DefaultScreenShotFilenameGenerator(File directory)
directory
- The directory.public File getTargetFilename(org.junit.runner.Description description)
description
. ThegetTargetFilename
in interface ScreenShotFilenameGenerator
description
- The test case description.Copyright © 2011-2013 Brian Thomas Matthews. All Rights Reserved.