org.coode.owl.rdf
Class TestDisjoints

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.coode.owl.rdf.TestDisjoints
All Implemented Interfaces:
junit.framework.Test

public class TestDisjoints
extends junit.framework.TestCase

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 09-May-2007

Test cases for rendering of disjoint axioms. The OWL 1.1 specification makes it possible to specify that a set of classes are mutually disjoint. Unfortunately, this must be represented in RDF as a set of pairwise disjoint statements. In otherwords, DisjointClasses(A, B, C) must be represented as DisjointWith(A, B), DisjointWith(A, C) DisjointWith(B, C). ~This test case ensure that these axioms are serialsed correctly.


Constructor Summary
TestDisjoints()
           
 
Method Summary
protected  void setUp()
           
 void testAnonDisjoints()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDisjoints

public TestDisjoints()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testAnonDisjoints

public void testAnonDisjoints()
                       throws java.lang.Exception
Throws:
java.lang.Exception