Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.junit
Class ScreenshotCaptureListener

    java.lang.Object
      org.junit.runner.notification.RunListener
          org.eclipse.swtbot.swt.finder.junit.ScreenshotCaptureListener

    public final class ScreenshotCaptureListener

extends RunListener

Captures screenshots on failure notifications.

Version:
  $Id$
Author:
  Hans Schwaebli (Bug 259787)

Constructor Summary
`ScreenshotCaptureListener()`

Method Summary
`boolean` | `equals(Object obj)`
`int` | `hashCode()`
`void` | `testFailure(Failure failure)`

Methods inherited from class org.junit.runner.notification.RunListener
`testFinished, testIgnored, testRunFinished, testRunStarted, testStarted`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScreenshotCaptureListener

    public ScreenshotCaptureListener()

Method Detail

### testFailure

    public void testFailure(Failure failure)
                     throws Exception

  Overrides:
    `testFailure` in class `RunListener`
  Throws:
    `Exception`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD