org.LexGrid.LexBIG.cagrid.test.security
Class LexEVSDataServiceSecurityTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.LexGrid.LexBIG.cagrid.test.setup.ServiceTestCase
              extended by org.LexGrid.LexBIG.cagrid.test.security.LexEVSDataServiceSecurityTest
All Implemented Interfaces:
junit.framework.Test

public class LexEVSDataServiceSecurityTest
extends ServiceTestCase


Field Summary
 
Fields inherited from class org.LexGrid.LexBIG.cagrid.test.setup.ServiceTestCase
DOMAIN_ATOMCODE, DOMAIN_ATOMNAME, DOMAIN_ATOMSOURCE, DOMAIN_AVAILABLE_SOURCE, DOMAIN_CONCEPT_ASSOC, DOMAIN_CONCEPT_CODE, DOMAIN_CONCEPT_CODE_INVERSE_ASSOC, DOMAIN_CONCEPT_CODE_INVERSE_ROLE, DOMAIN_CONCEPT_NAME, DOMAIN_CONCEPT_NAME_INVERSE_ASSOC, DOMAIN_CONCEPT_NAME_INVERSE_ROLE, DOMAIN_CONCEPT_ROLE, DOMAIN_CUI, DOMAIN_LUI, DOMAIN_QUAL_NAME, DOMAIN_QUAL_VALUE, DOMAIN_SEMANTIC_ID, DOMAIN_SEMANTIC_TYPE, DOMAIN_SOURCE_DEF, GO_CONCODE, GO_SCHEME, GO_VERSION, loincMeta, MEDDRA_CONCODE, MEDDRA_SCHEME, MEDDRA_TOKEN, MEDDRA_URN, MEDDRA_VERSION, meddraMeta, meshMeta, META_SCHEME, META_TOKEN, META_URN, META_VERSION, MGED_CONCODE, MGED_SCHEME, nciMetaVersion, NCIT_CONCODE, ncitMeta, NDF_CONCODE, serviceUrl, SNOMED_CONCODE, SNOMED_PC_CONCEPT, SNOMED_SCHEME, SNOMED_VERSION, snomedMeta, THES_APPROX_NUM_CONCEPTS, THES_COPYRIGHT, THES_DEFAULT_LANG, THES_ENT_DESC, THES_FORMAL, THES_ISNATIVE, THES_LEAF_CONCEPT, THES_LOCAL, THES_LOCAL_NSDI, THES_PARENT_CHILD_TEST_CONCEPT, THES_ROOT_CONCEPT, THES_SCHEME, THES_TAG, THES_URN, THES_VERSION, UMLS_CONCODE, ZEBRAFISH_SCHEME, ZEBRAFISH_VERSION, ZF_CONCODE
 
Constructor Summary
LexEVSDataServiceSecurityTest()
           
 
Method Summary
protected  java.lang.String getTestID()
          To be implemented by each descendant testcase.
 void setUp()
           
 void testConnectToSecuredVocabWithoutToken()
           
 void testConnectToSecuredVocabWithToken()
           
 void testConnectToUnsecuredVocabWithGenericClient()
           
 void testConnectToUnsecuredVocabWithLexEVSClient()
           
 void testConnectWithMultipleClients()
           
 
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

LexEVSDataServiceSecurityTest

public LexEVSDataServiceSecurityTest()
Method Detail

getTestID

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

Specified by:
getTestID in class ServiceTestCase
Returns:
String

setUp

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

testConnectToUnsecuredVocabWithGenericClient

public void testConnectToUnsecuredVocabWithGenericClient()

testConnectToUnsecuredVocabWithLexEVSClient

public void testConnectToUnsecuredVocabWithLexEVSClient()

testConnectToSecuredVocabWithToken

public void testConnectToSecuredVocabWithToken()

testConnectToSecuredVocabWithoutToken

public void testConnectToSecuredVocabWithoutToken()

testConnectWithMultipleClients

public void testConnectWithMultipleClients()

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.