pt.moredata.dao
Class ForeignKeyTest

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

public class ForeignKeyTest
extends TestCase

ForeignKeyTest.java Company MoreData

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

Constructor Summary
ForeignKeyTest(java.lang.String name)
          Constructor for the ForeignKeyTest object
 
Method Summary
static void main(java.lang.String[] args)
          Description of the Method
protected  void setUp()
          The JUnit setup method
static junit.framework.Test suite()
          A unit test suite for JUnit
protected  void tearDown()
          The teardown method for JUnit
 void testAddColumn()
          A unit test for JUnit
 void testDump()
          A unit test for JUnit
 void testGetDeleteRule()
          A unit test for JUnit
 void testGetFKColumnName()
          A unit test for JUnit
 void testGetFKColumnNames()
          A unit test for JUnit
 void testGetFkTableName()
          A unit test for JUnit
 void testGetName()
          A unit test for JUnit
 void testGetPKColumnName()
          A unit test for JUnit
 void testGetPKColumnNames()
          A unit test for JUnit
 void testGetPkTableName()
          A unit test for JUnit
 void testGetUpdateRule()
          A unit test for JUnit
 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.
 
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

ForeignKeyTest

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

Parameters:
name - Description of the Parameter
Method Detail

setUp

protected void setUp()
The JUnit setup method


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

testGetPkTableName

public void testGetPkTableName()
A unit test for JUnit


testGetFkTableName

public void testGetFkTableName()
A unit test for JUnit


testAddColumn

public void testAddColumn()
A unit test for JUnit


testGetPKColumnName

public void testGetPKColumnName()
A unit test for JUnit


testGetFKColumnName

public void testGetFKColumnName()
A unit test for JUnit


testGetPKColumnNames

public void testGetPKColumnNames()
A unit test for JUnit


testGetFKColumnNames

public void testGetFKColumnNames()
A unit test for JUnit


testDump

public void testDump()
A unit test for JUnit


testGetName

public void testGetName()
A unit test for JUnit


testGetUpdateRule

public void testGetUpdateRule()
A unit test for JUnit


testGetDeleteRule

public void testGetDeleteRule()
A unit test for JUnit


main

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

Parameters:
args - Description of the Parameter