com.neatech.climbplan.dataaccess
Class DatabaseImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.neatech.climbplan.dataaccess.DatabaseImplTest
All Implemented Interfaces:
Test

public class DatabaseImplTest
extends TestCase


Field Summary
protected  Database database
           
protected  List<MountaineerModel> mountaineers
           
protected  List<MountaineerModel> organizers
           
protected  List<TeamModel> teams
           
 
Constructor Summary
DatabaseImplTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAddMountaineerToTeam()
           
 void testCheckLogin()
           
 void testDeleteMap()
           
 void testDeleteMountaineer()
           
 void testDeleteMountaineerFromTeam()
           
 void testDeleteOrganizer()
           
 void testDeleteTeam()
           
 void testGetAllMaps()
           
 void testGetAllMountaineers()
           
 void testGetAllOrganizers()
           
 void testGetAllTeams()
           
 void testInsertMap()
           
 void testInsertMountaineer()
           
 void testInsertOrganizer()
           
 void testInsertTeam()
           
 void testUpdateMap()
           
 void testUpdateMountaineer()
           
 void testUpdateOrganizer()
           
 void testUpdateTeam()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

database

protected Database database

mountaineers

protected List<MountaineerModel> mountaineers

organizers

protected List<MountaineerModel> organizers

teams

protected List<TeamModel> teams
Constructor Detail

DatabaseImplTest

public DatabaseImplTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class TestCase
Throws:
Exception

testCheckLogin

public void testCheckLogin()
                    throws DatabaseException
Throws:
DatabaseException

testDeleteMap

public void testDeleteMap()
                   throws DatabaseException
Throws:
DatabaseException

testDeleteMountaineer

public void testDeleteMountaineer()
                           throws DatabaseException
Throws:
DatabaseException

testDeleteOrganizer

public void testDeleteOrganizer()
                         throws DatabaseException
Throws:
DatabaseException

testDeleteTeam

public void testDeleteTeam()
                    throws DatabaseException
Throws:
DatabaseException

testGetAllMaps

public void testGetAllMaps()
                    throws DatabaseException
Throws:
DatabaseException

testGetAllMountaineers

public void testGetAllMountaineers()
                            throws DatabaseException
Throws:
DatabaseException

testGetAllOrganizers

public void testGetAllOrganizers()
                          throws DatabaseException
Throws:
DatabaseException

testGetAllTeams

public void testGetAllTeams()
                     throws DatabaseException
Throws:
DatabaseException

testInsertMap

public void testInsertMap()
                   throws DatabaseException
Throws:
DatabaseException

testInsertMountaineer

public void testInsertMountaineer()
                           throws DatabaseException
Throws:
DatabaseException

testInsertOrganizer

public void testInsertOrganizer()
                         throws DatabaseException
Throws:
DatabaseException

testInsertTeam

public void testInsertTeam()
                    throws DatabaseException
Throws:
DatabaseException

testUpdateMap

public void testUpdateMap()

testUpdateMountaineer

public void testUpdateMountaineer()
                           throws DatabaseException
Throws:
DatabaseException

testUpdateOrganizer

public void testUpdateOrganizer()
                         throws DatabaseException
Throws:
DatabaseException

testAddMountaineerToTeam

public void testAddMountaineerToTeam()

testDeleteMountaineerFromTeam

public void testDeleteMountaineerFromTeam()

testUpdateTeam

public void testUpdateTeam()