java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.hp.hpl.jena.ontology.impl.test.TestOntDocumentManager
- All Implemented Interfaces:
- junit.framework.Test
- public class TestOntDocumentManager
- extends junit.framework.TestCase
Unit tests for document manager
- Version:
- CVS $Id: TestOntDocumentManager.java,v 1.16 2005/03/04 12:51:03 ian_dickinson Exp $
| Fields inherited from class junit.framework.TestCase |
|
|
Method Summary |
static java.lang.Integer |
cnt(int x)
|
static int |
countMarkers(com.hp.hpl.jena.rdf.model.Model m)
|
void |
setUp()
Sets up the fixture, for example, open a network connection. |
static junit.framework.TestSuite |
suite()
|
void |
testAddModel0()
|
void |
testAddModel1()
|
void |
testConfigure()
|
void |
testDynamicImports1()
|
void |
testDynamicImports2()
|
void |
testDynamicImports3()
|
void |
testIgnoreImport()
|
void |
testInitialisation()
|
void |
testManualAssociation()
|
void |
testRemoveImport1()
Simple case: a imports b, b imports c, remove c |
void |
testRemoveImport2()
case 2: a imports b, b imports c, remove b |
void |
testRemoveImport3()
case 3: a imports b, b imports c, a imports d, d imports c, remove b |
void |
testReset()
|
void |
testSearchPath()
|
| 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 |
F
private static java.lang.Boolean F
T
private static java.lang.Boolean T
s_testData
public static java.lang.Object[][] s_testData
TestOntDocumentManager
public TestOntDocumentManager(java.lang.String s)
cnt
public static final java.lang.Integer cnt(int x)
suite
public static junit.framework.TestSuite suite()
setUp
public void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
testInitialisation
public void testInitialisation()
testReset
public void testReset()
testConfigure
public void testConfigure()
testManualAssociation
public void testManualAssociation()
testIgnoreImport
public void testIgnoreImport()
testRemoveImport1
public void testRemoveImport1()
- Simple case: a imports b, b imports c, remove c
testRemoveImport2
public void testRemoveImport2()
- case 2: a imports b, b imports c, remove b
testRemoveImport3
public void testRemoveImport3()
- case 3: a imports b, b imports c, a imports d, d imports c, remove b
testDynamicImports1
public void testDynamicImports1()
testDynamicImports2
public void testDynamicImports2()
testDynamicImports3
public void testDynamicImports3()
testSearchPath
public void testSearchPath()
testAddModel0
public void testAddModel0()
testAddModel1
public void testAddModel1()
countMarkers
public static int countMarkers(com.hp.hpl.jena.rdf.model.Model m)