org.apache.shale.blank.systest
Class WelcomeTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase
              extended by org.apache.shale.blank.systest.WelcomeTestCase
All Implemented Interfaces:
junit.framework.Test

public class WelcomeTestCase
extends org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase

System test case for the /welcome.jsp page.


Field Summary
 
Fields inherited from class org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase
page, url, webClient
 
Constructor Summary
WelcomeTestCase(String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void setUp()
          Set up the instance variables required for this test case.
static junit.framework.Test suite()
          Return the set of tests included in this test suite.
protected  void tearDown()
          Tear down instance variables required by this test case.
 void testPristine()
           
 
Methods inherited from class org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase
body, element, form, head, link, page, page, reset, submit, title, url
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WelcomeTestCase

public WelcomeTestCase(String name)

Construct a new instance of this test case.

Parameters:
name - Name of the new test case
Method Detail

setUp

protected void setUp()
              throws Exception

Set up the instance variables required for this test case.

Overrides:
setUp in class org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()

Return the set of tests included in this test suite.


tearDown

protected void tearDown()
                 throws Exception

Tear down instance variables required by this test case.

Overrides:
tearDown in class org.apache.shale.test.htmlunit.AbstractHtmlUnitTestCase
Throws:
Exception

testPristine

public void testPristine()
                  throws Exception
Throws:
Exception


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.