| test.org.mandarax.zkb.ZKBTestCase
All known Subclasses: test.org.mandarax.zkb.ZKBTestCase4ClauseSets, test.org.mandarax.zkb.ZKBTestCase4Queries, test.org.mandarax.zkb.ZKBTestCase4Testcases, test.org.mandarax.zkb.ZKBTestCase4Comparators,
ZKBTestCase | abstract public class ZKBTestCase extends junit.framework.TestCase implements LogCategories(Code) | | Abstract test case for ZKB drivers / OPSs.
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.2 |
zipOrFolder | protected boolean zipOrFolder(Code) | | |
ZKBTestCase | public ZKBTestCase(ZKBDriver aDriver, ObjectPersistencyService ops, String name, boolean zipOrFolder)(Code) | | Construct a ZKB test case.
Parameters: driver - the zkb driver Parameters: ops - the object persistency service Parameters: name - the name of the test case Parameters: zipOrFolder - whether the zkb is stored in a zip file or folder true - zip, false - folder |
compare | public boolean compare(KnowledgeBase kb1, KnowledgeBase kb2)(Code) | | Compare knowledge bases.
a boolean Parameters: kb1 - the first kb Parameters: kb2 - the second kb |
compare | public boolean compare(Clause c1, Clause c2)(Code) | | Compare clauses.
a boolean Parameters: c1 - the first clause Parameters: c2 - the second clause |
compare | public boolean compare(Rule r1, Rule r2)(Code) | | Compare rules. Special handling for old drivers: the prerequisite interface has only been introduced
in version 2.0 !!
a boolean Parameters: r1 - the first rule Parameters: r2 - the second rule |
compare | public boolean compare(TestCase tc1, TestCase tc2)(Code) | | Compare test cases.
a boolean Parameters: tc1 - the first test case Parameters: tc2 - the second test case |
compareAttachments | public boolean compareAttachments(Object a1, Object a2)(Code) | | Compare attachments
a boolean Parameters: a1 - the first attachment Parameters: a2 - the second attachment |
getAttachment | public Object getAttachment()(Code) | | Get the attachment to be saved with the knowledge base.
a knowledge base |
getKB | abstract public KnowledgeBase getKB()(Code) | | Get the knowledge base used as test data.
a knowledge base |
getName | public String getName()(Code) | | Returns the name.
String |
setName | public void setName(String name)(Code) | | Sets the name.
Parameters: name - The name to set |
toString | public String toString()(Code) | | Convert the object to a string.
a string |
|
|