org.jboss.jsfunit.jsfsession.hellojsf
Class JSF1_2Test
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.jboss.jsfunit.jsfsession.hellojsf.JSF1_2Test
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class JSF1_2Test
- extends org.apache.cactus.ServletTestCase
This class does all of the tests in the FacadeAPITest, but it does it
against a form that uses a and prependId="false".
These tests will only run in a JSF 1.2 compatible environment.
- Author:
- Stan Silvert
| Fields inherited from class org.apache.cactus.ServletTestCase |
config, request, response, session |
| Methods inherited from class org.apache.cactus.ServletTestCase |
createProtocolHandler |
| Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase |
runBare, runBareServer |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, 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 interface org.apache.cactus.internal.CactusTestCase |
runBareServer |
JSF1_2Test
public JSF1_2Test()
setUp
public void setUp()
throws IOException,
SAXException
- Start a JSFUnit session by getting the /index.jsf.1.2.faces page. Note that
because setUp() is called before each test, a new HttpSession will be
created each time a test is run.
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
IOException
SAXException
suite
public static junit.framework.Test suite()
- Returns:
- the suite of tests being tested
testSetParamAndSubmit
public void testSetParamAndSubmit()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testSetCheckbox
public void testSetCheckbox()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testClickCommandLink
public void testClickCommandLink()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testCommandLinkWithoutViewChange
public void testCommandLinkWithoutViewChange()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testServerSideComponentValue
public void testServerSideComponentValue()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testManagedBeanValue
public void testManagedBeanValue()
throws IOException,
SAXException
- Throws:
IOException
SAXException
testClickALink
public void testClickALink()
throws IOException,
SAXException
- Throws:
IOException
SAXException
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.