Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.reasoner.rulesys.test
Class TestBasics  view TestBasics download TestBasics.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.hp.hpl.jena.reasoner.rulesys.test.TestBasics
All Implemented Interfaces:
junit.framework.Test

public class TestBasics
extends junit.framework.TestCase

Unit tests for simple infrastructure pieces of the rule systems.

Version:
$Revision: 1.25 $ on $Date: 2005/02/21 12:18:10 $

Field Summary
(package private)  com.hp.hpl.jena.graph.Node n1
           
(package private)  com.hp.hpl.jena.graph.Node n2
           
(package private)  com.hp.hpl.jena.graph.Node n3
           
(package private)  com.hp.hpl.jena.graph.Node n4
           
(package private)  com.hp.hpl.jena.graph.Node n5
           
(package private)  com.hp.hpl.jena.graph.Node p
           
(package private)  com.hp.hpl.jena.graph.Node q
           
(package private)  com.hp.hpl.jena.graph.Node r
           
(package private)  com.hp.hpl.jena.graph.Node res
           
(package private)  com.hp.hpl.jena.graph.Node s
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestBasics(java.lang.String name)
          Boilerplate for junit
 
Method Summary
static junit.framework.TestSuite suite()
          Boilerplate for junit.
 void testAxiomHandling()
          Test axiom handling machinery
 void testBindingEnvironment()
          Test the BindingEnvironment machinery
 void testBuiltins()
          The the minimal machinery for supporting builtins
 void testClauseMaching()
          Test simple single clause binding
 void testConvertList()
          Test the list conversion utility that is used in some of the builtins.
 void testEmbeddedFunctors()
          Test functor handling
 void testRebind()
          Test the rebind operation.
 void testRemoveBuiltin()
          The the "remove" builtin
 void testRuleDerivations()
          Test derivation machinery
 void testRuleEquality()
          Test rule equality operations.
 void testRuleMatcher()
          Minimal rule tester to check basic pattern match
 void testRuleParser()
          Test the internal rule parser
 void testSchemaBinding()
          Test schema partial binding machinery
 void testSize()
          Test size bug, used to blow up if size was called before any queries.
 void testValidityReport()
          Check validity report implementation, there had been a stupid bug here.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

p

com.hp.hpl.jena.graph.Node p

q

com.hp.hpl.jena.graph.Node q

r

com.hp.hpl.jena.graph.Node r

s

com.hp.hpl.jena.graph.Node s

n1

com.hp.hpl.jena.graph.Node n1

n2

com.hp.hpl.jena.graph.Node n2

n3

com.hp.hpl.jena.graph.Node n3

n4

com.hp.hpl.jena.graph.Node n4

n5

com.hp.hpl.jena.graph.Node n5

res

com.hp.hpl.jena.graph.Node res
Constructor Detail

TestBasics

public TestBasics(java.lang.String name)
Boilerplate for junit

Method Detail

suite

public static junit.framework.TestSuite suite()
Boilerplate for junit. This is its own test suite


testRuleParser

public void testRuleParser()
Test the internal rule parser


testRuleEquality

public void testRuleEquality()
Test rule equality operations.


testBindingEnvironment

public void testBindingEnvironment()
Test the BindingEnvironment machinery


testClauseMaching

public void testClauseMaching()
Test simple single clause binding


testRuleMatcher

public void testRuleMatcher()
Minimal rule tester to check basic pattern match


testRuleDerivations

public void testRuleDerivations()
Test derivation machinery


testAxiomHandling

public void testAxiomHandling()
Test axiom handling machinery


testSchemaBinding

public void testSchemaBinding()
Test schema partial binding machinery


testEmbeddedFunctors

public void testEmbeddedFunctors()
Test functor handling


testBuiltins

public void testBuiltins()
The the minimal machinery for supporting builtins


testRemoveBuiltin

public void testRemoveBuiltin()
The the "remove" builtin


testRebind

public void testRebind()
Test the rebind operation.


testSize

public void testSize()
Test size bug, used to blow up if size was called before any queries.


testValidityReport

public void testValidityReport()
Check validity report implementation, there had been a stupid bug here.


testConvertList

public void testConvertList()
Test the list conversion utility that is used in some of the builtins.