org.apache.shale.usecases.systest
Class ExceptionTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.usecases.systest.AbstractTestCase
              extended by org.apache.shale.usecases.systest.ExceptionTestCase
All Implemented Interfaces:
junit.framework.Test

public class ExceptionTestCase
extends AbstractTestCase

Test case for the exception handling use case.


Field Summary
 
Fields inherited from class org.apache.shale.usecases.systest.AbstractTestCase
page, url, webClient
 
Constructor Summary
ExceptionTestCase(String name)
           
 
Method Summary
protected  void setUp()
          Set up the instance variables required for this test case.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tear down instance variables required by this test case.
 void testNormal()
          Test the "normal" flow of submitting a correctly entered form.
 void testPristine()
          Validate pristine instance of the "Token" test page.
 
Methods inherited from class org.apache.shale.usecases.systest.AbstractTestCase
body, element, form, head, link, page, 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

ExceptionTestCase

public ExceptionTestCase(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: AbstractTestCase

Set up the instance variables required for this test case.

Overrides:
setUp in class AbstractTestCase
Throws:
Exception

suite

public static junit.framework.Test suite()

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: AbstractTestCase

Tear down instance variables required by this test case.

Overrides:
tearDown in class AbstractTestCase
Throws:
Exception

testNormal

public void testNormal()
                throws Exception

Test the "normal" flow of submitting a correctly entered form.

Throws:
Exception

testPristine

public void testPristine()
                  throws Exception

Validate pristine instance of the "Token" test page.

Throws:
Exception


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