aboutsummaryrefslogtreecommitdiff
path: root/src/junit/swingui/TestRunContext.java
blob: 038e3c417652c35cde0a57ffba00819e381d1b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package junit.swingui;

import javax.swing.ListModel;

import junit.framework.Test;

/**
 * The interface for accessing the Test run context. Test run views
 * should use this interface rather than accessing the TestRunner
 * directly.
 */
public interface TestRunContext {
	/**
	 * Handles the selection of a Test.
	 */
	public void handleTestSelected(Test test);
	/**
	 * Returns the failure model
	 */
	public ListModel getFailures();
}