org.objectweb.cjdbc.driver
Class DriverTest

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.driver.DriverTest

public class DriverTest
extends TestCase

Driver test class.

Author:
Mathieu Peltier
See Also:
Driver, Serialized Form

Nested Class Summary
protected  class DriverTest.ParsingResult
          Stores the expected result of the call to Driver.parseURL(String) method.
 
Field Summary
private  Driver driver
          Driver to test.
static java.lang.String URLS_FILE
          File name containing the C-JDBC URLs to test.
 
Constructor Summary
DriverTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static Test suite()
           
 void testParseURL()
           
 void testValidDatabaseName()
           
 void testValidHostname()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URLS_FILE

public static final java.lang.String URLS_FILE
File name containing the C-JDBC URLs to test.

See Also:
Constant Field Values

driver

private Driver driver
Driver to test.

Constructor Detail

DriverTest

public DriverTest()
Method Detail

suite

public static Test suite()

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
See Also:
junit.framework.TestCase#setUp()

testValidDatabaseName

public void testValidDatabaseName()
See Also:
Driver.validDatabaseName(String)

testValidHostname

public void testValidHostname()
See Also:
Driver.validHostname(String)

testParseURL

public void testParseURL()
See Also:
Driver.parseURL(String)


Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.