net.sourceforge.pmd.util.database
Class DBURITest

java.lang.Object
  extended by net.sourceforge.pmd.util.database.DBURITest

public class DBURITest
extends Object

Author:
sturton

Constructor Summary
DBURITest()
           
 
Method Summary
 void testDefaultCharacterSet()
          Verify that default CharacterSet are returned if non are provided in the DBURI.
 void testDefaultLanguagesList()
          Verify that default languages are returned if non are provided in the DBURI.
 void testDefaultSchemasList()
          Verify that default languages are returned if non are provided in the DBURI.
 void testDefaultSourceCodeNamesList()
          Verify that default languages are returned if non are provided in the DBURI.
 void testDefaultSourceCodeTypesList()
          Verify that default Source Code Types are returned if non are provided in the DBURI.
 void testDump()
          Test of dump method, of class DBURI.
 void testExplicitCharacterSet()
          Verify that CharacterSet are returned if provided in the DBURI.
 void testExplicitLanguagesList()
          Verify that languages are returned if provided in the DBURI.
 void testExplicitSchemasList()
          Verify that languages are returned if provided in the DBURI.
 void testExplicitSourceCodeNamesList()
          Verify that languages are returned if provided in the DBURI.
 void testExplicitSourceCodeTypesList()
          Verify that Source Code Types are returned if provided in the DBURI.
 void testGetCharacterSet()
          Test of getCharacterSet method, of class DBURI.
 void testGetDbType()
          Test of getDbType method, of class DBURI.
 void testGetDbType2()
          Test of getDbType method, of class DBURI.
 void testGetDriverClass()
          Test of getDriverClass method, of class DBURI.
 void testGetLanguagesList()
          Test of getLanguagesList method, of class DBURI.
 void testGetParameters()
          Test of getParameters method, of class DBURI.
 void testGetSchemasList()
          Test of getSchemasList method, of class DBURI.
 void testGetSourceCodeNamesList()
          Test of getSourceCodeNamesList method, of class DBURI.
 void testGetSourceCodeType()
          Test of getSourceCodeType method, of class DBURI.
 void testGetSourceCodeTypesList()
          Test of getSourceCodeTypesList method, of class DBURI.
 void testGetSubnamePrefix()
          Test of getSubnamePrefix method, of class DBURI.
 void testGetSubprotocol()
          Test of getSubprotocol method, of class DBURI.
 void testGetThinDriverClass()
          Test of getDriverClass method, of class DBURI.
 void testGetUri()
          Test of getUri method, of class DBURI.
 void testSetCharacterSet()
          Test of setCharacterSet method, of class DBURI.
 void testSetDbType()
          Test of setDbType method, of class DBURI.
 void testSetDriverClass()
          Test of setDriverClass method, of class DBURI.
 void testSetLanguagesList()
          Test of setLanguagesList method, of class DBURI.
 void testSetParameters()
          Test of setParameters method, of class DBURI.
 void testSetSchemasList()
          Test of setSchemasList method, of class DBURI.
 void testSetSourceCodeNamesList()
          Test of setSourceCodeNamesList method, of class DBURI.
 void testSetSourceCodeType()
          Test of setSourceCodeType method, of class DBURI.
 void testSetSourceCodeTypesList()
          Test of setSourceCodeTypesList method, of class DBURI.
 void testSetSubnamePrefix()
          Test of setSubnamePrefix method, of class DBURI.
 void testSetSubprotocol()
          Test of setSubprotocol method, of class DBURI.
 void testSetUri()
          Test of setUri method, of class DBURI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBURITest

public DBURITest()
Method Detail

testDump

public void testDump()
              throws URISyntaxException,
                     Exception
Test of dump method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetUri

public void testGetUri()
                throws URISyntaxException,
                       Exception
Test of getUri method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetUri

public void testSetUri()
                throws URISyntaxException,
                       Exception
Test of setUri method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetDbType

public void testGetDbType()
                   throws URISyntaxException,
                          Exception
Test of getDbType method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetDbType2

public void testGetDbType2()
                    throws URISyntaxException,
                           Exception
Test of getDbType method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetDbType

public void testSetDbType()
                   throws URISyntaxException,
                          Exception
Test of setDbType method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSchemasList

public void testGetSchemasList()
                        throws URISyntaxException,
                               Exception
Test of getSchemasList method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSchemasList

public void testSetSchemasList()
                        throws URISyntaxException,
                               Exception
Test of setSchemasList method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSourceCodeTypesList

public void testGetSourceCodeTypesList()
                                throws URISyntaxException,
                                       Exception
Test of getSourceCodeTypesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSourceCodeTypesList

public void testSetSourceCodeTypesList()
                                throws URISyntaxException,
                                       Exception
Test of setSourceCodeTypesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSourceCodeNamesList

