public class

TestXmlFragmentBodyEventReader

extends AbstractStaxTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.content.render.xhtml.AbstractStaxTest
         ↳ com.atlassian.confluence.content.render.xhtml.TestXmlFragmentBodyEventReader

Summary

Public Constructors
TestXmlFragmentBodyEventReader()
Public Methods
void testCharactersAsFirstEventInBody()
void testCharactersWithSingleTag()
void testCloseConsumesEndElement()
void testCloseConsumesEndElementWhenFragmentIsEmptyElement()
void testCommentsAreSupported()
void testGetElementText()
void testHasNextAndNextEventAfterBodyIsConsumed()
void testHasNextDoesntImpactOuterReader()
void testMultipleCallsToHasNext()
void testMultiplePeeksReturnTheSameElement()
void testMultipleSiblingsInBody()
void testPositionOfOuterReader()
[Expand]
Inherited Methods
From class com.atlassian.confluence.content.render.xhtml.AbstractStaxTest
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestXmlFragmentBodyEventReader ()

Public Methods

public void testCharactersAsFirstEventInBody ()

Throws
Exception

public void testCharactersWithSingleTag ()

Throws
Exception

public void testCloseConsumesEndElement ()

Throws
Exception

public void testCloseConsumesEndElementWhenFragmentIsEmptyElement ()

Throws
Exception

public void testCommentsAreSupported ()

Throws
Exception

public void testGetElementText ()

Throws
Exception

public void testHasNextAndNextEventAfterBodyIsConsumed ()

Throws
Exception

public void testHasNextDoesntImpactOuterReader ()

Throws
Exception

public void testMultipleCallsToHasNext ()

Throws
Exception

public void testMultiplePeeksReturnTheSameElement ()

Throws
Exception

public void testMultipleSiblingsInBody ()

Throws
Exception

public void testPositionOfOuterReader ()

Throws
Exception