Algernon Software

org.algernon.test
Class DeleteTest

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

public class DeleteTest
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  String delete_testFile
           
protected  Algernon m_algy
           
protected  String m_defaultProject
           
protected  AlgernonKB m_kb
           
protected  Jatha m_lisp
           
 
Constructor Summary
DeleteTest()
           
 
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_lisp

protected Jatha m_lisp

m_defaultProject

protected String m_defaultProject

delete_testFile

protected String delete_testFile
Constructor Detail

DeleteTest

public DeleteTest()
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