|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--com.javaranch.unittest.helper.sql.pool.test.TestJNDIUnitTestHelper
Title: TestJNDIUnitTestHelper
Description: What would be the sense of a UnitTest Helper without a UnitTest
Copyright: Copyright (c) 2002
- - - - - - - - - - - - - - - - -You are welcome to do whatever you want to with this source file provided that you maintain this comment fragment (between the dashed lines). Modify it, change the package name, change the class name ... personal or business use ... sell it, share it ... add a copyright for the portions you add ...
My goal in giving this away and maintaining the copyright is to hopefully direct developers back to JavaRanch.
The original source can be found at JavaRanch
- - - - - - - - - - - - - - - - -
Company: JavaRanch
Constructor Summary | |
TestJNDIUnitTestHelper(java.lang.String method)
Constructor TestJNDIUnitTestHelper |
Method Summary | |
static void |
main(java.lang.String[] args)
Method main |
static junit.framework.Test |
suite()
Method suite |
void |
tearDown()
Method tearDown |
void |
testGetConnection()
Method testGetConnection Simply creates the JNDI DataSource, gets a connection and frees it. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, format |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public TestJNDIUnitTestHelper(java.lang.String method)
method
- Method Detail |
public void testGetConnection()
public void tearDown()
tearDown
in class junit.framework.TestCase
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |