edu.iastate.metnet.hivetest
Class GraphExporterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.iastate.metnet.hivetest.GraphExporterTest
All Implemented Interfaces:
junit.framework.Test

public class GraphExporterTest
extends junit.framework.TestCase

test case for graph exporter

Author:
Jie Li

Constructor Summary
GraphExporterTest(java.lang.String arg0)
          default constructor
 
Method Summary
 void testAtGeneSearchObject5()
           
 void testBevGetAllLocationInfo()
          test BirdsEyeView functions
 void testBevGetGoBioProcesses()
          test BirdsEyeView functions
 void testBevGetGoChildren()
          test BirdsEyeView functions
 void testBevGetGoFunctions()
          test BirdsEyeView functions
 void testBevGetGoGeneProductID()
          test BirdsEyeView functions
 void testBevGetGoNodeName()
          test BirdsEyeView functions
 void testBevGetGoNodesWithinDistance()
          test BirdsEyeView functions
 void testBevGetGoTermAncestors()
          test BirdsEyeView functions
 void testBevGetLocations()
          test BirdsEyeView functions
 void testBevGetLocusIDs()
          test BirdsEyeView functions
 void testBevGetMetnetEntityID()
          test BirdsEyeView functions
 void testBevGetPathways()
          test BirdsEyeView functions
 void testBevGetPolypeptides()
          test BirdsEyeView functions
 void testBevGetProteinComplexes()
          test BirdsEyeView functions
 void testGetAllLocation()
          test to get the subcellular compartment list
 void testGetAtGeneSearchAttributeList()
          Test method for 'getAtGeneSearchAttributeList()'
 void testGetAtGeneSearchObject()
          Test method for 'getAtGeneSearchObject()'
 void testGetAtGeneSearchObject2()
          Test method for 'getAtGeneSearchObject()'
 void testGetAtGeneSearchObject3()
          Test method for 'getAtGeneSearchObject()'
 void testGetAtGeneSearchObject4()
          Test method for 'getAtGeneSearchObject()'
 void testGetBlockunit()
          test to get the blockunit object
 void testGetComplex4Component()
          test the p-neighborhood graph.
 void testGetFullGeneAnnotationList()
          test time used for retrieve 1000 atgenesearch object
 void testGetGraphModelByEntity()
          Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntity(GobiNode)'
 void testGetGraphModelByEntityList()
          Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntityList(ArrayList)'
 void testGetGraphModelMapByEntityList()
          Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntityList(ArrayList)'
 void testGetLocation4Entity()
          test to get the subcelllar location
 void testGetMetaboliteMap()
          test the metabolite id and name map
 void testGetMetaboliteObject()
          test to get the metabolite object.
 void testGetPathwayElementMap()
          test the pathway element mapping
 void testGetPathwayInfo()
          test the pathway information retrieve function
 void testGetPathwayLocusMap()
          test the pathway locus mapping
 void testGetPathwayMetaboliteMap()
          test the pathway metabolite mapping
 void testGetPolypeptide4Gene()
          test the p-neighborhood graph.
 void testJ2EEconnection()
          test the J2EE connection
 void testPathwayCategory()
          test the feature to extract the information pathway category
 void testPubchemCasFilter()
          test to get cas from pubchem synonym.
 void testPubchemCid2Name()
          test to get pubchem name.
 void testPubchemName2Cid()
          test to get pubchem cid.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

GraphExporterTest

public GraphExporterTest(java.lang.String arg0)
default constructor

Parameters:
arg0 - any thing
Method Detail

testGetGraphModelByEntity

public void testGetGraphModelByEntity()
Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntity(GobiNode)'


testGetAtGeneSearchAttributeList

public void testGetAtGeneSearchAttributeList()
Test method for 'getAtGeneSearchAttributeList()'


testGetAtGeneSearchObject

public void testGetAtGeneSearchObject()
Test method for 'getAtGeneSearchObject()'


testAtGeneSearchObject5

public void testAtGeneSearchObject5()

testGetAtGeneSearchObject2

