org.LexGrid.valueset.impl
Class LexEVSValueSetDefServicesImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.LexGrid.valueset.impl.LexEVSValueSetDefServicesImplTest
All Implemented Interfaces:
junit.framework.Test

public class LexEVSValueSetDefServicesImplTest
extends junit.framework.TestCase

JUnit for Value Set Definition Services.

Author:
Sridhar Dwarkanath

Constructor Summary
LexEVSValueSetDefServicesImplTest()
           
 
Method Summary
protected  void dumpValueSetDefinitionResolution(java.net.URI vdURI, AbsoluteCodingSchemeVersionReferenceList csvs)
           
 void testGetAllValueSetsWithNoNames()
           
 void testGetCodingSchemesInValueSetDef()
           
 void testGetValueSetDefinition()
           
 void testGetValueSetEntitiesForTerm()
           
 void testGetValueSetURIsForSupportedTagAndValue()
           
 void testGetVSDURIForConceptDomain()
           
 void testGetVSDURIForConceptDomainAndUsageContext()
           
 void testGetVSDURIForUsageContext()
           
 void testIsDomain()
           
 void testIsEntityInValueSetResolution()
           
 void testIsEntityInVSResolution()
           
 void testIsSubSet()
           
 void testListValueSetDefinitions()
           
 void testListValueSetsWithEntityCode()
           
 void testPropertyReference()
           
 void testResolveNodeAndImmediateChildrenOnlyValueSetDef()
          GForge #24037 : 2.
 void testResolveNodeOnlyValueSetDef()
          GForge #24037 : 1.
 void testResolveValueSetDef()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LexEVSValueSetDefServicesImplTest

public LexEVSValueSetDefServicesImplTest()
Method Detail

testGetAllValueSetsWithNoNames

public void testGetAllValueSetsWithNoNames()
                                    throws LBException,
                                           java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testGetCodingSchemesInValueSetDef

public void testGetCodingSchemesInValueSetDef()
                                       throws LBException,
                                              java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testGetValueSetDefinition

public void testGetValueSetDefinition()
                               throws LBException,
                                      java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testGetValueSetEntitiesForTerm

public void testGetValueSetEntitiesForTerm()
                                    throws LBException,
                                           java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testIsEntityInVSResolution

public void testIsEntityInVSResolution()
                                throws LBException,
                                       java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testIsEntityInValueSetResolution

public void testIsEntityInValueSetResolution()
                                      throws LBException,
                                             java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testListValueSetsWithEntityCode

public void testListValueSetsWithEntityCode()
                                     throws LBException,
                                            java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testIsSubSet

public void testIsSubSet()
                  throws LBException,
                         java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testListValueSetDefinitions

public void testListValueSetDefinitions()
                                 throws LBException
Throws:
LBException

testGetValueSetURIsForSupportedTagAndValue

public void testGetValueSetURIsForSupportedTagAndValue()

testResolveValueSetDef

public void testResolveValueSetDef()
                            throws LBException,
                                   java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testResolveNodeOnlyValueSetDef

public void testResolveNodeOnlyValueSetDef()
                                    throws LBException,
                                           java.net.URISyntaxException
GForge #24037 : 1. Include only specified entityCode if the transitiveClosure is 'false' and no association is stated in referenceAssociation.

Throws:
LBException
java.net.URISyntaxException

testResolveNodeAndImmediateChildrenOnlyValueSetDef

public void testResolveNodeAndImmediateChildrenOnlyValueSetDef()
                                                        throws LBException,
                                                               java.net.URISyntaxException
GForge #24037 : 2. Include specified entityCode and it's immediate parent/children (depending on stated association) if transitiveClosure is 'false' and an association is stated in referenceAssociation.

Throws:
LBException
java.net.URISyntaxException

testIsDomain

public void testIsDomain()
                  throws LBException
Throws:
LBException

testPropertyReference

public void testPropertyReference()
                           throws LBException,
                                  java.net.URISyntaxException
Throws:
LBException
java.net.URISyntaxException

testGetVSDURIForConceptDomain

public void testGetVSDURIForConceptDomain()

testGetVSDURIForUsageContext

public void testGetVSDURIForUsageContext()

testGetVSDURIForConceptDomainAndUsageContext

public void testGetVSDURIForConceptDomainAndUsageContext()

dumpValueSetDefinitionResolution

protected void dumpValueSetDefinitionResolution(java.net.URI vdURI,
                                                AbsoluteCodingSchemeVersionReferenceList csvs)

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.