|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.test.MiscellanyTest
Tests miscellaneous functionality of Algernon. Example:
java -classpath ${CLASSES}:${PHARMGEN}/lib/protege.jar:${PHARMGEN}/lib/ojdbc14.jar org.algernon.test.DeleteTest
Algernon
Field Summary | |
protected String |
ask_testFile
|
protected String |
bind_testFile
|
protected String |
count_testFile
|
protected String |
date_testFile
|
protected String |
limit_testFile
|
protected Algernon |
m_algy
|
protected String |
m_defaultProject
|
protected AlgernonKB |
m_kb
|
protected String |
neq_testFile
|
protected String |
or_testFile
|
Constructor Summary | |
MiscellanyTest()
|
Method Summary | |
static Object |
date1()
|
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. |
protected void |
test(String command,
String testFile)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AlgernonKB m_kb
protected Algernon m_algy
protected String m_defaultProject
protected String ask_testFile
protected String bind_testFile
protected String count_testFile
protected String date_testFile
protected String limit_testFile
protected String neq_testFile
protected String or_testFile
Constructor Detail |
public MiscellanyTest()
Method Detail |
public static void main(String[] args)
public void init()
public void stop()
public void start()
protected void test(String command, String testFile)
public static Object date1()
public static long getCurrentTime()
public static long getElapsedTime(long startTime)
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |