public class TestRule extends AbstractRuleTestCase
Rule
mechanisms.AbstractRuleTestCase.MyRule, AbstractRuleTestCase.P, AbstractRuleTestCase.TestRuleRdfs04a, AbstractRuleTestCase.TestRuleRdfs9
TestCase2.MyProperties, TestCase2.RandomType
rdfProperty, rdfsClass, rdfsResource, rdfsSubClassOf, rdfType
_randomType, log
Modifier and Type | Method and Description |
---|---|
void |
test_constraints()
Verify that constraint violations are being tested (specific
IConstraint s are tested elsewhere). |
void |
test_ctor_noHead() |
void |
test_ctor()
Verify constructor of a simple rule.
|
void |
test_getSharedVars()
Test for computing the intersection of the variables in two predicates.
|
void |
test_getSharedVarsInTail()
Test the ability to compute the variables shared between two
Pred s
in a Rule . |
void |
test_ruleBindings()
Verify variable binding stuff for a rule.
|
void |
test_specializeRule()
Test case for specializing a rule by binding some of its variables.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestRule()
public TestRule(String name)
name
- public void test_ctor()
public void test_ctor_noHead()
public void test_getSharedVars()
public void test_getSharedVarsInTail()
Pred
s
in a Rule
.public void test_ruleBindings()
public void test_constraints()
IConstraint
s are tested elsewhere).public void test_specializeRule()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.