gov.nih.nci.caarray.services.biomaterial.test
Class BioSourceManagementTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gov.nih.nci.caarray.services.biomaterial.test.BioSourceManagementTest
All Implemented Interfaces:
junit.framework.Test

public class BioSourceManagementTest
extends junit.framework.TestCase

Author:
TranP

Constructor Summary
BioSourceManagementTest(java.lang.String category)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testAddBioSource()
           
 void testDeleteBioSource()
           
 void testDeleteDuplicatedBioSource()
           
 void testDeleteProducedBioSample()
           
 void testDuplicateBioSource()
           
 void testGetBioSampleView()
           
 void testHomeTreatBioSource()
          Phu's test for home db
 void testTreatBioSource()
           
 void testUpdateBioSource()
           
 
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
 

Constructor Detail

BioSourceManagementTest

public BioSourceManagementTest(java.lang.String category)
Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

testAddBioSource

public void testAddBioSource()
                      throws AccessDeniedException,
                             ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testDuplicateBioSource

public void testDuplicateBioSource()
                            throws AccessDeniedException,
                                   ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testUpdateBioSource

public void testUpdateBioSource()
                         throws AccessDeniedException,
                                ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testTreatBioSource

public void testTreatBioSource()
                        throws AccessDeniedException,
                               ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testGetBioSampleView

public void testGetBioSampleView()
                          throws AccessDeniedException,
                                 ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testDeleteBioSource

public void testDeleteBioSource()
                         throws AccessDeniedException,
                                ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testDeleteDuplicatedBioSource

public void testDeleteDuplicatedBioSource()
                                   throws AccessDeniedException,
                                          ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testDeleteProducedBioSample

public void testDeleteProducedBioSample()
                                 throws AccessDeniedException,
                                        ObjectNotExistException
Throws:
AccessDeniedException
ObjectNotExistException

testHomeTreatBioSource

public void testHomeTreatBioSource()
                            throws AccessDeniedException,
                                   ObjectNotExistException
Phu's test for home db

Throws:
AccessDeniedException
ObjectNotExistException

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception