| org.netbeans.test.j2ee.J2EEValidation
J2EEValidation | public class J2EEValidation extends JellyTestCase (Code) | | Overall validation suite for j2ee cluster.
author: Jiri.Skrivanek@sun.com |
J2EEValidation | public J2EEValidation(String name)(Code) | | Need to be defined because of JUnit
|
setUp | public void setUp()(Code) | | |
suite | public static NbTestSuite suite()(Code) | | |
testWebApplication | public void testWebApplication() throws Exception(Code) | | Test Web Application
- create new Web Application project
- wait until project is in Projects view
- wait classpath scanning finished
- set option to not open browser at run
- insert error statement into index.jsp, compile it and verify it failed
- correct error in index.jsp, compile it and verify it succeded
- run project from context menu on project's root node
- wait until JSP Page is accessible through HTTP connection
- stop application server
|
waitText | public static void waitText(String urlSuffix, long timeout, String text)(Code) | | Opens URL connection and waits for given text. It thows TimeoutExpiredException
if timeout expires.
Parameters: urlSuffix - suffix added to server URL Parameters: timeout - time to wait Parameters: text - text to be found |
|
|