edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic
Class AttributeIssuerStringMatchFunctorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.BaseTestCaseMetadata
              extended by edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AttributeIssuerStringMatchFunctorTest
All Implemented Interfaces:
junit.framework.Test

public class AttributeIssuerStringMatchFunctorTest
extends BaseTestCaseMetadata

AttributeIssuerStringMatchFunctor unit test.


Field Summary
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.BaseTestCaseMetadata
DATA_PATH, filterContext, iAttribute, issuerEntityId, matchFunctor, MD_PATH, metadataFile, metadataProvider, parser, requestContext, requesterEntityId, sAttribute
 
Constructor Summary
AttributeIssuerStringMatchFunctorTest()
           
 
Method Summary
 void testCaseInsensitive()
          Test against almost the issuer name in the metadata.
 void testCaseSensitive()
          Test against the issuer name ("urn:exmaple.org:issuer") in the metadata.
 void testMismatch()
          Test against nothing like the issuer name in the metadata.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.BaseTestCaseMetadata
setUp, testBase
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeIssuerStringMatchFunctorTest

public AttributeIssuerStringMatchFunctorTest()
Method Detail

testCaseSensitive

public void testCaseSensitive()
                       throws Exception
Test against the issuer name ("urn:exmaple.org:issuer") in the metadata.

Throws:
Exception

testCaseInsensitive

public void testCaseInsensitive()
                         throws Exception
Test against almost the issuer name in the metadata.

Throws:
Exception

testMismatch

public void testMismatch()
                  throws Exception
Test against nothing like the issuer name in the metadata.

Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.