org.LexGrid.LexBIG.Impl.function.query
Class TestSameCodeDifferentNamespace

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.query.TestSameCodeDifferentNamespace
All Implemented Interfaces:
junit.framework.Test

public class TestSameCodeDifferentNamespace
extends BaseCodedNodeSetTest

The Class TestSameCodeDifferentNamespace.

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
TestSameCodeDifferentNamespace()
           
 
Method Summary
 void testNoRestrictions()
          Test no restrictions.
 void testRestrictToCodesNoNamespaceIfNamespaceIsCorrect()
          Test restrict to codes no namespace if namespace is correct.
 void testRestrictToCodesNoNamespaceIfPropertiesCountAreCorrect()
          Test restrict to codes no namespace if properties count are correct.
 void testRestrictToCodesNoNamespaceIfPropertiesTypesAreCorrect()
          Test restrict to codes no namespace if properties types are correct.
 void testRestrictToCodesNoNamespaceIfPropertiesValuesAreCorrect()
          Test restrict to codes no namespace if properties values are correct.
 void testRestrictToCodesNoNamespaceSize()
          Test restrict to codes no namespace size.
 void testRestrictToCodesWithNamespace1()
          Test restrict to codes with namespace1.
 void testRestrictToCodesWithNamespace2()
          Test restrict to codes with namespace2.
 
Methods inherited from class org.LexGrid.LexBIG.Impl.function.codednodeset.BaseCodedNodeSetTest
contains, contains, contains, getCodingScheme, getTestID, rcrEquals, setUp, 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

TestSameCodeDifferentNamespace

public TestSameCodeDifferentNamespace()
Method Detail

testNoRestrictions

public void testNoRestrictions()
                        throws LBInvocationException,
                               LBParameterException
Test no restrictions.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesNoNamespaceSize

public void testRestrictToCodesNoNamespaceSize()
                                        throws LBInvocationException,
                                               LBParameterException
Test restrict to codes no namespace size.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesNoNamespaceIfNamespaceIsCorrect

public void testRestrictToCodesNoNamespaceIfNamespaceIsCorrect()
                                                        throws LBInvocationException,
                                                               LBParameterException
Test restrict to codes no namespace if namespace is correct.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesNoNamespaceIfPropertiesCountAreCorrect

public void testRestrictToCodesNoNamespaceIfPropertiesCountAreCorrect()
                                                               throws LBInvocationException,
                                                                      LBParameterException
Test restrict to codes no namespace if properties count are correct.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesNoNamespaceIfPropertiesTypesAreCorrect

public void testRestrictToCodesNoNamespaceIfPropertiesTypesAreCorrect()
                                                               throws LBInvocationException,
                                                                      LBParameterException
Test restrict to codes no namespace if properties types are correct.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesNoNamespaceIfPropertiesValuesAreCorrect

public void testRestrictToCodesNoNamespaceIfPropertiesValuesAreCorrect()
                                                                throws LBInvocationException,
                                                                       LBParameterException
Test restrict to codes no namespace if properties values are correct.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesWithNamespace1

public void testRestrictToCodesWithNamespace1()
                                       throws LBInvocationException,
                                              LBParameterException
Test restrict to codes with namespace1.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter exception

testRestrictToCodesWithNamespace2

public void testRestrictToCodesWithNamespace2()
                                       throws LBInvocationException,
                                              LBParameterException
Test restrict to codes with namespace2.

Throws:
LBInvocationException - the LB invocation exception
LBParameterException - the LB parameter 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.