pt.despodata.java.connection.tests
Class ConnectionTxtConfigTest

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

public class ConnectionTxtConfigTest
extends TestCase

ConnectionTxtConfigTest.java Company MoreData

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

Constructor Summary
ConnectionTxtConfigTest(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
          Executado antes de cada método do test case
static junit.framework.Test suite()
           
protected  void tearDown()
           
 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 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.
static void writeConfig(java.lang.String configFilePath)
           
 
Methods inherited from class pt.despodata.java.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

ConnectionTxtConfigTest

public ConnectionTxtConfigTest(java.lang.String testName)
Method Detail

writeConfig

public static void writeConfig(java.lang.String configFilePath)
                        throws java.io.IOException
Throws:
java.io.IOException

setUp

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


tearDown

protected void tearDown()

suite

public static junit.framework.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

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.


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)