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_RESULT_URI
           
protected static String BROWSER_TEST_URI
           
 
Constructor Summary
STJSTestServer(ClassLoader classLoader, int port, int testTimeout, boolean debugParam)
           
 
Method Summary
 int getBrowserCount()
           
 ClassLoader getClassLoader()
           
 URL getHostURL()
           
 void start()
           
 void stop()
           
 TestResultCollection test(File srcFile, String testClassName, String testMethodName)
           
 
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
Constructor Detail

STJSTestServer

public STJSTestServer(ClassLoader classLoader,
                      int port,
                      int testTimeout,
                      boolean debugParam)
               throws IOException
Throws:
IOException
Method Detail

start

public void start()

stop

public void stop()

getBrowserCount

public int getBrowserCount()

getClassLoader

public ClassLoader getClassLoader()

test

public TestResultCollection test(File srcFile,
                                 String testClassName,
                                 String testMethodName)
                          throws InterruptedException
Throws:
InterruptedException

getHostURL

public URL getHostURL()


Copyright © 2012. All Rights Reserved.