public class Log4JLogger extends AnnotatedMethodTemplate<Log4JLogger.Record>
Usage:
{@code public class MyTest {
Modifier and Type | Class and Description |
---|---|
static class |
Log4JLogger.LogLevel |
static interface |
Log4JLogger.Record |
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Layout |
layout |
annotationClass, testClass
Constructor and Description |
---|
Log4JLogger(Class testClass) |
Log4JLogger(Class testClass,
org.apache.log4j.Layout layout) |
Modifier and Type | Method and Description |
---|---|
protected org.junit.runners.model.Statement |
applyForAnnotation(org.junit.runners.model.Statement statement,
org.junit.runner.Description description,
Log4JLogger.Record record) |
String |
snapshot() |
apply
public Log4JLogger(Class testClass)
public Log4JLogger(Class testClass, org.apache.log4j.Layout layout)
protected org.junit.runners.model.Statement applyForAnnotation(org.junit.runners.model.Statement statement, org.junit.runner.Description description, Log4JLogger.Record record)
applyForAnnotation
in class AnnotatedMethodTemplate<Log4JLogger.Record>
public String snapshot()
Copyright © 2003–2021 Atlassian. All rights reserved.