org.stjs.testing.driver
Class STJSTestServer

java.lang.Object
  extended by org.stjs.testing.driver.STJSTestServer

public class STJSTestServer
extends Object


Field Summary
protected static String BROWSER_CHECK_URI
           
protected static String BROWSER_GET_JS_URI
           
protected static String BROWSER_RESULT_URI
           
protected static String BROWSER_TEST_URI
           
 
Constructor Summary
STJSTestServer(int port, int testTimeout)
           
 
Method Summary
 int getBrowserCount()
           
 URL getHostURL()
           
 void start()
           
 void stop()
           
 TestResultCollection test(File srcFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BROWSER_CHECK_URI

protected static final String BROWSER_CHECK_URI
See Also:
Constant Field Values

BROWSER_RESULT_URI

protected static final String BROWSER_RESULT_URI
See Also:
Constant Field Values

BROWSER_TEST_URI

protected static final String BROWSER_TEST_URI
See Also:
Constant Field Values

BROWSER_GET_JS_URI

protected static final String BROWSER_GET_JS_URI
See Also:
Constant Field Values
Constructor Detail

STJSTestServer

public STJSTestServer(int port,
                      int testTimeout)
               throws IOException
Throws:
IOException
Method Detail

start

public void start()

stop

public void stop()

getBrowserCount

public int getBrowserCount()

test

public TestResultCollection test(File srcFile)
                          throws InterruptedException
Throws:
InterruptedException

getHostURL

public URL getHostURL()


Copyright © 2011. All Rights Reserved.