org.apache.tapestry.markup
Class TestMarkupWriter

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

public class TestMarkupWriter
extends BaseComponentTestCase

Tests for MarkupWriterImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Nested Class Summary
static class TestMarkupWriter.PrintWriterFixture
           
 
Constructor Summary
TestMarkupWriter()
           
 
Method Summary
protected  void tearDown()
           
 void test_Append_Attribute_Null()
           
 void test_Append_Attribute_Raw()
           
 void test_Append_Attribute()
           
 void test_Attribute_Null()
           
 void test_Attribute_Requires_Tag()
           
 void test_Attribute()
           
 void test_Boolean_Attribute_Requires_Tag()
           
 void test_Boolean_Attribute()
           
 void test_Clear_Attributes()
           
 void test_Duplicate_Attributes()
           
 void test_Get_Attribute()
           
 void test_Has_Attribute()
           
 void test_Int_Attribute_Requires_Tag()
           
 void test_Int_Attribute()
           
 void test_Remove_Attribute()
           
 void testClose()
           
 void testCloseTag()
           
 void testComment()
           
 void testCommentClosesTag()
           
 void testEnd()
           
 void testEndNamed()
           
 void testEndNamedNotOnStack()
           
 void testEndWithEmptyStack()
           
 void testFlush()
           
 void testNestedEnd()
           
 void testNestedWriter()
           
 void testPrint()
           
 void testPrintChar()
           
 void testPrintCharArray()
           
 void testPrintClosesCurrentTag()
           
 void testPrintInt()
           
 void testPrintIntClosesTag()
           
 void testPrintLn()
           
 void testPrintLnClosesTag()
           
 void testPrintNull()
           
 void testPrintRawCharArray()
           
 void testPrintRawString()
           
 void testPrintWithRawFlag()
           
 void testRepeatCloseOnNestedWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMarkupWriter

public TestMarkupWriter()
Method Detail

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

test_Int_Attribute

public void test_Int_Attribute()

test_Int_Attribute_Requires_Tag

public void test_Int_Attribute_Requires_Tag()

test_Boolean_Attribute

public void test_Boolean_Attribute()

test_Boolean_Attribute_Requires_Tag

public void test_Boolean_Attribute_Requires_Tag()

test_Attribute

public void test_Attribute()

test_Attribute_Null

public void test_Attribute_Null()

test_Duplicate_Attributes

public void test_Duplicate_Attributes()

test_Attribute_Requires_Tag

public void test_Attribute_Requires_Tag()

test_Append_Attribute

public void test_Append_Attribute()

test_Append_Attribute_Null

public void test_Append_Attribute_Null()

test_Append_Attribute_Raw

public void test_Append_Attribute_Raw()

test_Get_Attribute

public void test_Get_Attribute()

test_Has_Attribute

public void test_Has_Attribute()

test_Remove_Attribute

public void test_Remove_Attribute()

test_Clear_Attributes

public void test_Clear_Attributes()

testEnd

public void testEnd()

testPrint

public void testPrint()

testPrintWithRawFlag

public void testPrintWithRawFlag()

testPrintClosesCurrentTag

public void testPrintClosesCurrentTag()

testPrintNull

public void testPrintNull()

testCloseTag

public void testCloseTag()

testNestedEnd

public void testNestedEnd()

testEndNamed

public void testEndNamed()

testClose

public void testClose()

testComment

public void testComment()

testCommentClosesTag

public void testCommentClosesTag()

testFlush

public void testFlush()

testPrintCharArray

public void testPrintCharArray()

testPrintChar

public void testPrintChar()

testPrintInt

public void testPrintInt()

testPrintIntClosesTag

public void testPrintIntClosesTag()

testPrintLn

public void testPrintLn()

testPrintLnClosesTag

public void testPrintLnClosesTag()

testPrintRawCharArray

public void testPrintRawCharArray()

testPrintRawString

public void testPrintRawString()

testNestedWriter

public void testNestedWriter()

testRepeatCloseOnNestedWriter

public void testRepeatCloseOnNestedWriter()

testEndNamedNotOnStack

public void testEndNamedNotOnStack()

testEndWithEmptyStack

public void testEndWithEmptyStack()


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