com.hp.hpl.jena.extras.tools.notations.test
Class TestParser

java.lang.Object
  extended by com.hp.hpl.jena.extras.tools.notations.test.TestParser

public class TestParser
extends java.lang.Object

Author:
hedgehog S P O (;|\n) S P O ... S P O, O2, O3 ... S P O & Q O2 & R O3 [P O ....] (A B C) S model = statement ** ";" statement = subject [predication (&predication)*] predication = predicate object [, object]* subject = name | "(" subject* ")" | "[" predication (&predication)* "]"

Constructor Summary
TestParser()
           
 
Method Summary
protected  com.hp.hpl.jena.rdf.model.Model m(java.lang.String s)
           
protected  com.hp.hpl.jena.rdf.model.Model parse(java.lang.String s)
           
 void testBigger()
           
 void testBNode()
           
 void testBnodeBugWithSemicolon()
           
 void testBNodeWithManyProperties()
           
 void testBNodeWithProperties()
           
 void testDifferentBNodes()
           
 void testEmptyList()
           
 void testExtraObjects()
           
 void testExtraPredications()
           
protected  void testGeneratedModel(java.lang.String wanted, java.lang.String toParse)
           
 void testListAsSubject()
           
 void testLoneBNode()
           
 void testLoneList()
           
 void testLoneSubject()
           
 void testLongishList()
           
 void testNoStatements()
           
 void testOutput()
           
 void testSemidStatements()
           
 void testSimpleStatement()
           
 void testSingletonList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestParser

public TestParser()
Method Detail

testNoStatements

public void testNoStatements()

testSimpleStatement

public void testSimpleStatement()

testSemidStatements

public void testSemidStatements()

testExtraPredications

public void testExtraPredications()

testExtraObjects

public void testExtraObjects()

testEmptyList

public void testEmptyList()

testSingletonList

public void testSingletonList()

testListAsSubject

public void testListAsSubject()

testLongishList

public void testLongishList()

testBNode

public void testBNode()

testDifferentBNodes

public void testDifferentBNodes()

testBNodeWithProperties

public void testBNodeWithProperties()

testBNodeWithManyProperties

public void testBNodeWithManyProperties()

testBnodeBugWithSemicolon

public void testBnodeBugWithSemicolon()

testLoneSubject

public void testLoneSubject()

testLoneList

public void testLoneList()

testLoneBNode

public void testLoneBNode()

testBigger

public void testBigger()

testOutput

public void testOutput()

testGeneratedModel

protected void testGeneratedModel(java.lang.String wanted,
                                  java.lang.String toParse)

m

protected com.hp.hpl.jena.rdf.model.Model m(java.lang.String s)

parse

protected com.hp.hpl.jena.rdf.model.Model parse(java.lang.String s)