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

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

public class ScriptMatchFunctorTest
extends BaseTestCase

ScriptMatchFunctor unit test.


Field Summary
private static String SCRIPT
          Simple test to check whether parameters are passed OK.
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.BaseTestCase
DATA_PATH, filterContext, iAttribute, matchFunctor, requestContext, sAttribute, scope
 
Constructor Summary
ScriptMatchFunctorTest()
           
 
Method Summary
 void setUp()
          
 void testComplexScript()
          Test the complex script above (which does a very selected and unprotected equality test).
 void testSimpleScript()
          Test two one line tests.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.BaseTestCase
testBase, testBoth, testBoth
 
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

SCRIPT

private static final String SCRIPT
Simple test to check whether parameters are passed OK.

See Also:
Constant Field Values
Constructor Detail

ScriptMatchFunctorTest

public ScriptMatchFunctorTest()
Method Detail

setUp

public void setUp()
           throws Exception

Overrides:
setUp in class BaseTestCase
Throws:
Exception

testSimpleScript

public void testSimpleScript()
Test two one line tests.


testComplexScript

public void testComplexScript()
Test the complex script above (which does a very selected and unprotected equality test).



Copyright © 1999-2012. All Rights Reserved.