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

## org.eclipse.jdt.junit
Class JUnitCore

    java.lang.Object
      org.eclipse.jdt.junit.JUnitCore

public class JUnitCore
extends Object

Class for accessing JUnit support; all functionality is provided by static methods.

Since:
  2.1

Constructor Summary
`JUnitCore()`

Method Summary
`static void` | `addTestRunListener(ITestRunListener listener)` Adds a listener for test runs.
`static void` | `removeTestRunListener(ITestRunListener listener)` Removes a listener for test runs.

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

Constructor Detail

### JUnitCore

    public JUnitCore()

Method Detail

### addTestRunListener

    public static void addTestRunListener(ITestRunListener listener)

  Adds a listener for test runs.

  Parameters:
    `listener` - listener to be added

### removeTestRunListener

    public static void removeTestRunListener(ITestRunListener listener)

  Removes a listener for test runs.

  Parameters:
    `listener` - listener to be removed

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

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.