public class LayoutTest
extends junit.framework.TestCase
| Modifier | Constructor and Description |
|---|---|
|
LayoutTest(String testName)
Construct a new instance of LayoutTest.
|
protected |
LayoutTest(String testName,
String expectedContentType,
boolean expectedIgnoresThrowable,
String expectedHeader,
String expectedFooter)
Constructor for use by derived tests.
|
| Modifier and Type | Method and Description |
|---|---|
protected Layout |
createLayout()
Creates layout for test.
|
void |
testFormat()
Tests format.
|
void |
testGetContentType()
Tests getContentType.
|
void |
testGetFooter()
Tests getFooter.
|
void |
testGetHeader()
Tests getHeader.
|
void |
testIgnoresThrowable()
Tests ignoresThrowable.
|
void |
testLineSep()
Tests Layout.LINE_SEP.
|
void |
testLineSepLen()
Tests Layout.LINE_SEP.
|
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 LayoutTest(String testName)
testName - test name.protected LayoutTest(String testName, String expectedContentType, boolean expectedIgnoresThrowable, String expectedHeader, String expectedFooter)
testName - name of test.expectedContentType - expected value for getContentType().expectedIgnoresThrowable - expected value for ignoresThrowable().expectedHeader - expected value for getHeader().expectedFooter - expected value for getFooter().public void testLineSep()
public void testLineSepLen()
protected Layout createLayout()
public void testGetContentType()
public void testIgnoresThrowable()
public void testGetHeader()
public void testGetFooter()
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.