Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » how to observe junit tests
how to observe junit tests [message #592476] Fri, 27 February 2009 10:04
sana is currently offline sanaFriend
Messages: 17
Registered: July 2009
Junior Member

I have developed a plugin using eclipse 3.2, and now i want to test it
using junit tests. For that, i have added an extension point in the
plugin.xml file. The listener class implements the ITestRunListener
interface. How can i test that the following extension point is registered

the plugin.xml entry looks like :

<extension point = " org.eclipse.jdt.junit.TestRunListener">
<testRunListener class = "junitTests.ObserveTests"/>

the listener class looks like:
import org.eclipse.jdt.junit.ITestRunListener;
public class ObserveTests implements ITestRunListener{

public void testFailed(int status, String testId, String testName, String

thanks for any help,
Previous Topic:Target 3.4 and 3.5 P2 APIs despite APi changes - fragments?
Next Topic:Dynamic Help in Modal Dialogs
Goto Forum:

Current Time: Fri Jun 18 03:59:08 GMT 2021

Powered by FUDForum. Page generated in 0.01912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top