KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > junit > ui > ITestRunListener2


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.junit.ui;
12
13 import org.eclipse.jdt.junit.ITestRunListener;
14
15 /**
16  * Extends ITestRunListener with a call back to trace the test contents
17  */

18 public interface ITestRunListener2 extends ITestRunListener {
19
20     /**
21      * Information about a member of the test suite that is about to be run.
22      * The format of the string is:
23      * <pre>
24      * "testId","testName","isSuite","testcount"
25      *
26      * testId: a unique id for the test
27      * testName: the name of the test
28      * isSuite: true or false depending on whether the test is a suite
29      * testCount: an integer indicating the number of tests
30      *
31      * Example: "324968,testPass(junit.tests.MyTest),false,1"
32      * </pre>
33      *
34      * @param description a string describing a tree entry
35      */

36     public void testTreeEntry(String JavaDoc description);
37 }
38
Popular Tags