|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
pt.moredata.tests.TestCase
pt.moredata.connection.DBConnectionTest
DBConnectionTest.java Company MoreData
| Constructor Summary | |
DBConnectionTest(java.lang.String testName)
Constructor for the DBConnectionTest object |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the DBConnectionTest 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 |
testGetConnection()
Test of getConnection method, of class pt.despodata.java.connection.DBConnection. |
void |
testGetDebug()
Test of getDebug method, of class pt.despodata.java.connection.DBConnection. |
void |
testGetUserId()
Test of getUserId method, of class pt.despodata.java.connection.DBConnection. |
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 |
testSetConfig()
Test of setUserId method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetDBName()
Test of setDBName method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetHostName()
Test of setHostName method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetPassword()
Test of setPassword method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetPort()
Test of setPort method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetProtocol()
Test of setProtocol method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetServer()
Test of setServer method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetSubProtocol()
Test of setSubProtocol method, of class pt.despodata.java.connection.DBConnection. |
void |
testSetUserId()
Test of setUserId method, of class pt.despodata.java.connection.DBConnection. |
| 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 |
public DBConnectionTest(java.lang.String testName)
testName - Description of the Parameter| Method Detail |
protected void setUp()
protected void tearDown()
public static junit.framework.Test suite()
public void testMissingTest()
throws java.lang.SecurityException
java.lang.SecurityException - Description of the Exceptionpublic void testGetUserId()
public void testGetConnection()
throws java.io.FileNotFoundException,
java.lang.ClassNotFoundException,
java.sql.SQLException
java.io.FileNotFoundException - Description of the Exception
java.lang.ClassNotFoundException - Description of the Exception
java.sql.SQLException - Description of the Exceptionpublic void testSetDBName()
public void testGetDebug()
public void testSetHostName()
public void testSetPassword()
public void testSetPort()
public void testSetProtocol()
public void testSetServer()
public void testSetSubProtocol()
public void testSetUserId()
public void testSetConfig()
public static void main(java.lang.String[] args)
args - The command line arguments
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||