org.apache.tapestry.markup
Class TestJSONWriter

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.markup.TestJSONWriter

public class TestJSONWriter
extends BaseComponentTestCase

Tests functionality of the IJSONWriter class.

Author:
jkuhnert

Field Summary
protected  ByteArrayOutputStream outputBuffer
           
 
Constructor Summary
TestJSONWriter()
           
 
Method Summary
protected  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
 

Field Detail

outputBuffer

protected ByteArrayOutputStream outputBuffer
Constructor Detail

TestJSONWriter

public TestJSONWriter()
Method Detail

testPropertyList

public void testPropertyList()
Tests creating a list of key/value pairs.


newJSONWriter

protected JSONWriterImpl newJSONWriter()
Creates a writer instance that content can be asserted against.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.