org.jboss.jsfunit.jsfsession.hellojsf
Class FacadeAPITest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
org.jboss.jsfunit.jsfsession.hellojsf.FacadeAPITest
- All Implemented Interfaces:
- junit.framework.Test, org.apache.cactus.internal.CactusTestCase
public class FacadeAPITest
- extends org.apache.cactus.ServletTestCase
This class tests all of the API's in the JSFClientSession and JSFServerSession.
- 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 |
FacadeAPITest
public FacadeAPITest()
setUp
public void setUp()
throws IOException
- Start a JSFUnit session by getting the /index.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
suite
public static junit.framework.Test suite()
- Returns:
- the suite of tests being tested
testCustomBrowserVersion
public void testCustomBrowserVersion()
throws IOException
- Throws:
IOException
testGetCurrentViewId
public void testGetCurrentViewId()
throws IOException
- Throws:
IOException
testSetParamAndSubmit
public void testSetParamAndSubmit()
throws IOException
- Throws:
IOException
testSetCheckbox
public void testSetCheckbox()
throws IOException
- Throws:
IOException
testClickCommandLink
public void testClickCommandLink()
throws IOException
- Throws:
IOException
testCommandLinkWithoutViewChange
public void testCommandLinkWithoutViewChange()
throws IOException
- Throws:
IOException
testCommandLinkWithFParam
public void testCommandLinkWithFParam()
throws IOException
- Throws:
IOException
testCommandLinkWithParamFromLoopVariable
public void testCommandLinkWithParamFromLoopVariable()
throws IOException
- Throws:
IOException
testCommandLinkWithParamFromDatatableVariable
public void testCommandLinkWithParamFromDatatableVariable()
throws IOException
- Throws:
IOException
testInvalidateSession
public void testInvalidateSession()
throws IOException
- Throws:
IOException
testServerSideComponentValue
public void testServerSideComponentValue()
throws IOException
- Throws:
IOException
testManagedBeanValue
public void testManagedBeanValue()
throws IOException
- This demonstrates how to test managed beans.
- Throws:
IOException
testClickALink
public void testClickALink()
throws IOException
- Throws:
IOException
testFacesMessages
public void testFacesMessages()
throws IOException
- Throws:
IOException
testTextArea
public void testTextArea()
throws IOException
- Throws:
IOException
testSelectOneRadio
public void testSelectOneRadio()
throws IOException
- Throws:
IOException
testSelectManyListbox
public void testSelectManyListbox()
throws IOException
- Throws:
IOException
testSelectManyListboxWithItemList
public void testSelectManyListboxWithItemList()
throws IOException
- Throws:
IOException
testGetElementThrowsDuplicateIDException
public void testGetElementThrowsDuplicateIDException()
throws IOException
- Throws:
IOException
testNoCreationOfBeanDuringELExpressionReference
public void testNoCreationOfBeanDuringELExpressionReference()
throws IOException
- Throws:
IOException
testReferencedBeans
public void testReferencedBeans()
throws IOException
- Throws:
IOException
testClickThrowsComponentNotFound
public void testClickThrowsComponentNotFound()
throws IOException
- Throws:
IOException
testSetValueThrowsComponentNotFound
public void testSetValueThrowsComponentNotFound()
throws IOException
- Throws:
IOException
testTypeThrowsComponentNotFound
public void testTypeThrowsComponentNotFound()
throws IOException
- Throws:
IOException
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.