A C D G J L M R S

A

Assert - Class in com.nexwerk.log4junit
Extension to the org.junit.Assert class, offering assertions common for asserting a Log4J log file (actually the appender).
Assert() - Constructor for class com.nexwerk.log4junit.Assert
 
assertLogMessageIs(String, JUnitAppender) - Static method in class com.nexwerk.log4junit.Assert
Asserts the content (i.e.
assertLogThresholdNotReached(JUnitAppender) - Static method in class com.nexwerk.log4junit.Assert
Asserts that the log level threshold has not been reched.
assertLogThresholdNotReached(String, JUnitAppender) - Static method in class com.nexwerk.log4junit.Assert
Asserts that the log level threshold has not been reched.
assertLogThresholdReached(JUnitAppender) - Static method in class com.nexwerk.log4junit.Assert
Asserts that the log level threshold has been reched.
assertLogThresholdReached(String, JUnitAppender) - Static method in class com.nexwerk.log4junit.Assert
Asserts that the log level threshold has been reched.

C

com.nexwerk.log4junit - package com.nexwerk.log4junit
 
com.nexwerk.log4junit.log4j - package com.nexwerk.log4junit.log4j
 

D

DefaultJUnitAppender - Class in com.nexwerk.log4junit.log4j
The JUnitAppender will record the messages sent to a standard Log4J LoggingEvent, so that these can be recorded and asserted at a later stage.
DefaultJUnitAppender() - Constructor for class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Null constructor...
DefaultLog4jTest - Class in com.nexwerk.log4junit
 
DefaultLog4jTest() - Constructor for class com.nexwerk.log4junit.DefaultLog4jTest
 
doAppend(LoggingEvent) - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Whenever there is a call to the log4j logging methods (debug, info, warn, error or fatal) this method will be called internally if the log level is reached.
doAppend(LoggingEvent) - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
 

G

getLogMessages() - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Returns the log messages collected so far.
getLogMessages() - Method in interface com.nexwerk.log4junit.log4j.JUnitAppender
Returns the log messages collected so far.
getLogMessages() - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
Returns the log messages collected so far.

J

JUnitAppender - Interface in com.nexwerk.log4junit.log4j
The JUnitAppender will record the messages sent to a standard Log4J LoggingEvent, so that these can be recorded and asserted at a later stage.

L

log - Static variable in class com.nexwerk.log4junit.DefaultLog4jTest
 
Log4jTest - Interface in com.nexwerk.log4junit
 
logLevelReached() - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Checks if the threshold has been reached.
logLevelReached() - Method in interface com.nexwerk.log4junit.log4j.JUnitAppender
Checks if the threshold has been reached.
logLevelReached() - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
Checks if the threshold has been reached.

M

MultipleVMJUnitAppender - Class in com.nexwerk.log4junit.log4j
 
MultipleVMJUnitAppender() - Constructor for class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
 

R

record() - Method in class com.nexwerk.log4junit.DefaultLog4jTest
 
record() - Method in interface com.nexwerk.log4junit.Log4jTest
 

S

setLogLevelThreshold(Level) - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Sets the threshold level to check against to see if an error has occured.
setLogLevelThreshold(Level) - Method in interface com.nexwerk.log4junit.log4j.JUnitAppender
Sets the threshold level to check against to see if an error has occured.
setLogLevelThreshold(Level) - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
Sets the threshold level to check against to see if an error has occured.
setThreshold(Level) - Method in class com.nexwerk.log4junit.DefaultLog4jTest
 
setThreshold(Level) - Method in interface com.nexwerk.log4junit.Log4jTest
 
startRecording() - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Start the log recording process.
startRecording() - Method in interface com.nexwerk.log4junit.log4j.JUnitAppender
Start the log recording process.
startRecording() - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
Start the log recording process.
stop() - Method in class com.nexwerk.log4junit.DefaultLog4jTest
 
stop() - Method in interface com.nexwerk.log4junit.Log4jTest
 
stopRecording() - Method in class com.nexwerk.log4junit.log4j.DefaultJUnitAppender
Stop the recording process to be able to start asserting the log without the log being cluttered with more logging information.
stopRecording() - Method in interface com.nexwerk.log4junit.log4j.JUnitAppender
Stop the recording process to be able to start asserting the log without the log being cluttered with more logging information.
stopRecording() - Method in class com.nexwerk.log4junit.log4j.MultipleVMJUnitAppender
Stop the recording process to be able to start asserting the log without the log being cluttered with more logging information.

A C D G J L M R S

Copyright © 2007 NexWerk. All Rights Reserved.