org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions
Class LexBIGServiceConvenienceMethodsImplTest

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.Extensions.GenericExtensions.LexBIGServiceConvenienceMethodsImplTest
All Implemented Interfaces:
junit.framework.Test

public class LexBIGServiceConvenienceMethodsImplTest
extends LexBIGServiceTestCase


Field Summary
 
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
LexBIGServiceConvenienceMethodsImplTest()
           
 
Method Summary
protected  java.lang.String getTestID()
          To be implemented by each descendant testcase.
protected  void runCacheThreadSaveTest(java.util.Map cache)
           
 void setUp()
           
 void testGetAssociationCodeFromAssociationName()
           
 void testGetAssociationCodeFromAssociationNameWrong()
           
 void testGetAssociationForwardName()
           
 void testGetAssociationNameForDirectionalNameForwardName()
           
 void testGetAssociationNameForDirectionalNameReverseName()
           
 void testGetAssociationNameFromAssociationCode()
           
 void testGetAssociationNameFromAssociationCodeWrong()
           
 void testGetNodespath()
           
 void testGetSupportedPropertiesOfTypePresentation()
          fix for gForge # 24699.
 void testThreadSafeCodingSchemeCaches()
           
 void testThreadSafeCopyRightsCaches()
           
 void testThreadSafeHIDCaches()
           
 void testThreadSafeHPathToRootExistsCaches()
           
 void testThreadSafeHRootCodesCaches()
           
 void testThreadSafeHRootsCaches()
           
 
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

LexBIGServiceConvenienceMethodsImplTest

public LexBIGServiceConvenienceMethodsImplTest()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

getTestID

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

Specified by:
getTestID in class LexBIGServiceTestCase
Returns:
String

testGetNodespath

public void testGetNodespath()
                      throws LBException
Throws:
LBException

testGetAssociationForwardName

public void testGetAssociationForwardName()
                                   throws LBException
Throws:
LBException

testThreadSafeCodingSchemeCaches

public void testThreadSafeCodingSchemeCaches()
                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadSafeCopyRightsCaches

public void testThreadSafeCopyRightsCaches()
                                    throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadSafeHIDCaches

public void testThreadSafeHIDCaches()
                             throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadSafeHPathToRootExistsCaches

public void testThreadSafeHPathToRootExistsCaches()
                                           throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadSafeHRootCodesCaches

public void testThreadSafeHRootCodesCaches()
                                    throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadSafeHRootsCaches

public void testThreadSafeHRootsCaches()
                                throws java.lang.Throwable
Throws:
java.lang.Throwable

testGetAssociationNameFromAssociationCode

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

testGetAssociationCodeFromAssociationName

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

testGetAssociationNameForDirectionalNameReverseName

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

testGetAssociationNameForDirectionalNameForwardName

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

testGetAssociationNameFromAssociationCodeWrong

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

testGetAssociationCodeFromAssociationNameWrong

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

testGetSupportedPropertiesOfTypePresentation

public void testGetSupportedPropertiesOfTypePresentation()
                                                  throws java.lang.Exception
fix for gForge # 24699. Identify supportedProperty by propertyType.

Throws:
java.lang.Exception

runCacheThreadSaveTest

protected void runCacheThreadSaveTest(java.util.Map cache)
                               throws java.lang.Throwable
Throws:
java.lang.Throwable

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.