edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match
Class BaseTestCaseMetadata

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
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AttributeIssuerEntityAttributeExactMatchFunctorTestCase, AttributeIssuerEntityAttributeRegexMatchFunctorTestCase, AttributeIssuerInEntityGroupMatchFunctorTestCase, AttributeIssuerNameIDFormatExactMatchFunctorTestCase, AttributeIssuerRegexMatchFunctorTest, AttributeIssuerStringMatchFunctorTest, AttributeRequesterEntityAttributeExactMatchFunctorTestCase, AttributeRequesterEntityAttributeRegexMatchFunctorTestCase, AttributeRequesterInEntityGroupMatchFunctorTestCase, AttributeRequesterNameIDFormatExactMatchFunctorTestCase, AttributeRequesterRegexMatchFunctorTest, AttributeRequesterStringMatchFunctorTest

public class BaseTestCaseMetadata
extends junit.framework.TestCase

Base class for JUnit test cases.


Field Summary
static String DATA_PATH
          Base path for data files.
protected  edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.ShibbolethFilteringContext filterContext
          Simple filtering context for use by tests.
protected  edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Integer> iAttribute
          A simple attribute included in filterContext.
protected  String issuerEntityId
          EntityID of the message issuer.
protected  edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.MatchFunctor matchFunctor
          The Functor under test.
static String MD_PATH
          Base path to metadata files.
protected  String metadataFile
          The metadata file that will be used during this test.
protected  org.opensaml.saml2.metadata.provider.FilesystemMetadataProvider metadataProvider
          Provider loaded with metadata.
protected  BasicParserPool parser
          Parser for metadata.
protected  edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileRequestContext requestContext
          Request Context included in filter context.
protected  String requesterEntityId
          EntityID of the message requester.
protected  edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<String> sAttribute
          A simple attribute included in filterContext.
 
Constructor Summary
BaseTestCaseMetadata()
          Constructor.
 
Method Summary
protected  void setUp()
          
 void testBase()
          Placeholder to allow us to test an entire folder.
 
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
 

Field Detail

DATA_PATH

public static final String DATA_PATH
Base path for data files.

See Also:
Constant Field Values

MD_PATH

public static final String MD_PATH
Base path to metadata files.

See Also:
Constant Field Values

metadataFile

protected String metadataFile
The metadata file that will be used during this test.


issuerEntityId

protected String issuerEntityId
EntityID of the message issuer.


requesterEntityId

protected String requesterEntityId
EntityID of the message requester.


parser

protected BasicParserPool parser
Parser for metadata.


metadataProvider

protected org.opensaml.saml2.metadata.provider.FilesystemMetadataProvider metadataProvider
Provider loaded with metadata.


requestContext

protected edu.internet2.middleware.shibboleth.common.profile.provider.BaseSAMLProfileRequestContext requestContext
Request Context included in filter context.


filterContext

protected edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.ShibbolethFilteringContext filterContext
Simple filtering context for use by tests.


iAttribute

protected edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<Integer> iAttribute
A simple attribute included in filterContext.


sAttribute

protected edu.internet2.middleware.shibboleth.common.attribute.BaseAttribute<String> sAttribute
A simple attribute included in filterContext.


matchFunctor

protected edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.MatchFunctor matchFunctor
The Functor under test.

Constructor Detail

BaseTestCaseMetadata

public BaseTestCaseMetadata()
Constructor.

Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testBase

public void testBase()
Placeholder to allow us to test an entire folder.



Copyright © 1999-2012. All Rights Reserved.