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

Quick Search    Search Deep

com.hp.hpl.jena.ontology.impl.test
Class TestOntDocumentManager  view TestOntDocumentManager download TestOntDocumentManager.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.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 $

Nested Class Summary
(package private) static class TestOntDocumentManager.DocManagerImportTest
          Document manager imports test case.
 
Field Summary
private static java.lang.Boolean F
           
static java.lang.Object[][] s_testData
           
private static java.lang.Boolean T
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestOntDocumentManager(java.lang.String s)
           
 
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.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

F

private static java.lang.Boolean F

T

private static java.lang.Boolean T

s_testData

public static java.lang.Object[][] s_testData
Constructor Detail

TestOntDocumentManager

public TestOntDocumentManager(java.lang.String s)
Method Detail

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)