Move this forward to leverage the THTTPD services of WebclientTestCase.
git-svn-id: svn://10.0.0.236/trunk@164445 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: HistoryTest.java,v 1.2 2004-06-23 19:58:12 edburns%acm.org Exp $
|
||||
* $Id: HistoryTest.java,v 1.3 2004-10-26 19:33:15 edburns%acm.org Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -26,8 +26,6 @@
|
||||
|
||||
package org.mozilla.webclient;
|
||||
|
||||
import org.mozilla.util.THTTPD;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
import junit.framework.TestResult;
|
||||
import junit.framework.Test;
|
||||
@@ -55,30 +53,11 @@ public class HistoryTest extends WebclientTestCase {
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
TestSuite result = new TestSuite() {
|
||||
public void run(TestResult result) {
|
||||
serverThread =
|
||||
new THTTPD.ServerThread("LocalHTTPD",
|
||||
new File (getBrowserBinDir() +
|
||||
"/../../java/webclient/build.test"), -1);
|
||||
serverThread.start();
|
||||
serverThread.P();
|
||||
super.run(result);
|
||||
try {
|
||||
BrowserControlFactory.appTerminate();
|
||||
}
|
||||
catch (Exception e) {
|
||||
fail();
|
||||
}
|
||||
serverThread.stopRunning();
|
||||
}
|
||||
};
|
||||
TestSuite result = createServerTestSuite();
|
||||
result.addTestSuite(HistoryTest.class);
|
||||
return (result);
|
||||
}
|
||||
|
||||
static THTTPD.ServerThread serverThread;
|
||||
|
||||
static EventRegistration2 eventRegistration;
|
||||
|
||||
static CurrentPage2 currentPage = null;
|
||||
|
||||
Reference in New Issue
Block a user