org.jboss.jsfunit.jsfsession.hellojsf
Class ManualInvokeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.jsfunit.jsfsession.hellojsf.ManualInvokeTest
All Implemented Interfaces:
junit.framework.Test

public class ManualInvokeTest
extends junit.framework.TestCase

This class tests invoking the test using the Cactus ServletTestRunner as if it were a manual invocation from a browser.

Author:
Stan Silvert

Constructor Summary
ManualInvokeTest()
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void testInvokeWithServletTestRunner()
          This test simulates invoking the JSFUnit tests manually through a browser.
 void testPassServletRedirectorParams()
          This tests passing params from the redirector to the JSFUnit test.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

ManualInvokeTest

public ManualInvokeTest()
Method Detail

setUp

public void setUp()
           throws IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException

suite

public static junit.framework.Test suite()

testInvokeWithServletTestRunner

public void testInvokeWithServletTestRunner()
                                     throws Exception
This test simulates invoking the JSFUnit tests manually through a browser.

Throws:
Exception

testPassServletRedirectorParams

public void testPassServletRedirectorParams()
                                     throws Exception
This tests passing params from the redirector to the JSFUnit test.

Throws:
Exception


Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.