org.objectweb.cjdbc.scenario.standalone.driver
Class DriverTest

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.standalone.driver.DriverTest

public class DriverTest
extends NoTemplate

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.
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
DriverTest()
           
 
Method Summary
protected  void setUp()
           
 void testParseURL()
           
 void testValidDatabaseName()
           
 void testValidHostname()
           
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
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.


driver

private Driver driver
Driver to test.

Constructor Detail

DriverTest

public DriverTest()
Method Detail

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, 2005 - ObjectWeb Consortium - All Rights Reserved.