de.fuberlin.wiwiss.d2rq.functional_tests
Class ModelAPITest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byde.fuberlin.wiwiss.d2rq.TestFramework
              extended byde.fuberlin.wiwiss.d2rq.functional_tests.ModelAPITest
All Implemented Interfaces:
junit.framework.Test

public class ModelAPITest
extends TestFramework

Functional tests that exercise a ModelD2RQ by calling Model API functions. For notes on running the tests, see AllTests. To see debug information, uncomment the enableDebug() call in the setUp() method.

Author:
Richard Cyganiak

Field Summary
private  ModelD2RQ model
           
 
Fields inherited from class de.fuberlin.wiwiss.d2rq.TestFramework
D2RQMap, NS, xsdString, xsdYear
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ModelAPITest(java.lang.String arg0)
           
 
Method Summary
(package private)  void dumpStatement(com.hp.hpl.jena.rdf.model.Statement stmt)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testHasProperty()
           
 void testListStatements()
           
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.TestFramework
getD2RQMap, getNS, run, runTest, setD2RQMap, setNS
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, 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

model

private ModelD2RQ model
Constructor Detail

ModelAPITest

public ModelAPITest(java.lang.String arg0)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class TestFramework
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class TestFramework
Throws:
java.lang.Exception

testListStatements

public void testListStatements()

testHasProperty

public void testHasProperty()

dumpStatement

void dumpStatement(com.hp.hpl.jena.rdf.model.Statement stmt)