|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jomc.logging.it.LoggerTest
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2", comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2") public class LoggerTest
Object management and configuration logging system test suite.
Constructor Summary | |
---|---|
LoggerTest()
Creates a new LoggerTest instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2", comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2") public LoggerTest()
LoggerTest
instance.
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |