Eclipse JDT
Release 3.3

org.eclipse.jdt.junit
Class JUnitCore

java.lang.Object
  extended byorg.eclipse.jdt.junit.JUnitCore

public class JUnitCore
extends Object

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

This class is not intended to be subclassed or instantiated by clients.

Since:
2.1

Constructor Summary
JUnitCore()
           
 
Method Summary
static void addTestRunListener(ITestRunListener listener)
          Deprecated. As of 3.3, replaced by addTestRunListener(TestRunListener)
static void addTestRunListener(TestRunListener listener)
          Adds a listener for test runs.
static void removeTestRunListener(ITestRunListener listener)
          Deprecated. As of 3.3, replaced by removeTestRunListener(TestRunListener)
static void removeTestRunListener(TestRunListener 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)
Deprecated. As of 3.3, replaced by addTestRunListener(TestRunListener)

Adds a listener for test runs.

Parameters:
listener - listener to be added

removeTestRunListener

public static void removeTestRunListener(ITestRunListener listener)
Deprecated. As of 3.3, replaced by removeTestRunListener(TestRunListener)

Removes a listener for test runs.

Parameters:
listener - listener to be removed

addTestRunListener

public static void addTestRunListener(TestRunListener listener)
Adds a listener for test runs.

Parameters:
listener - the listener to be added
Since:
3.3

removeTestRunListener

public static void removeTestRunListener(TestRunListener listener)
Removes a listener for test runs.

Parameters:
listener - the listener to be removed
Since:
3.3

Eclipse JDT
Release 3.3

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