org.jomc.logging.it
Class LoggerTest

java.lang.Object
  extended by org.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
extends Object

Object management and configuration logging system test suite.

Identifier:
org.jomc.logging.it.LoggerTest
Name:
JOMC Logging Test Suite
Abstract:
No
Final:
No
Stateless:
Yes

Version:
1.1
Author:
Christian Schulte 1.0

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

LoggerTest

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2")
public LoggerTest()
Creates a new LoggerTest instance.

Method Detail

testIsEnabled

public void testIsEnabled()
                   throws Exception
Tests the isXxxEnabled() methods to not throw any exceptions.

Throws:
Exception - if testing fails.

testLog

public void testLog()
             throws Exception
Tests the various logger methods to not throw any exceptions.

Throws:
Exception - if testing fails.

main

public static void main(String... args)
Test runner entry point.

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.

Parameters:
args - Command line arguments.


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.