org.apache.log4j
Class EnhancedPatternLayoutTestCase

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

public class EnhancedPatternLayoutTestCase
extends junit.framework.TestCase


Constructor Summary
EnhancedPatternLayoutTestCase(java.lang.String name)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void test1()
           
 void test10()
           
 void test11()
           
 void test12()
           
 void test13()
           
 void test14()
          Test of class abbreviation.
 void test15()
          Tests log4j 1.2 style extension of EnhancedPatternLayout.
 void test16()
          Tests explicit UTC time zone in pattern.
 void test17()
          Test left and right truncation
 void test2()
           
 void test3()
           
 void test4()
           
 void test5()
           
 void test6()
           
 void test7()
           
 void test8()
           
 void test9()
           
 void testMDC1()
           
 void testMDC2()
          Test case for MDC conversion pattern.
 void testThrowable()
          Test case for throwable conversion pattern.
 
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

EnhancedPatternLayoutTestCase

public EnhancedPatternLayoutTestCase(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

test1

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

test2

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

test3

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

test4

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

test5

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

test6

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

test7

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

test8

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

test9

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

test10

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

test11

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

test12

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

test13

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

test14

public void test14()
            throws java.lang.Exception
Test of class abbreviation.

Throws:
java.lang.Exception

testMDC1

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

test15

public void test15()
            throws java.lang.Exception
Tests log4j 1.2 style extension of EnhancedPatternLayout. Was test14 in log4j 1.2.

Throws:
java.lang.Exception

test16

public void test16()
            throws java.lang.Exception
Tests explicit UTC time zone in pattern.

Throws:
java.lang.Exception

test17

public void test17()
            throws java.lang.Exception
Test left and right truncation

Throws:
java.lang.Exception

testMDC2

public void testMDC2()
              throws java.lang.Exception
Test case for MDC conversion pattern.

Throws:
java.lang.Exception

testThrowable

public void testThrowable()
                   throws java.lang.Exception
Test case for throwable conversion pattern.

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.