pt.moredata.connection
Class AbstractConnectionConfigTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bypt.moredata.tests.TestCase
              extended bypt.moredata.connection.AbstractConnectionConfigTest
All Implemented Interfaces:
junit.framework.Test

public class AbstractConnectionConfigTest
extends TestCase

AbstractConnectionConfigTest.java Company MoreData

Version:
$Revision: 1.2 $
Author:
Paulo Carmo, Ricardo Amaro

Constructor Summary
AbstractConnectionConfigTest(java.lang.String testName)
          Constructor for the AbstractConnectionConfigTest object
 
Method Summary
static void main(java.lang.String[] args)
          The main program for the AbstractConnectionConfigTest class
protected  void setUp()
          Executado antes de cada método do test case
static junit.framework.Test suite()
          A unit test suite for JUnit
protected  void tearDown()
          The teardown method for JUnit
 void testGetDataSourceId()
          Test of getDBName method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetDBName()
          Test of getDBName method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetDebug()
          Test of getDebug method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetDriver()
          Test of getDriver method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetHostName()
          Test of getHostName method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetPassword()
          Test of getPassword method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetPort()
          Test of getPort method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetProtocol()
          Test of getProtocol method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetServer()
          Test of getServer method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetServerPropertys()
          Test of getServerPropertys method, of class pt.despodata.java.connection.DBConnection.
 void testGetSubProtocol()
          Test of getSubProtocol method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testGetUserId()
          Test of getUserId method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testLoadConfig()
          Test of loadConfig method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 void testMissingTest()
          Este teste verifica se esta classe de testes implementa pelo menos um teste por cada metodo public da classe que esta a ser testada.
 void testSetSourceName()
          Test of setSourceName method, of class pt.despodata.java.connection.ConnectionTxtConfig.
 
Methods inherited from class pt.moredata.tests.TestCase
assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, main, testMissingTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractConnectionConfigTest

public AbstractConnectionConfigTest(java.lang.String testName)
Constructor for the AbstractConnectionConfigTest object

Parameters:
testName - Description of the Parameter
Method Detail

setUp

protected void setUp()
Executado antes de cada método do test case


tearDown

protected void tearDown()
The teardown method for JUnit


suite

public static junit.framework.Test suite()
A unit test suite for JUnit

Returns:
The test suite

testMissingTest

public void testMissingTest()
                     throws java.lang.SecurityException
Este teste verifica se esta classe de testes implementa pelo menos um teste por cada metodo public da classe que esta a ser testada.

Throws:
java.lang.SecurityException - Description of the Exception

testGetDataSourceId

public void testGetDataSourceId()
Test of getDBName method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetDBName

public void testGetDBName()
Test of getDBName method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetDebug

public void testGetDebug()
Test of getDebug method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetDriver

public void testGetDriver()
Test of getDriver method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetHostName

public void testGetHostName()
Test of getHostName method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetPassword

public void testGetPassword()
Test of getPassword method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetPort

public void testGetPort()
Test of getPort method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetProtocol

public void testGetProtocol()
Test of getProtocol method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetServer

public void testGetServer()
Test of getServer method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetSubProtocol

public void testGetSubProtocol()
Test of getSubProtocol method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetUserId

public void testGetUserId()
Test of getUserId method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testGetServerPropertys

public void testGetServerPropertys()
Test of getServerPropertys method, of class pt.despodata.java.connection.DBConnection.


testSetSourceName

public void testSetSourceName()
Test of setSourceName method, of class pt.despodata.java.connection.ConnectionTxtConfig.


testLoadConfig

public void testLoadConfig()
Test of loadConfig method, of class pt.despodata.java.connection.ConnectionTxtConfig.


main

public static void main(java.lang.String[] args)
The main program for the AbstractConnectionConfigTest class

Parameters:
args - The command line arguments