|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.myfaces.test.base.AbstractJsfTestCase
org.apache.myfaces.custom.transform.XmlTransformTest
public class XmlTransformTest
Test case for XmlTransform
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase |
|---|
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session |
| Constructor Summary | |
|---|---|
XmlTransformTest(String name)
Constructor |
|
| Method Summary | |
|---|---|
void |
setUp()
See abstract class |
static junit.framework.Test |
suite()
|
void |
testContent()
|
void |
testContentLocation()
|
void |
testContentLocationValueBinding()
|
void |
testContentStream()
Tests the actual transformation process using an InputStream as the source for content. |
void |
testContentStreamValueBinding()
Tests the actual transformation process using an InputStream as the source for content. |
void |
testContentValueBinding()
|
void |
testNoTransformInfo()
Component should throw NPE if no stylesheet or Transform is provided |
void |
testSaveAndRestoreState()
Test the save and restore state methods. |
void |
testSaveAndRestoreStateValueBinding()
Test the save and restore state methods with all values as value binding expressions. |
void |
testSetContent()
|
void |
testSetContentStream()
|
void |
testSetContentStreamValueBinding()
|
void |
testSetStylesheet()
|
void |
testStyleSheet()
|
void |
testStylesheetLocation()
|
void |
testStylesheetLocationValueBinding()
|
void |
testStylesheetNoContent()
Component should throw NPE if no content is provided |
void |
testStylesheetStream()
|
void |
testStylesheetStreamValueBinding()
|
void |
testStyleSheetValueBinding()
|
| Methods inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase |
|---|
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView, tearDown |
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XmlTransformTest(String name)
name - String| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class org.apache.myfaces.test.base.AbstractJsfTestCaseExceptionpublic void testSaveAndRestoreState()
public void testSaveAndRestoreStateValueBinding()
public void testSetContent()
public void testSetContentStream()
public void testSetContentStreamValueBinding()
public void testSetStylesheet()
public void testNoTransformInfo()
throws IOException
IOException
public void testStylesheetNoContent()
throws IOException
IOException
public void testStyleSheet()
throws IOException
IOException
public void testStyleSheetValueBinding()
throws IOException
IOException
public void testStylesheetLocation()
throws IOException
IOException
public void testStylesheetLocationValueBinding()
throws IOException
IOException
public void testStylesheetStream()
throws IOException
IOException
public void testStylesheetStreamValueBinding()
throws IOException
IOException
public void testContent()
throws IOException
IOException
public void testContentValueBinding()
throws IOException
IOException
public void testContentLocation()
throws IOException
IOException
public void testContentLocationValueBinding()
throws IOException
IOException
public void testContentStream()
throws IOException
IOException
public void testContentStreamValueBinding()
throws IOException
IOExceptionpublic static junit.framework.Test suite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||