Algernon Software

org.algernon.test
Class ProtegeTest

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

public class ProtegeTest
extends Object

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
 

See Also:
Algernon

Field Summary
protected static String LARGE_NEWSPAPER
           
protected static String m_PharmGKB_Beta
           
protected static String m_PharmGKB_Prod
           
 
Constructor Summary
ProtegeTest()
           
 
Method Summary
static void createInstances()
           
static void createInstances(KnowledgeBase kb, String ClsName, int howMany)
          Creates n instances of the given class.
static void main(String[] args)
           
static void testGetClass(KnowledgeBase kb, String name)
          Tests frame retrieval.
static void testGetFrame(KnowledgeBase kb, String name)
          Tests frame retrieval.
static void testGetSlot(KnowledgeBase kb, String name)
          Tests frame retrieval.
static void testKB(String kbname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LARGE_NEWSPAPER

protected static String LARGE_NEWSPAPER

m_PharmGKB_Beta

protected static String m_PharmGKB_Beta

m_PharmGKB_Prod

protected static String m_PharmGKB_Prod
Constructor Detail

ProtegeTest

public ProtegeTest()
Method Detail

main

public static void main(String[] args)

createInstances

public static void createInstances()

testKB

public static void testKB(String kbname)

testGetFrame

public static void testGetFrame(KnowledgeBase kb,
                                String name)
Tests frame retrieval.


testGetClass

public static void testGetClass(KnowledgeBase kb,
                                String name)
Tests frame retrieval.


testGetSlot

public static void testGetSlot(KnowledgeBase kb,
                               String name)
Tests frame retrieval.


createInstances

public static void createInstances(KnowledgeBase kb,
                                   String ClsName,
                                   int howMany)
Creates n instances of the given class.

Parameters:
ClsName -
howMany -

Algernon Software