org.apache.log4j.jdbcplus.examples.test
Class JdbcAppenderTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.apache.log4j.jdbcplus.examples.test.JdbcAppenderTest
- All Implemented Interfaces:
- Test
- public class JdbcAppenderTest
- extends TestCase
test Case for FirebirdPoolConnectionHandler, SqlHandler and JDBC logging
- Version:
- $Revision: 1.0 $
- Author:
- mann17, $Author: mann17 $
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
JdbcAppenderTest
public JdbcAppenderTest()
main
public static void main(String[] args)
- main operation.
- Parameters:
args
- arguments
suite
public static Test suite()
- Returns:
- test suite
_testGetConnection
public void _testGetConnection()
throws Exception
Exception
testCustomConfig
public void testCustomConfig()
throws Exception
Exception
_testDbRecovery
public void _testDbRecovery()
throws Exception
- Recovery test. Currently fails :-(
Firebird exception:
org.firebirdsql.jca.FBResourceTransactionException:
Local transaction active: can't begin another
- Throws:
Exception
testDefaultConfig
public void testDefaultConfig()
throws Exception
Exception
_testDefaultConfigException
public void _testDefaultConfigException()
throws Exception
Exception
_testNestedException
public void _testNestedException()
throws Exception
Exception
Copyright 2000-2004 Apache Software Foundation.