net.sourceforge.jtds.test
Class JtdsDataSourceUnitTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.sourceforge.jtds.test.UnitTestBase
                    |
                    +--net.sourceforge.jtds.test.JtdsDataSourceUnitTest
All Implemented Interfaces:
junit.framework.Test

public class JtdsDataSourceUnitTest
extends UnitTestBase

Unit tests for the JtdsDataSource class.

Version:
$Id: JtdsDataSourceUnitTest.java,v 1.12 2005/02/07 13:47:45 alin_sinpalean Exp $
Author:
David D. Kilzer

Inner Class Summary
static class JtdsDataSourceUnitTest.Test_JtdsDataSource_getConnection
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
JtdsDataSourceUnitTest(java.lang.String name)
          Constructor.
 
Method Summary
static junit.framework.Test suite()
          Construct a test suite for this class.
 void testPublicConstructor()
          Tests that the public constructor works.
 
Methods inherited from class net.sourceforge.jtds.test.UnitTestBase
assertEquals, assertEquals, failNotEquals, format, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeStaticMethod
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

JtdsDataSourceUnitTest

public JtdsDataSourceUnitTest(java.lang.String name)
Constructor.
Parameters:
name - The name of the test.
Method Detail

suite

public static junit.framework.Test suite()
Construct a test suite for this class.

The test suite includes the tests in this class, and adds tests from DefaultPropertiesTestLibrary after creating an anonymous DefaultPropertiesTester object.

Returns:
The test suite to run.

testPublicConstructor

public void testPublicConstructor()
Tests that the public constructor works.

Needed so that this class has at least one test.



Generated on April 15 2005