| test.org.mandarax.reference.TestCut
All known Subclasses: test.org.mandarax.reference.TestCut6, test.org.mandarax.reference.TestCut7, test.org.mandarax.reference.TestCut2, test.org.mandarax.reference.TestCut4, test.org.mandarax.reference.TestCut3, test.org.mandarax.reference.TestCut8, test.org.mandarax.reference.TestCut1, test.org.mandarax.reference.TestCut5,
TestCut | abstract public class TestCut extends TestCase implements LogCategories(Code) | | An abstract test case class for testing cut.
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.1 |
Constructor Summary | |
public | TestCut() Constructor. |
QUERY_VARIABLE | final public static String QUERY_VARIABLE(Code) | | |
TestCut | public TestCut()(Code) | | Constructor.
|
fact1 | protected Fact fact1(String p, String c)(Code) | | Create a fact with a simple predicate and a constant.
Parameters: p - a predicate name Parameters: c - a constant name a prerequisite |
fact2 | protected Fact fact2(String p, String v)(Code) | | Create a fact with a simple predicate and a variable.
Parameters: p - a predicate name Parameters: v - a variable name a fact |
getDescription | public String getDescription()(Code) | | Get a description of this test case.
This is used by the org.mandarax.demo
package to display the test cases.
java.lang.String |
getExpectedResults | abstract protected String[] getExpectedResults()(Code) | | Get the expected results.
an array of strings |
prereq1 | protected Prerequisite prereq1(String p, String c)(Code) | | Create a prerequisite with a simple predicate and a constant.
Parameters: p - a predicate name Parameters: c - a constant name a prerequisite |
prereq2 | protected Prerequisite prereq2(String p, String v)(Code) | | Create a prerequisite with a simple predicate and a variable.
Parameters: p - a predicate name Parameters: v - a variable name a prerequisite |
setUp | protected void setUp()(Code) | | Sets up the fixture.
|
testInferenceEngine | public void testInferenceEngine()(Code) | | Run the test.
|
toString | public String toString()(Code) | | Convert this object to a string.
the string representation of the object |
|
|