public class FormattingInfoTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
FormattingInfoTest(String name)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringassertEquals, 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, failpublic FormattingInfoTest(String name)
name - test namepublic void testGetDefault()
public void testConstructor()
public void testTruncate()
public void testRightTruncate()
public void testPadLeft()
public void testPadRight()
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.