10139N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
10139N/A ! The contents of this file are subject to the terms of the 10139N/A ! Common Development and Distribution License, Version 1.0 only 10139N/A ! (the "License"). You may not use this file except in compliance 10139N/A ! You can obtain a copy of the license at 10139N/A ! See the License for the specific language governing permissions 10139N/A ! and limitations under the License. 10139N/A ! When distributing Covered Code, include this CDDL HEADER in each 10139N/A ! file and include the License file at 10159N/A ! add the following below this CDDL HEADER, with the fields enclosed 10139N/A ! by brackets "[]" replaced with your own identifying information: 10139N/A ! Portions Copyright [yyyy] [name of copyright owner] 10139N/A ! Copyright 2007-2009 Sun Microsystems, Inc. 10139N/A ! Portions Copyright 2011 ForgeRock AS. 10139N/A <
defaultcall function="allowed-tasks"/>
10139N/A <
function name="allowed-tasks" scope="local">
10139N/A <
block name="STAXCurrentFunction">
10139N/A CurrentTestPath['suite']=STAXCurrentFunction
10139N/A <
call function="'testSuite_Preamble'" />
10139N/A #@TestSuitePurpose Control which tasks are allowed 10139N/A <
call function="'common_setup'">
10139N/A #@TestPurpose Control which tasks are allowed 10152N/A #@TestStep Change the list of allowed tasks 10139N/A #@TestStep Check we can only schedule allowed tasks 10139N/A <
testcase name="getTestCaseName('Control which tasks are allowed')">
10139N/A <
call function="'testCase_Preamble'"/>
10139N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
10139N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
10139N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
10139N/A 'subcommand' : 'set-global-configuration-prop',
10139N/A <!-- the export task is not allowed. the task must be rejected --> 10139N/A <
call function="'exportLdifWithScript'">
10139N/A { 'location' : STAF_REMOTE_HOSTNAME ,
10139N/A 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
10139N/A 'dsInstanceAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
10139N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
10139N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
10139N/A 'backEnd' : DIRECTORY_INSTANCE_BE,
10139N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST,
10139N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN,
10139N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
10139N/A 'subcommand' : 'set-global-configuration-prop',
10139N/A <
call function="'testCase_Postamble'"/>
10139N/A <
message>'Finally: Tasks Cleanup.'</
message>
10139N/A <
call function="'common_cleanup'" />
10139N/A <
catch exception="'STAFException'">
10139N/A <
message log="1" level="'fatal'">'Cleanup of test suite failed.'</
message>
10139N/A <
call function="'testSuite_Postamble'"/>