public void testGetAtGeneSearchObject2()
Test method for 'getAtGeneSearchObject()'


testGetAtGeneSearchObject3

public void testGetAtGeneSearchObject3()
Test method for 'getAtGeneSearchObject()'


testGetAtGeneSearchObject4

public void testGetAtGeneSearchObject4()
Test method for 'getAtGeneSearchObject()'


testGetGraphModelByEntityList

public void testGetGraphModelByEntityList()
Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntityList(ArrayList)'


testGetGraphModelMapByEntityList

public void testGetGraphModelMapByEntityList()
Test method for 'edu.iastate.metnet.hiveface.GraphExporter.getGraphModelByEntityList(ArrayList)'


testJ2EEconnection

public void testJ2EEconnection()
test the J2EE connection


testPathwayCategory

public void testPathwayCategory()
test the feature to extract the information pathway category


testGetMetaboliteObject

public void testGetMetaboliteObject()
test to get the metabolite object. If the database update break this case, just change the code again.


testPubchemName2Cid

public void testPubchemName2Cid()
test to get pubchem cid. If the database update break this case, just change the code again.


testPubchemCid2Name

public void testPubchemCid2Name()
test to get pubchem name. If the database update break this case, just change the code again.


testPubchemCasFilter

public void testPubchemCasFilter()
test to get cas from pubchem synonym. If the database update break this case, just change the code again.


testGetPathwayInfo

public void testGetPathwayInfo()
test the pathway information retrieve function


testGetPolypeptide4Gene

public void testGetPolypeptide4Gene()
test the p-neighborhood graph. gene-transcription-rna-translation-polypeptide (0-1-2-3-4), p=4. (if plus transportation-polypeptide, p = 6)


testGetComplex4Component

public void testGetComplex4Component()
test the p-neighborhood graph. component-composition-complex (0-1-2), p =2


testGetLocation4Entity

public void testGetLocation4Entity()
test to get the subcelllar location


testGetAllLocation

public void testGetAllLocation()
test to get the subcellular compartment list


testGetBlockunit

public void testGetBlockunit()
test to get the blockunit object


testGetPathwayElementMap

public void testGetPathwayElementMap()
test the pathway element mapping


testGetPathwayLocusMap

public void testGetPathwayLocusMap()
test the pathway locus mapping


testGetPathwayMetaboliteMap

public void testGetPathwayMetaboliteMap()
test the pathway metabolite mapping


testGetMetaboliteMap

public void testGetMetaboliteMap()
test the metabolite id and name map


testBevGetAllLocationInfo

public void testBevGetAllLocationInfo()
test BirdsEyeView functions


testBevGetGoBioProcesses

public void testBevGetGoBioProcesses()
test BirdsEyeView functions


testBevGetGoChildren

public void testBevGetGoChildren()
test BirdsEyeView functions


testBevGetGoFunctions

public void testBevGetGoFunctions()
test BirdsEyeView functions


testBevGetGoGeneProductID

public void testBevGetGoGeneProductID()
test BirdsEyeView functions


testBevGetGoNodeName

public void testBevGetGoNodeName()
test BirdsEyeView functions


testBevGetGoNodesWithinDistance

public void testBevGetGoNodesWithinDistance()
test BirdsEyeView functions


testBevGetGoTermAncestors

public void testBevGetGoTermAncestors()
test BirdsEyeView functions


testBevGetLocations

public void testBevGetLocations()
test BirdsEyeView functions


testBevGetLocusIDs

public void testBevGetLocusIDs()
test BirdsEyeView functions


testBevGetMetnetEntityID

public void testBevGetMetnetEntityID()
test BirdsEyeView functions


testBevGetPathways

public void testBevGetPathways()
test BirdsEyeView functions


testBevGetPolypeptides

public void testBevGetPolypeptides()
test BirdsEyeView functions


testBevGetProteinComplexes

public void testBevGetProteinComplexes()
test BirdsEyeView functions


testGetFullGeneAnnotationList

public void testGetFullGeneAnnotationList()
test time used for retrieve 1000 atgenesearch object