<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
! The contents of this file are subject to the terms of the ! Common Development and Distribution License, Version 1.0 only ! (the "License"). You may not use this file except in compliance ! You can obtain a copy of the license at ! See the License for the specific language governing permissions ! and limitations under the License. ! When distributing Covered Code, include this CDDL HEADER in each ! file and include the License file at ! add the following below this CDDL HEADER, with the fields enclosed ! by brackets "[]" replaced with your own identifying information: ! Portions Copyright [yyyy] [name of copyright owner] ! Copyright 2011 ForgeRock AS. <
defaultcall function="main_pta_basic"/>
<
function name="main_pta_basic" scope="local">
<
block name="'main_pta_basic'">
CurrentTestPath['group']='pta'
CurrentTestPath['suite']='basic'
__group=CurrentTestPath['group']
__groupdir='%
s/
testcases/%s' % (TESTS_DIR,__group)
<!--- Test Suite information #@TestSuiteName Basic pta suite #@TestSuitePurpose Verify basic pta <
call function="'testSuite_Preamble'"/>
<
import machine="STAF_LOCAL_HOSTNAME" <
import machine="STAF_LOCAL_HOSTNAME" <
call function="'pta_setup'">
<!-- List of Import of Test Functions --> <!-- Import the files for this test suite --> <
iterate var="__import" in="importList">
<
import machine="STAF_LOCAL_HOSTNAME" file="'%s/%s.xml' % (__groupdir,__import)"/>
<!-- Specific to basic pta tests --> <!-- List of Test Cases --> <!-- Execute the Tests --> <
iterate var="__test" in="testsList">
<
call function="'%s' % (__test)" />
<
message log="1" level="'fatal'">
'Setup of test suite failed.'
<
message>'Test Cases Completed.'</
message>
<!-- Test Suite Cleanup --> <
message>'Finally: Global PTA Cleanup.'</
message>
<
import machine="STAF_LOCAL_HOSTNAME" <
call function="'pta_cleanup'" />
<
catch exception="'STAFException'">
<
message log="1" level="'fatal'">
'Cleanup of test suite failed.'
<
call function="'testSuite_Postamble'"/>