|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.test.SpecialTest
Tests basic execution functionality of Algernon. Does not test the compiler. Example:
java -classpath ${CLASSES}:${PHARMGEN}/lib/protege.jar:${PHARMGEN}/lib/ojdbc14.jar org.algernon.test.PharmGKBTest1
Algernon
Field Summary | |
protected Algernon |
m_algy
|
protected String |
m_defaultProject
|
protected AlgernonKB |
m_kb
|
protected Jatha |
m_lisp
|
Constructor Summary | |
SpecialTest()
|
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. |
void |
testBad()
Tests bad forms of the :TEST operator. |
protected void |
testEval()
|
protected void |
testFail()
|
static Boolean |
testFunction0()
|
static Boolean |
testFunction1(String arg)
|
static void |
testFunction1WithPrint()
|
static Boolean |
testFunction2(Long arg1,
Long arg2)
|
static void |
testFunction2WithPrint()
|
static Boolean |
testFunction3(Long arg1,
Long arg2,
Long arg3)
|
protected void |
testInstance()
|
protected void |
testJavaEval()
|
protected void |
testJavaTest()
|
protected void |
testLispEval()
|
protected void |
testLispTest()
|
protected void |
testShellEval()
|
protected void |
testShellTest()
|
protected void |
testTest()
|
protected void |
testTrace()
|
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 Jatha m_lisp
protected String m_defaultProject
Constructor Detail |
public SpecialTest()
Method Detail |
public static void main(String[] args)
public void init()
public void stop()
public void start()
protected void testInstance()
protected void testFail()
protected void testEval()
protected void testTest()
public static Boolean testFunction0()
public static Boolean testFunction1(String arg)
public static Boolean testFunction2(Long arg1, Long arg2)
public static Boolean testFunction3(Long arg1, Long arg2, Long arg3)
public static void testFunction1WithPrint()
public static void testFunction2WithPrint()
protected void testJavaTest()
protected void testLispTest()
protected void testShellTest()
protected void testTrace()
public static long getCurrentTime()
public static long getElapsedTime(long startTime)
public void testBad()
protected void testJavaEval()
protected void testLispEval()
protected void testShellEval()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |