|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
de.fuberlin.wiwiss.d2rq.ParserTest
Unit tests for MapParser
Field Summary | |
private MockLogger |
logger
|
private com.hp.hpl.jena.rdf.model.Model |
model
|
private static java.lang.String |
TABLE_URI
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
ParserTest(java.lang.String arg0)
Constructor for ParserTest. |
Method Summary | |
private void |
addTranslationResource(com.hp.hpl.jena.rdf.model.Resource table,
com.hp.hpl.jena.rdf.model.RDFNode dbValue,
com.hp.hpl.jena.rdf.model.RDFNode rdfValue)
|
private com.hp.hpl.jena.rdf.model.Resource |
createTranslationTableResource()
|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testEmptyTranslationTable()
|
void |
testGetSameTranslationTable()
|
void |
testParseTranslationTable()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
private static final java.lang.String TABLE_URI
private com.hp.hpl.jena.rdf.model.Model model
private MockLogger logger
Constructor Detail |
public ParserTest(java.lang.String arg0)
arg0
- Method Detail |
protected void setUp() throws java.lang.Exception
java.lang.Exception
protected void tearDown() throws java.lang.Exception
java.lang.Exception
public void testEmptyTranslationTable()
public void testGetSameTranslationTable()
public void testParseTranslationTable()
private com.hp.hpl.jena.rdf.model.Resource createTranslationTableResource()
private void addTranslationResource(com.hp.hpl.jena.rdf.model.Resource table, com.hp.hpl.jena.rdf.model.RDFNode dbValue, com.hp.hpl.jena.rdf.model.RDFNode rdfValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |