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 SWTBotJunit4ClassRunner

    java.lang.Object
      BlockJUnit4ClassRunner
          org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner

Direct Known Subclasses:
  SWTBotApplicationLauncherClassRunner

    public class SWTBotJunit4ClassRunner

extends BlockJUnit4ClassRunner

A runner that captures screenshots on test failures. If you wish to launch your application for your tests use `SWTBotApplicationLauncherClassRunner`. Clients are supposed to subclass this. Typical usage is:

     @RunWith(SWTBotJunit4ClassRunner.class)
     public class FooTest {
            @Test
            public void canSendEmail() {
            }
     }

Version:
  $Id$
Author:
  Hans Schwaebli (Bug 259787), Toby Weston (Bug 259787)
See Also:
  `SWTBotApplicationLauncherClassRunner`

Constructor Summary
`SWTBotJunit4ClassRunner(Class<?> klass)` Creates a SWTBotRunner to run `klass`

Method Summary
`void` | `run(RunNotifier notifier)`

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

Constructor Detail

### SWTBotJunit4ClassRunner

    public SWTBotJunit4ClassRunner(Class<?> klass)
                            throws Exception

  Creates a SWTBotRunner to run `klass`

  Throws:
    `Exception` - if the test class is malformed.

Method Detail

### run

    public void run(RunNotifier notifier)

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