Algernon Software

org.algernon.test
Class PharmGKBTest2

java.lang.Object
  extended byorg.algernon.test.PharmGKBTest2

public class PharmGKBTest2
extends Object

Tests basic execution functionality of Algernon. Does not test the compiler. Example:

 java  -classpath $HOME/projects:$ALGY/src:$PHARMGEN/lib/protege.jar org.algernon.test.BasicTest
 

See Also:
Algernon

Field Summary
protected  Algernon f_algy
           
protected  AlgernonKB f_drugkb
           
protected  String f_DrugProject
           
protected  Jatha f_lisp
           
protected  AlgernonKB f_meshkb
           
protected  String f_MeshProject
           
protected  AlgernonKB f_pharmgkb
           
protected  String f_pharmgkbProject
           
protected  String f_testFile
           
 
Constructor Summary
PharmGKBTest2()
           
 
Method Summary
 void init()
          Reads in the parameters and tries to open the KB.
static void main(String[] args)
           
 void printRules()
           
 void start()
          Executes some small code snippets.
 void stop()
          Halts the program nicely.
 void testDrugVocabulary()
           
 void testMeSH()
           
 void testPharmGKB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

f_algy

protected Algernon f_algy

f_lisp

protected Jatha f_lisp

f_pharmgkb

protected AlgernonKB f_pharmgkb

f_meshkb

protected AlgernonKB f_meshkb

f_drugkb

protected AlgernonKB f_drugkb

f_pharmgkbProject

protected String f_pharmgkbProject

f_MeshProject

protected String f_MeshProject

f_DrugProject

protected String f_DrugProject

f_testFile

protected String f_testFile
Constructor Detail

PharmGKBTest2

public PharmGKBTest2()
Method Detail

main

public static void main(String[] args)

init

public void init()
Reads in the parameters and tries to open the KB.


stop

public void stop()
Halts the program nicely.


printRules

public void printRules()

start

public void start()
Executes some small code snippets.


testPharmGKB

public void testPharmGKB()

testMeSH

public void testMeSH()

testDrugVocabulary

public void testDrugVocabulary()

Algernon Software