public void testGetSourceCodeNamesList()
                                throws URISyntaxException,
                                       Exception
Test of getSourceCodeNamesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSourceCodeNamesList

public void testSetSourceCodeNamesList()
                                throws URISyntaxException,
                                       Exception
Test of setSourceCodeNamesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetLanguagesList

public void testGetLanguagesList()
                          throws URISyntaxException,
                                 Exception
Test of getLanguagesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetLanguagesList

public void testSetLanguagesList()
                          throws URISyntaxException,
                                 Exception
Test of setLanguagesList method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetDriverClass

public void testGetDriverClass()
                        throws URISyntaxException,
                               Exception
Test of getDriverClass method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetThinDriverClass

public void testGetThinDriverClass()
                            throws URISyntaxException,
                                   Exception
Test of getDriverClass method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetDriverClass

public void testSetDriverClass()
                        throws URISyntaxException,
                               Exception
Test of setDriverClass method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetCharacterSet

public void testGetCharacterSet()
                         throws URISyntaxException,
                                Exception
Test of getCharacterSet method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetCharacterSet

public void testSetCharacterSet()
                         throws URISyntaxException,
                                Exception
Test of setCharacterSet method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSourceCodeType

public void testGetSourceCodeType()
                           throws URISyntaxException,
                                  Exception
Test of getSourceCodeType method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSourceCodeType

public void testSetSourceCodeType()
                           throws URISyntaxException,
                                  Exception
Test of setSourceCodeType method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSubprotocol

public void testGetSubprotocol()
                        throws URISyntaxException,
                               Exception
Test of getSubprotocol method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSubprotocol

public void testSetSubprotocol()
                        throws URISyntaxException,
                               Exception
Test of setSubprotocol method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetSubnamePrefix

public void testGetSubnamePrefix()
                          throws URISyntaxException,
                                 Exception
Test of getSubnamePrefix method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetSubnamePrefix

public void testSetSubnamePrefix()
                          throws URISyntaxException,
                                 Exception
Test of setSubnamePrefix method, of class DBURI.

Throws:
URISyntaxException
Exception

testGetParameters

public void testGetParameters()
                       throws URISyntaxException,
                              Exception
Test of getParameters method, of class DBURI.

Throws:
URISyntaxException
Exception

testSetParameters

public void testSetParameters()
                       throws URISyntaxException,
                              Exception
Test of setParameters method, of class DBURI.

Throws:
URISyntaxException
Exception

testDefaultLanguagesList

public void testDefaultLanguagesList()
                              throws URISyntaxException,
                                     Exception
Verify that default languages are returned if non are provided in the DBURI.

Throws:
URISyntaxException
Exception

testDefaultCharacterSet

public void testDefaultCharacterSet()
                             throws URISyntaxException,
                                    Exception
Verify that default CharacterSet are returned if non are provided in the DBURI.

Throws:
URISyntaxException
Exception

testDefaultSchemasList

public void testDefaultSchemasList()
                            throws URISyntaxException,
                                   Exception
Verify that default languages are returned if non are provided in the DBURI.

Throws:
URISyntaxException
Exception

testDefaultSourceCodeTypesList

public void testDefaultSourceCodeTypesList()
                                    throws URISyntaxException,
                                           Exception
Verify that default Source Code Types are returned if non are provided in the DBURI.

Throws:
URISyntaxException
Exception

testDefaultSourceCodeNamesList

public void testDefaultSourceCodeNamesList()
                                    throws URISyntaxException,
                                           Exception
Verify that default languages are returned if non are provided in the DBURI.

Throws:
URISyntaxException
Exception

testExplicitLanguagesList

public void testExplicitLanguagesList()
                               throws URISyntaxException,
                                      Exception
Verify that languages are returned if provided in the DBURI.

Throws:
URISyntaxException
Exception

testExplicitCharacterSet

public void testExplicitCharacterSet()
                              throws URISyntaxException,
                                     Exception
Verify that CharacterSet are returned if provided in the DBURI.

Throws:
URISyntaxException
Exception

testExplicitSchemasList

public void testExplicitSchemasList()
                             throws URISyntaxException,
                                    Exception
Verify that languages are returned if provided in the DBURI.

Throws:
URISyntaxException
Exception

testExplicitSourceCodeTypesList

public void testExplicitSourceCodeTypesList()
                                     throws URISyntaxException,
                                            Exception
Verify that Source Code Types are returned if provided in the DBURI.

Throws:
URISyntaxException
Exception

testExplicitSourceCodeNamesList

public void testExplicitSourceCodeNamesList()
                                     throws URISyntaxException,
                                            Exception
Verify that languages are returned if provided in the DBURI.

Throws:
URISyntaxException
Exception


Copyright © 2002–2015 InfoEther. All rights reserved.