org.apache.tapestry.markup
Class TestJSONWriter
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.markup.TestJSONWriter
public class TestJSONWriter
- extends BaseComponentTestCase
Tests functionality of the IJSONWriter
class.
- Author:
- jkuhnert
Method Summary |
protected org.apache.tapestry.markup.JSONWriterImpl |
newJSONWriter()
Creates a writer instance that content can be asserted
against. |
void |
testPropertyList()
Tests creating a list of key/value pairs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputBuffer
protected ByteArrayOutputStream outputBuffer
TestJSONWriter
public TestJSONWriter()
testPropertyList
public void testPropertyList()
- Tests creating a list of key/value pairs.
newJSONWriter
protected org.apache.tapestry.markup.JSONWriterImpl newJSONWriter()
- Creates a writer instance that content can be asserted
against.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.