FileDocCategorySizeDatePackage
TestdataTest.javaAPI DocExample1154Wed Jul 16 16:31:28 BST 2003com.develop.ss.httpunit

TestdataTest

public class TestdataTest extends TestCase implements Constants

Fields Summary
com.meterware.httpunit.WebConversation
conversation
com.develop.ss.test.ConfigBean
config
private static Logger
log
Constructors Summary
public TestdataTest(String name)


     
    super(name);
  
Methods Summary
protected voidsetUp()

    config = new ConfigBean();
  
public voidtestDataPagesPresent()

    WebResponse response = conversation.getResponse(config.getWebappUrl() + "/testdata/default.html");
    WebLink[] links = response.getLinks();
    for (int i = 0; i < links.length; i++) {
      WebLink link = links[i];
      link.click();
    }
    assertEquals(LINKS, links.length);