pt.moredata.dao.core
Class GenericDAOFieldsInfoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bypt.moredata.tests.TestCase
              extended bypt.moredata.dao.core.GenericDAOFieldsInfoTest
All Implemented Interfaces:
junit.framework.Test

public class GenericDAOFieldsInfoTest
extends TestCase

GenericDAOFieldsInfoTest.java Company MoreData

Version:
$Revision: 1.2 $
Author:
pcarmo

Constructor Summary
GenericDAOFieldsInfoTest(java.lang.String name)
          Constructor for the GenericDAOFieldsInfoTest object
 
Method Summary
static void main(java.lang.String[] args)
          Description of the Method
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()
          Limpa as variáveis A connecao e mantida entre testes.
 void testAddMetaField()
          Test of addMetaField method, of class lixo.GenericDAOFieldsInfo.
 void testAddTable()
          Test of addTable method, of class lixo.GenericDAOFieldsInfo.
 void testClear()
          Test of clear method, of class lixo.GenericDAOFieldsInfo.
 void testGetColumnName()
          Test of getColumnName method, of class lixo.GenericDAOFieldsInfo.
 void testGetColumnNumber()
          Test of getColumnNumber method, of class lixo.GenericDAOFieldsInfo.
 void testGetColumns()
          Test of getColumns method, of class lixo.GenericDAOFieldsInfo.
 void testGetColumnsNames()
          Test of getColumnsNames method, of class lixo.GenericDAOFieldsInfo.
 void testGetDataBaseTable()
          Test of getDataBaseTable method, of class lixo.GenericDAOFieldsInfo.
 void testGetJoinColumns()
          Test of getJoinColumns, of class GenericDAOFieldsInfo.
 void testGetMetaField()
          Test of getMetaField method, of class lixo.GenericDAOFieldsInfo.
 void testGetMetaFields()
          Test of getMetaFields method, of class lixo.GenericDAOFieldsInfo.
 void testGetPKMetaField()
          Test of getPKMetaField method, of class lixo.GenericDAOFieldsInfo.
 void testGetPKMetaFields()
          Test of getPKMetaFields method, of class lixo.GenericDAOFieldsInfo.
 void testGetPKSize()
          Test of getPKSize method, of class lixo.GenericDAOFieldsInfo.
 void testGetTablesNames()
          Test of getTablesNames method, of class lixo.GenericDAOFieldsInfo.
 void testIsColumn()
          Test of isColumn method, of class lixo.GenericDAOFieldsInfo.
 void testIsPKPart()
          Test of isPKPart method, of class lixo.GenericDAOFieldsInfo.
 void testIsTable()
          Test of isTable method, of class lixo.GenericDAOFieldsInfo.
 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 testRemoveMetaField()
          Test of removeMetaField method, of class lixo.GenericDAOFieldsInfo.
 void testRemoveTable()
          Test of removeTable method, of class lixo.GenericDAOFieldsInfo.
 void testSetPKFlag()
          Test of setPKFlag method, of class lixo.GenericDAOFieldsInfo.
 void testSetUpdateOrder()
          Test of setUpdateOrder, of class GenericDAOFieldsInfo.
 
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

GenericDAOFieldsInfoTest

public GenericDAOFieldsInfoTest(java.lang.String name)
Constructor for the GenericDAOFieldsInfoTest object

Parameters:
name - Test name.
Method Detail

setUp

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


tearDown

protected void tearDown()
Limpa as variáveis A connecao e mantida entre testes.


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

testAddMetaField

public void testAddMetaField()
Test of addMetaField method, of class lixo.GenericDAOFieldsInfo.


testRemoveMetaField

public void testRemoveMetaField()
Test of removeMetaField method, of class lixo.GenericDAOFieldsInfo.


testClear

public void testClear()
Test of clear method, of class lixo.GenericDAOFieldsInfo.


testGetColumnName

public void testGetColumnName()
Test of getColumnName method, of class lixo.GenericDAOFieldsInfo.


testGetColumns

public void testGetColumns()
Test of getColumns method, of class lixo.GenericDAOFieldsInfo.


testGetColumnsNames

public void testGetColumnsNames()
Test of getColumnsNames method, of class lixo.GenericDAOFieldsInfo.


testGetColumnNumber

public void testGetColumnNumber()
Test of getColumnNumber method, of class lixo.GenericDAOFieldsInfo.


testGetMetaField

public void testGetMetaField()
Test of getMetaField method, of class lixo.GenericDAOFieldsInfo.


testGetMetaFields

public void testGetMetaFields()
Test of getMetaFields method, of class lixo.GenericDAOFieldsInfo.


testGetPKMetaField

public void testGetPKMetaField()
Test of getPKMetaField method, of class lixo.GenericDAOFieldsInfo.


testGetPKMetaFields

public void testGetPKMetaFields()
Test of getPKMetaFields method, of class lixo.GenericDAOFieldsInfo.


testGetPKSize

public void testGetPKSize()
Test of getPKSize method, of class lixo.GenericDAOFieldsInfo.


testIsColumn

public void testIsColumn()
Test of isColumn method, of class lixo.GenericDAOFieldsInfo.


testIsPKPart

public void testIsPKPart()
Test of isPKPart method, of class lixo.GenericDAOFieldsInfo.


testSetPKFlag

public void testSetPKFlag()
Test of setPKFlag method, of class lixo.GenericDAOFieldsInfo.


testAddTable

public void testAddTable()
Test of addTable method, of class lixo.GenericDAOFieldsInfo.


testRemoveTable

public void testRemoveTable()
Test of removeTable method, of class lixo.GenericDAOFieldsInfo.


testGetDataBaseTable

public void testGetDataBaseTable()
Test of getDataBaseTable method, of class lixo.GenericDAOFieldsInfo.


testIsTable

public void testIsTable()
Test of isTable method, of class lixo.GenericDAOFieldsInfo.


testGetTablesNames

public void testGetTablesNames()
Test of getTablesNames method, of class lixo.GenericDAOFieldsInfo.


testSetUpdateOrder

public void testSetUpdateOrder()
Test of setUpdateOrder, of class GenericDAOFieldsInfo.


testGetJoinColumns

public void testGetJoinColumns()
Test of getJoinColumns, of class GenericDAOFieldsInfo.


main

public static void main(java.lang.String[] args)
Description of the Method

Parameters:
args - Description of the Parameter