|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.log4j.LayoutTest
org.apache.log4j.xml.XSLTLayoutTest
public class XSLTLayoutTest
Test for XSLTLayout.
Constructor Summary | |
---|---|
XSLTLayoutTest(java.lang.String testName)
Construct new instance of XSLTLayoutTest. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.log4j.LayoutTest |
---|
testGetContentType, testGetFooter, testGetHeader, testIgnoresThrowable, testLineSep, testLineSepLen |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XSLTLayoutTest(java.lang.String testName)
testName
- test name.Method Detail |
---|
protected Layout createLayout()
LayoutTest
createLayout
in class LayoutTest
public void testFormat() throws java.lang.Exception
testFormat
in class LayoutTest
java.lang.Exception
- if parser can not be constructed or source is not a valid XML document.public void testFormatWithException() throws java.lang.Exception
java.lang.Exception
- if parser can not be constructed or source is not a valid XML document.public void testFormatWithNDC() throws java.lang.Exception
java.lang.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 java.lang.Exception
java.lang.Exception
public void testAtomNS() throws java.lang.Exception
java.lang.Exception
public void testNDCWithCDATA() throws java.lang.Exception
java.lang.Exception
public void testExceptionWithCDATA() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.