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

Quick Search    Search Deep

com.hp.hpl.jena.graph.compose.test
Class TestDisjointUnion  view TestDisjointUnion download TestDisjointUnion.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.hp.hpl.jena.test.JenaTestBase
              extended bycom.hp.hpl.jena.graph.test.GraphTestBase
                  extended bycom.hp.hpl.jena.graph.compose.test.TestDisjointUnion
All Implemented Interfaces:
junit.framework.Test

public class TestDisjointUnion
extends com.hp.hpl.jena.graph.test.GraphTestBase

TestDisjointUnion - test that DisjointUnion works, as well as we can.


Field Summary
 
Fields inherited from class com.hp.hpl.jena.graph.test.GraphTestBase
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestDisjointUnion(java.lang.String name)
           
 
Method Summary
static junit.framework.TestSuite suite()
           
 void testAddLeftOnlyIfNecessary()
           
 void testBothComponents()
           
 void testEmptyUnion()
           
 void testLeftUnion()
           
 void testRemoveBoth()
           
 void testRightUnion()
           
protected  void testSingleComponent(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.compose.DisjointUnion du)
           
 
Methods inherited from class com.hp.hpl.jena.graph.test.GraphTestBase
appendNode, arrayToSet, assertContains, assertContainsAll, assertEqualsTemplate, assertIsomorphic, assertIsomorphic, assertOmits, assertOmitsAll, contains, getGraph, getReificationTriples, graphAdd, graphWith, iteratorToList, iteratorToSet, modelFor, newGraph, nice, nice, niceTriple, node, nodes, nodeSet, show, testContains, testContains, testContains, testContains, testOmits, testOmits, testOmits, testOmits, triple, triple, tripleArray, tripleSet
 
Methods inherited from class com.hp.hpl.jena.test.JenaTestBase
append, assertDiffer, assertDiffer, assertHasParent, getConstructor, hasAsParent, isPublicTestMethod, isTestMethod, listToSet, pass
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

TestDisjointUnion

public TestDisjointUnion(java.lang.String name)
Method Detail

suite

public static junit.framework.TestSuite suite()

testEmptyUnion

public void testEmptyUnion()

testLeftUnion

public void testLeftUnion()

testRightUnion

public void testRightUnion()

testSingleComponent

protected void testSingleComponent(com.hp.hpl.jena.graph.Graph g,
                                   com.hp.hpl.jena.graph.compose.DisjointUnion du)

testBothComponents

public void testBothComponents()

testRemoveBoth

public void testRemoveBoth()

testAddLeftOnlyIfNecessary

public void testAddLeftOnlyIfNecessary()