pt.moredata.qvs
Class CheckedPointTest

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

public class CheckedPointTest
extends TestCase

CheckedPointTest.java Company MoreData

Version:
$Revision: 1.1.1.1 $
Author:
betap

Constructor Summary
CheckedPointTest(java.lang.String testName)
          Constructor for the CheckedPointTest object
 
Method Summary
static void createTableTarget(java.sql.Connection connection, java.lang.String target)
          Description of the Method
static void destroyTable(java.sql.Connection connection, java.lang.String nome)
          Remove uma tabela da base de dados.
static void getConnection()
          Cria uma connetion com a base de dados teste
static void main(java.lang.String[] args)
          The main program for the CheckedPointTest 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 testInsert()
          Test of insert method, of class pt.moredata.qvs.CheckedPoint.
 void testSetAreaId()
          Test of setAreaId method, of class pt.moredata.qvs.CheckedArea.
 void testSetCheckedId()
          Test of setCheckedId method, of class pt.moredata.qvs.CheckedArea.
 void testSetConclusionDescrition()
          Test of setConclusionDescrition method, of class pt.moredata.qvs.CheckedPoint.
 void testSetConclusionId()
          Test of setConclusionId method, of class pt.moredata.qvs.CheckedPoint.
 void testSetConnection()
          Test of setConnection method, of class pt.moredata.qvs.CheckedPoint.
 void testSetDescription()
          Test of setDescription method, of class pt.moredata.qvs.CheckedPoint.
 void testSetPointid()
          Test of setPointid method, of class pt.moredata.qvs.CheckedPoint.
 
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

CheckedPointTest

public CheckedPointTest(java.lang.String testName)
Constructor for the CheckedPointTest 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


main

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

Parameters:
args - The command line arguments

suite

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

Returns:
The test suite

createTableTarget

public static void createTableTarget(java.sql.Connection connection,
                                     java.lang.String target)
                              throws java.sql.SQLException
Description of the Method

Parameters:
connection - Description of the Parameter
target - Description of the Parameter
Throws:
java.sql.SQLException - Description of the Exception

destroyTable

public static void destroyTable(java.sql.Connection connection,
                                java.lang.String nome)
                         throws java.sql.SQLException
Remove uma tabela da base de dados.

Parameters:
nome - Nome da tabela a remover
connection - Description of the Parameter
Throws:
java.sql.SQLException - Se houver algum erro com a base de dados.

getConnection

public static void getConnection()
Cria uma connetion com a base de dados teste


testSetConnection

public void testSetConnection()
Test of setConnection method, of class pt.moredata.qvs.CheckedPoint.


testSetCheckedId

public void testSetCheckedId()
Test of setCheckedId method, of class pt.moredata.qvs.CheckedArea.


testSetAreaId

public void testSetAreaId()
Test of setAreaId method, of class pt.moredata.qvs.CheckedArea.


testSetDescription

public void testSetDescription()
Test of setDescription method, of class pt.moredata.qvs.CheckedPoint.


testSetPointid

public void testSetPointid()
Test of setPointid method, of class pt.moredata.qvs.CheckedPoint.


testSetConclusionId

public void testSetConclusionId()
Test of setConclusionId method, of class pt.moredata.qvs.CheckedPoint.


testSetConclusionDescrition

public void testSetConclusionDescrition()
Test of setConclusionDescrition method, of class pt.moredata.qvs.CheckedPoint.


testInsert

public void testInsert()
Test of insert method, of class pt.moredata.qvs.CheckedPoint.