public class XSLTLayoutTest extends LayoutTest
Constructor and Description |
---|
XSLTLayoutTest(String testName)
Construct new instance of XSLTLayoutTest.
|
Modifier and Type | Method and Description |
---|---|
protected Layout |
createLayout()
Creates layout for test.
|
void |
testActivateOptions()
Tests activateOptions().
|
void |
testAtom()
Tests XML configuration and atom layout.
|
void |
testAtomNS()
Tests XML configuration and atom layout.
|
void |
testExceptionWithCDATA()
Tests CDATA element within exception.
|
void |
testFormat()
Tests formatted results.
|
void |
testFormatWithException()
Tests formatted results with an exception.
|
void |
testFormatWithNDC()
Tests formatted results with an exception.
|
void |
testGetSetLocationInfo()
Tests getLocationInfo and setLocationInfo.
|
void |
testNDCWithCDATA()
Tests CDATA element within NDC content.
|
testGetContentType, testGetFooter, testGetHeader, testIgnoresThrowable, testLineSep, testLineSepLen
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public XSLTLayoutTest(String testName)
testName
- test name.protected Layout createLayout()
LayoutTest
createLayout
in class LayoutTest
public void testFormat() throws Exception
testFormat
in class LayoutTest
Exception
- if parser can not be constructed or source is not a valid XML document.public void testFormatWithException() throws Exception
Exception
- if parser can not be constructed or source is not a valid XML document.public void testFormatWithNDC() throws Exception
Exception
- if parser can not be constructed or source is not a valid XML document.public void testGetSetLocationInfo()
public void testActivateOptions()
public void testAtom() throws Exception
Exception
public void testAtomNS() throws Exception
Exception
public void testNDCWithCDATA() throws Exception
Exception
Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.