Update of /cvsroot/sunxacml/tests/com/sun/xacml/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19309/com/sun/xacml/test
Modified Files:
TestPolicyFinderModule.java
Log Message:
updated to support the new VersionConstraints parameter
Index: TestPolicyFinderModule.java
===================================================================
RCS file: /cvsroot/sunxacml/tests/com/sun/xacml/test/TestPolicyFinderModule.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** TestPolicyFinderModule.java 18 May 2004 21:20:50 -0000 1.1.1.1
--- TestPolicyFinderModule.java 7 Jan 2005 23:55:17 -0000 1.2
***************
*** 43,46 ****
--- 43,47 ----
import com.sun.xacml.PolicyReference;
import com.sun.xacml.PolicySet;
+ import com.sun.xacml.VersionConstraints;
import com.sun.xacml.ctx.Status;
***************
*** 238,245 ****
* @param idReference the reference to resolve
* @param type policy or policy set
*
* @return the referenced policy, if one exists, or an error
*/
! public PolicyFinderResult findPolicy(URI idReference, int type) {
String fileName = null;
--- 239,248 ----
* @param idReference the reference to resolve
* @param type policy or policy set
+ * @param constraints ignored since this test uses only pre-2.0 policies
*
* @return the referenced policy, if one exists, or an error
*/
! public PolicyFinderResult findPolicy(URI idReference, int type,
! VersionConstraints constraints) {
String fileName = null;
|