org.apache.log4j.xml
Class XSLTLayoutTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.log4j.xml.XSLTLayoutTestCase
All Implemented Interfaces:
junit.framework.Test

public class XSLTLayoutTestCase
extends junit.framework.TestCase


Constructor Summary
XSLTLayoutTestCase(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testBasic()
           
 void testCDATA()
           
 void testLocationInfo()
           
 void testMDC()
          Tests the format of the MDC portion of the layout to ensure the KVP's we put in turn up in the output file.
 void testMDCEscaped()
           
 void testNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

XSLTLayoutTestCase

public XSLTLayoutTestCase(java.lang.String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testBasic

public void testBasic()
               throws java.lang.Exception
Throws:
java.lang.Exception

testLocationInfo

public void testLocationInfo()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testCDATA

public void testCDATA()
               throws java.lang.Exception
Throws:
java.lang.Exception

testNull

public void testNull()
              throws java.lang.Exception
Throws:
java.lang.Exception

testMDC

public void testMDC()
             throws java.lang.Exception
Tests the format of the MDC portion of the layout to ensure the KVP's we put in turn up in the output file.

Throws:
java.lang.Exception

testMDCEscaped

public void testMDCEscaped()
                    throws java.lang.Exception
Throws:
java.lang.Exception


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.