org.LexGrid.LexBIG.Impl.function.history
Class TestProductionTags

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

public class TestProductionTags
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
TestProductionTags()
           
 
Method Summary
protected  java.lang.String getTestID()
          To be implemented by each descendant testcase.
 void testProductionTags01()
          01 Load/Activate version 1.1 of Automobiles vocabulary
 void testProductionTags02()
          02 Assign 'PRODUCTION' tag to 1.0 version; verify tag assignment
 void testProductionTags03()
          03 Perform concept lookup by coding scheme name/tag; verify that 'Chrysler' is not included
 void testProductionTags04()
          04 Perform concept lookup by coding scheme name only; verify that 'Chrysler' is not included
 void testProductionTags05()
          05 Perform relation lookup by coding scheme name/tag; verify that 'Domestic Auto Makers' has subtype 'Ford' but not 'Chrysler'
 void testProductionTags06()
          06 Perform relation lookup by coding scheme name only; verify that 'Domestic Auto Makers' has subtype 'Ford' but not 'Chrysler'
 void testProductionTags07()
          07 Assign 'PRODUCTION' tag to 1.1 version; verify tag assignment
 void testProductionTags08()
          08 Perform concept lookup by coding scheme name/tag; verify that 'Chrysler' is included
 void testProductionTags09()
          09 Perform concept lookup by coding scheme name only; verify that 'Chrysler' is included
 void testProductionTags10()
          10 Perform relation lookup by coding scheme name/tag; verify that 'Domestic Auto Makers' has subtype 'Ford' and 'Chrysler'
 void testProductionTags11()
          11 Perform relation lookup by coding scheme name only; verify that 'Domestic Auto Makers' has subtype 'Ford' and 'Chrysler'
 void testProductionTags12()
          12 Clear 'PRODUCTION' tag on 1.1 version by setting to empty string; verify tag is cleared
 void testProductionTags13()
          13 Attempt to perform concept lookup without specifying a version; verify exception
 void testProductionTags14()
          14 Assign 'TEST' tag to 1.0 version; verify tag assignment
 void testProductionTags14b()
           
 void testProductionTags15()
          15 Deactivate/Remove version 1.1 (see deactivate/remove methods on TestUtil as reference)
 
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

TestProductionTags

public TestProductionTags()
Method Detail

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

testProductionTags01

public void testProductionTags01()
                          throws java.lang.InterruptedException,
                                 LBException
01 Load/Activate version 1.1 of Automobiles vocabulary

Throws:
java.lang.InterruptedException
LBException

testProductionTags02

public void testProductionTags02()
                          throws LBParameterException,
                                 LBInvocationException,
                                 LBException
02 Assign 'PRODUCTION' tag to 1.0 version; verify tag assignment

Throws:
LBException
LBInvocationException
LBParameterException

testProductionTags03

public void testProductionTags03()
                          throws LBException
03 Perform concept lookup by coding scheme name/tag; verify that 'Chrysler' is not included

Throws:
LBException

testProductionTags04

public void testProductionTags04()
                          throws LBException
04 Perform concept lookup by coding scheme name only; verify that 'Chrysler' is not included

Throws:
LBException

testProductionTags05

public void testProductionTags05()
                          throws LBException
05 Perform relation lookup by coding scheme name/tag; verify that 'Domestic Auto Makers' has subtype 'Ford' but not 'Chrysler'

Throws:
LBException

testProductionTags06

public void testProductionTags06()
                          throws LBException
06 Perform relation lookup by coding scheme name only; verify that 'Domestic Auto Makers' has subtype 'Ford' but not 'Chrysler'

Throws:
LBException

testProductionTags07

public void testProductionTags07()
                          throws LBParameterException,
                                 LBInvocationException,
                                 LBException
07 Assign 'PRODUCTION' tag to 1.1 version; verify tag assignment

Throws:
LBException
LBInvocationException
LBParameterException

testProductionTags08

public void testProductionTags08()
                          throws LBInvocationException,
                                 LBException
08 Perform concept lookup by coding scheme name/tag; verify that 'Chrysler' is included

Throws:
LBException
LBInvocationException

testProductionTags09

public void testProductionTags09()
                          throws LBException
09 Perform concept lookup by coding scheme name only; verify that 'Chrysler' is included

Throws:
LBException

testProductionTags10

public void testProductionTags10()
                          throws LBException
10 Perform relation lookup by coding scheme name/tag; verify that 'Domestic Auto Makers' has subtype 'Ford' and 'Chrysler'

Throws:
LBException

testProductionTags11

public void testProductionTags11()
                          throws LBException
11 Perform relation lookup by coding scheme name only; verify that 'Domestic Auto Makers' has subtype 'Ford' and 'Chrysler'

Throws:
LBException

testProductionTags12

public void testProductionTags12()
                          throws LBParameterException,
                                 LBInvocationException,
                                 LBException
12 Clear 'PRODUCTION' tag on 1.1 version by setting to empty string; verify tag is cleared

Throws:
LBException
LBInvocationException
LBParameterException

testProductionTags13

public void testProductionTags13()
13 Attempt to perform concept lookup without specifying a version; verify exception


testProductionTags14

public void testProductionTags14()
                          throws LBParameterException,
                                 LBInvocationException,
                                 LBException
14 Assign 'TEST' tag to 1.0 version; verify tag assignment

Throws:
LBException
LBInvocationException
LBParameterException

testProductionTags14b

public void testProductionTags14b()
                           throws LBException
Throws:
LBException

testProductionTags15

public void testProductionTags15()
                          throws LBInvocationException,
                                 LBException
15 Deactivate/Remove version 1.1 (see deactivate/remove methods on TestUtil as reference)

Throws:
LBException
LBInvocationException

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.