FileDocCategorySizeDatePackage
SimpleWebTest.javaAPI DocExample681Tue Sep 21 13:50:14 BST 2004com.oreilly.strutsckbk.ch13

SimpleWebTest

public class SimpleWebTest extends net.sourceforge.jwebunit.WebTestCase

Fields Summary
Constructors Summary
public SimpleWebTest(String name)

        super(name);
    
Methods Summary
public voidsetUp()

        TestContext testContext = getTestContext();
        testContext.setBaseUrl("http://localhost/jsc-ch13");
        testContext.setResourceBundleName(
            "org.apache.struts.webapp.example.ApplicationResources"
        );
    
public voidtestAppAvailable()

        beginAt("/index.jsp");
        assertTitleEqualsKey("index.title");