|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.test.BasicTest
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
Algernon
Field Summary | |
protected Algernon |
f_algy
|
protected AlgernonKB |
f_kb
|
protected Jatha |
f_lisp
|
protected String |
m_assert1
|
protected String |
m_create1
|
protected String |
m_create2
|
protected String |
m_create3
|
protected String |
m_create4
|
protected String |
m_create5a
|
protected String |
m_create5b
|
protected String |
m_create6a
|
protected String |
m_create6b
|
protected String |
m_create7a
|
protected String |
m_create7b
|
protected String |
m_create7c
|
protected String |
m_create7d
|
protected String |
m_create7e
|
protected String |
m_defaultProject
|
protected AlgernonKBSet |
m_kbset
|
protected String |
m_PharmGKB_Beta
|
protected String |
m_PharmGKB_Prod
|
protected String |
m_query1
|
protected String |
m_query2
|
protected String |
m_query3
|
protected String |
m_query4
|
protected String |
m_query5
|
protected String |
m_query6
|
protected String |
m_rule1
|
protected String |
m_rule2
|
protected String |
m_rule3
|
Constructor Summary | |
BasicTest()
|
Method Summary | |
void |
displayByGene(List genes)
|
void |
displayByStudyCenter(List studyCenters)
|
void |
displayResults(List studyCenters,
List genes)
|
void |
init()
Reads in the parameters and tries to open the KB. |
static void |
main(String[] args)
|
void |
miscTests()
|
void |
PharmGKBTest()
This performs the same function as the misc.MHQuery1 program. |
void |
start()
Executes some small code snippets. |
void |
stop()
Halts the program nicely. |
void |
testAsk()
Tests the Algernon "ask" command. |
void |
testCompile()
|
void |
testCompile2()
|
void |
testCompile3()
|
void |
testCreate()
|
void |
testLookup()
|
void |
testNoCompile()
|
void |
testRuleCompile1()
|
void |
testRuleCompile2()
|
void |
testTell()
Tests the Algernon "tell" command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AlgernonKB f_kb
protected AlgernonKBSet m_kbset
protected Algernon f_algy
protected Jatha f_lisp
protected String m_defaultProject
protected String m_PharmGKB_Beta
protected String m_PharmGKB_Prod
protected String m_query1
protected String m_query2
protected String m_query3
protected String m_query4
protected String m_query5
protected String m_query6
protected String m_create1
protected String m_create2
protected String m_create3
protected String m_create4
protected String m_create5a
protected String m_create5b
protected String m_create6a
protected String m_create6b
protected String m_create7a
protected String m_create7b
protected String m_create7c
protected String m_create7d
protected String m_create7e
protected String m_assert1
protected String m_rule1
protected String m_rule2
protected String m_rule3
Constructor Detail |
public BasicTest()
Method Detail |
public static void main(String[] args)
public void init()
public void stop()
public void start()
public void miscTests()
public void testNoCompile()
public void testCompile()
public void testCompile2()
public void testCompile3()
public void testCreate()
public void testLookup()
public void testTell()
public void testAsk()
public void PharmGKBTest() throws AlgernonException
AlgernonException
public void displayResults(List studyCenters, List genes)
public void displayByStudyCenter(List studyCenters)
public void displayByGene(List genes)
public void testRuleCompile1()
public void testRuleCompile2()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |