edu.mayo.bsi.ngsportal.server
Class ProjectTest

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.server.BaseNGSPortalServiceTest
      extended by edu.mayo.bsi.ngsportal.server.ProjectTest

public class ProjectTest
extends BaseNGSPortalServiceTest


Constructor Summary
ProjectTest()
           
 
Method Summary
 void testAddProject()
          Add a project to the DB
 void testAddProjectSQLInject()
          Add a project to the DB
 void testGetProjects()
           
 void testRemoveProject()
           
 void testUpdateProject()
          Update a project in the DB
 
Methods inherited from class edu.mayo.bsi.ngsportal.server.BaseNGSPortalServiceTest
cleanupH2, setUp, setupH2, tearDown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectTest

public ProjectTest()
Method Detail

testAddProject

public void testAddProject()
                    throws ConnectionException,
                           SQLException,
                           org.dbunit.DatabaseUnitException,
                           IOException
Add a project to the DB

Throws:
ConnectionException
SQLException
org.dbunit.DatabaseUnitException
IOException

testAddProjectSQLInject

public void testAddProjectSQLInject()
                             throws ConnectionException,
                                    SQLException,
                                    org.dbunit.DatabaseUnitException,
                                    IOException
Add a project to the DB

Throws:
ConnectionException
SQLException
org.dbunit.DatabaseUnitException
IOException

testUpdateProject

public void testUpdateProject()
                       throws ConnectionException,
                              SQLException,
                              org.dbunit.DatabaseUnitException,
                              IOException
Update a project in the DB

Throws:
ConnectionException
SQLException
org.dbunit.DatabaseUnitException
IOException

testGetProjects

public void testGetProjects()
                     throws FileNotFoundException,
                            SQLException,
                            org.dbunit.DatabaseUnitException,
                            ConnectionException
Throws:
FileNotFoundException
SQLException
org.dbunit.DatabaseUnitException
ConnectionException

testRemoveProject

public void testRemoveProject()
                       throws FileNotFoundException,
                              SQLException,
                              org.dbunit.DatabaseUnitException,
                              ConnectionException,
                              MalformedURLException
Throws:
FileNotFoundException
SQLException
org.dbunit.DatabaseUnitException
ConnectionException
MalformedURLException