Algernon Software

org.algernon.test
Class TaxonomyTest

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

public class TaxonomyTest
extends Object

Tests basic delete functionality of Algernon. Example:

 java -classpath ${CLASSES}:${PHARMGEN}/lib/protege.jar:${PHARMGEN}/lib/ojdbc14.jar org.algernon.test.DeleteTest
 

See Also:
Algernon

Field Summary
protected  Algernon m_algy
           
protected  String m_defaultProject
           
protected  AlgernonKB m_kb
           
protected  String type_testFile
           
 
Constructor Summary
TaxonomyTest()
           
 
Method Summary
static long getCurrentTime()
          Returns the current time in milliseconds.
static long getElapsedTime(long startTime)
          Returns the elapsed time since the startTime in milliseconds.
 void init()
          Reads in the parameters and tries to open the KB.
static void main(String[] args)
           
 void start()
          Executes some small code snippets.
 void stop()
          Halts the program nicely.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_kb

protected AlgernonKB m_kb

m_algy

protected Algernon m_algy

m_defaultProject

protected String m_defaultProject

type_testFile

protected String type_testFile
Constructor Detail

TaxonomyTest

public TaxonomyTest()
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.


start

public void start()
Executes some small code snippets.


getCurrentTime

public static long getCurrentTime()
Returns the current time in milliseconds. Useful for timing method calls.


getElapsedTime

public static long getElapsedTime(long startTime)
Returns the elapsed time since the startTime in milliseconds. Useful for timing method calls.


Algernon Software