
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public class LoggerTest extends Object
| Constructor and Description |
|---|
LoggerTest()
Creates a new
LoggerTest instance. |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String... args)
Test runner entry point.
|
void |
testIsEnabled()
Tests the
isXxxEnabled() methods to not throw any exceptions. |
void |
testLog()
Tests the various logger methods to not throw any exceptions.
|
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public LoggerTest()
LoggerTest instance.public void testIsEnabled() throws Exception
isXxxEnabled() methods to not throw any exceptions.Exception - if testing fails.public void testLog() throws Exception
Exception - if testing fails.public static void main(String... args)
This method sets up the JDK's LogManager with properties found at class path location
"/logging.properties" and executes JUnitCore.main(java.lang.String...) passing the given arguments with this classes
name prepended.
args - Command line arguments.Copyright © 2005–2013 The JOMC Project. All rights reserved.