link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,5 @@
package junit.framework;
public interface Protectable {
void protect() throws Throwable;
}
+7
View File
@@ -0,0 +1,7 @@
package junit.framework;
public interface Test {
int countTestCases();
void run(TestResult testResult);
}
@@ -0,0 +1,11 @@
package junit.framework;
public interface TestListener {
void addError(Test test, Throwable th);
void addFailure(Test test, AssertionFailedError assertionFailedError);
void endTest(Test test);
void startTest(Test test);
}
@@ -0,0 +1,12 @@
package junit.runner;
import java.awt.Component;
import junit.framework.TestFailure;
public interface FailureDetailView {
void clear();
Component getComponent();
void showFailure(TestFailure testFailure);
}
@@ -0,0 +1,7 @@
package junit.runner;
import java.util.Enumeration;
public interface TestCollector {
Enumeration collectTests();
}
@@ -0,0 +1,18 @@
package junit.runner;
public interface TestRunListener {
public static final int STATUS_ERROR = 1;
public static final int STATUS_FAILURE = 2;
void testEnded(String str);
void testFailed(int i, String str, String str2);
void testRunEnded(long j);
void testRunStarted(String str, int i);
void testRunStopped(long j);
void testStarted(String str);
}
@@ -0,0 +1,7 @@
package junit.runner;
public interface TestSuiteLoader {
Class load(String str) throws ClassNotFoundException;
Class reload(Class cls) throws ClassNotFoundException;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 B

@@ -0,0 +1,10 @@
package junit.swingui;
import javax.swing.ListModel;
import junit.framework.Test;
public interface TestRunContext {
ListModel getFailures();
void handleTestSelected(Test test);
}
+19
View File
@@ -0,0 +1,19 @@
package junit.swingui;
import javax.swing.JTabbedPane;
import junit.framework.Test;
import junit.framework.TestResult;
interface TestRunView {
void aboutToStart(Test test, TestResult testResult);
void activate();
void addTab(JTabbedPane jTabbedPane);
Test getSelectedTest();
void revealFailure(Test test);
void runFinished(Test test, TestResult testResult);
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 862 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B