test.org.orange.kicsa.integration.employee
Class TestEmployeeJDBCDAO

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--test.org.orange.kicsa.integration.employee.TestEmployeeJDBCDAO

public class TestEmployeeJDBCDAO
extends TestCase

JUnit TestCase.

testedclass org.orange.kicsa.integration.employee.EmployeeJDBCDAO
testkind testcase
testsetup Default TestCase
testfamily JUnit

Field Summary
 (package private) static EmployeecreatedEmployee
           
 (package private) EmployeeDAOdao
           

Constructor Summary
TestEmployeeJDBCDAO(String name)
          Constructs a test case with the given name.

Method Summary
 static Testsuite()
           
 voidtestCreate()
           
 voidtestGetAll()
           
 voidtestGetByPrimaryKey()
           
 voidtestRemove()
           
 voidtestUpdate()
           

Methods inherited from class junit.framework.TestCase
countTestCases, getName, name, run, run, runBare, setName, toString

Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Field Detail

createdEmployee

static Employee createdEmployee

dao

EmployeeDAO dao
Constructor Detail

TestEmployeeJDBCDAO

public TestEmployeeJDBCDAO(String name)
Constructs a test case with the given name.
Method Detail

suite

public static Test suite()

testCreate

public void testCreate()

testGetAll

public void testGetAll()

testGetByPrimaryKey

public void testGetByPrimaryKey()

testRemove

public void testRemove()

testUpdate

public void testUpdate()

Association Links

to Class org.orange.kicsa.integration.employee.EmployeeDAO

to Class org.orange.kicsa.business.employee.Employee

Dependency Links

to Class org.orange.kicsa.integration.employee.EmployeeJDBCDAO

to Class junit.framework.TestCase

to Class org.orange.kicsa.integration.employee.EmployeeDAO

to Class org.orange.kicsa.business.employee.Employee

to Class java.lang.String

to Class junit.framework.Test

to Class junit.framework.TestSuite

to Class org.orange.util.Preferences

to Class java.lang.Class

to Class org.orange.util.integration.JDBCDAO

to Class org.orange.util.integration.DriverJDBCConnectionFactory

to Class org.orange.util.integration.DAOException

to Class java.lang.System

to Class java.lang.Exception

to Class java.util.Date

to Class org.orange.kicsa.business.employee.EmployeeImpl

to Class java.util.Map

to Class java.util.Set

to Class java.util.Iterator

to Class java.lang.Object

to Class Diagram org.orange.kicsa.integration.employee

to Class Diagram org.orange.kicsa.integration

to Class Diagram org.orange.kicsa

to Class Diagram org.orange

to Class Diagram org

to Class Diagram <default>

to Class Diagram org.orange.kicsa.business.employee

to Class Diagram org.orange.kicsa.business

to Class Diagram org.orange.util

to Class Diagram org.orange.util.integration