org.LexGrid.LexBIG.Impl.function.codednodeset
Class UnionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.LexGrid.LexBIG.Impl.function.LexBIGServiceTestCase
              extended by org.LexGrid.LexBIG.Impl.function.codednodeset.BaseCodedNodeSetTest
                  extended by org.LexGrid.LexBIG.Impl.function.codednodeset.UnionTest
All Implemented Interfaces:
junit.framework.Test

public class UnionTest
extends BaseCodedNodeSetTest

The Class UnionTest.

Author:
Kevin Peterson

Field Summary
 
Fields inherited from class org.LexGrid.LexBIG.Impl.function.codednodeset.BaseCodedNodeSetTest
cns, lbs
 
Fields inherited from class org.LexGrid.LexBIG.Impl.function.LexBIGServiceTestCase
AIR_SCHEME, AIR_URN, AIR_VERSION, AMINOACID_SCHEME, AMINOACID_VERSION, AUTO_EXPORT_SCHEME, AUTO_EXPORT_URI, AUTO_EXPORT_VERSION, AUTO_SCHEME, AUTO_URN, AUTO_VERSION, CAMERA_SCHEME_MANIFEST, CAMERA_SCHEME_MANIFEST_URN, CAMERA_SCHEME_MANIFEST_VERSION, CELL_SCHEME, CELL_URN, CELL_VERSION, HL7_SCHEME, HL7_VERSION, MAPPING_SCHEME_URI, MAPPING_SCHEME_VERSION, META_SCHEME, META_SCHEME_MANIFEST, META_SCHEME_MANIFEST_URN, META_SCHEME_MANIFEST_VERSION, META_URN, META_VERSION, OVARIANMASS_SCHEME_URN, OVARIANMASS_SCHEME_VERSION, PARTS_NAMESPACE, PARTS_SCHEME, PARTS_URN, PARTS_VERSION, PIZZA_SCHEME_NAME, PIZZA_SCHEME_URI, PIZZA_SCHEME_VERSION, SAMPLE_META_VERSION, THES_SCHEME, THES_URN, THES_VERSION
 
Constructor Summary
UnionTest()
           
 
Method Summary
protected  java.lang.String getTestID()
          To be implemented by each descendant testcase.
 void setUp()
           
 void testMultipleUnions()
           
 void testMultipleUnionsWithRestriction()
           
 void testUnion()
          Test union.
 void testUnionCrossCodingScheme()
          Test union cross coding scheme.
 void testUnionToAUnion()
          Test union to a union.
 void testUnionToSelf()
          Test union to self.
 void testUnionWithAddedRestriction()
          Test union with added restriction.
 void testUnionWithAUnion()
          Test union with a union.
 void testUnionWithCodesAndPropertyRestriction()
           
 void testUnionWithCodesAndPropertyRestrictionUnionOtherWay()
           
 
Methods inherited from class org.LexGrid.LexBIG.Impl.function.codednodeset.BaseCodedNodeSetTest
contains, contains, contains, getCodingScheme, rcrEquals, testSetUp
 
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

UnionTest

public UnionTest()
Method Detail

getTestID

protected java.lang.String getTestID()
Description copied from class: LexBIGServiceTestCase
To be implemented by each descendant testcase.

Overrides:
getTestID in class BaseCodedNodeSetTest
Returns:
String

setUp

public void setUp()
Overrides:
setUp in class BaseCodedNodeSetTest

testUnion

public void testUnion()
               throws LBException
Test union.

Throws:
LBException - the LB exception

testUnionWithAddedRestriction

public void testUnionWithAddedRestriction()
                                   throws LBException
Test union with added restriction.

Throws:
LBException - the LB exception

testUnionToSelf

public void testUnionToSelf()
                     throws LBException
Test union to self.

Throws:
LBException - the LB exception

testUnionCrossCodingScheme

public void testUnionCrossCodingScheme()
                                throws LBException
Test union cross coding scheme.

Throws:
LBException - the LB exception

testUnionToAUnion

public void testUnionToAUnion()
                       throws LBException
Test union to a union.

Throws:
LBException - the LB exception

testUnionWithAUnion

public void testUnionWithAUnion()
                         throws LBException
Test union with a union.

Throws:
LBException - the LB exception

testMultipleUnions

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

testMultipleUnionsWithRestriction

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

testUnionWithCodesAndPropertyRestriction

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

testUnionWithCodesAndPropertyRestrictionUnionOtherWay

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

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.