org.bibalex.daf.entities
Class Job_Database_Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.bibalex.daf.entities.Job_Database_Test
All Implemented Interfaces:
junit.framework.Test

public class Job_Database_Test
extends junit.framework.TestCase

Test for Job, database functionality only.

Author:
Shehab.Kamal

Field Summary
private static int jobID
           
 
Constructor Summary
Job_Database_Test()
           
 
Method Summary
 void setUp()
           
 void testAdd()
           
 void testDelete()
           
 void testGetByID()
           
 void testLoadAll()
           
 void testUpdate()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 

Field Detail

jobID

private static int jobID
Constructor Detail

Job_Database_Test

public Job_Database_Test()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testAdd

public void testAdd()
             throws java.lang.Exception
Throws:
java.lang.Exception

testGetByID

public void testGetByID()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testUpdate

public void testUpdate()
                throws java.lang.Exception
Throws:
java.lang.Exception

testLoadAll

public void testLoadAll()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testDelete

public void testDelete()
                throws java.lang.Exception
Throws:
java.lang.Exception