|
||||||||||
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.pattern.FormattingInfoTest
public class FormattingInfoTest
Tests for FormattingInfo.
Constructor Summary | |
---|---|
FormattingInfoTest(java.lang.String name)
Create a new instance. |
Method Summary | |
---|---|
void |
testConstructor()
Check constructor |
void |
testGetDefault()
Check that getDefault does not return null. |
void |
testPadLeft()
Add padding to left since field is not minimum width. |
void |
testPadRight()
Add padding to right since field is not minimum width. |
void |
testRightTruncate()
Field exceeds maximum width, truncate right. |
void |
testTruncate()
Field exceeds maximum width |
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 FormattingInfoTest(java.lang.String name)
name
- test nameMethod Detail |
---|
public void testGetDefault()
public void testConstructor()
public void testTruncate()
public void testRightTruncate()
public void testPadLeft()
public void testPadRight()
|
||||||||||
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.