9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams<?xml version="1.0" encoding="UTF-8" standalone="no"?>
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! CDDL HEADER START
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! The contents of this file are subject to the terms of the
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! Common Development and Distribution License, Version 1.0 only
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! (the "License"). You may not use this file except in compliance
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! with the License.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! or http://forgerock.org/license/CDDLv1.0.html.
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! See the License for the specific language governing permissions
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! and limitations under the License.
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! When distributing Covered Code, include this CDDL HEADER in each
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! file and include the License file at legal-notices/CDDLv1_0.txt.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! information:
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! Portions Copyright [yyyy] [name of copyright owner]
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! CDDL HEADER END
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams ! Copyright 2011 ForgeRock AS.
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <function name="main_pta_basic" scope="local">
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams CurrentTestPath['group']='pta'
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams CurrentTestPath['suite']='basic'
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams __group=CurrentTestPath['group']
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams __groupdir='%s/testcases/%s' % (TESTS_DIR,__group)
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!--- Test Suite information
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams #@TestSuiteName Basic pta suite
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams #@TestSuitePurpose Verify basic pta
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams #@TestSuiteID Suite
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams #@TestSuiteGroup Basic
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams #@TestGroup Basic
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- PTA setup -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams file="'%s/testcases/pta/pta_setup.xml' % (TESTS_DIR)"/>
0e6d5b77fb3f672a81665189cfc6a81e96ed756cgary.williams file="'%s/testcases/pta/basic/pta_basic_postamble.xml' % (TESTS_DIR)"/>
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams { 'topologyFile' : '%s/3server_topology.txt' % REPLICATION_CONFIG_DIR }
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- List of Import of Test Functions -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams importList=[]
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- Import the files for this test suite -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams file="'%s/%s.xml' % (__groupdir,__import)"/>
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- Specific to basic pta tests -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- List of Test Cases -->
d5ab1ee6a7f1c8159562af429b861ae32f6aa2d6gary.williams testsList.append('basic_pta_001')
01e09f486fb36ebba02ca7958e3069a251dd6ce9gary.williams testsList.append('basic_pta_002')
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams testsList.append('basic_pta_003')
d5ab1ee6a7f1c8159562af429b861ae32f6aa2d6gary.williams testsList.append('basic_pta_004')
a031e6d9877cabf432f5e4f9caafec7f5781198agary.williams testsList.append('basic_pta_005')
a031e6d9877cabf432f5e4f9caafec7f5781198agary.williams testsList.append('basic_pta_006')
cac8d0253f9bf77a50323a91487c6246013ef4ebgary.williams testsList.append('basic_pta_007')
cac8d0253f9bf77a50323a91487c6246013ef4ebgary.williams testsList.append('basic_pta_008')
0e6d5b77fb3f672a81665189cfc6a81e96ed756cgary.williams testsList.append('basic_pta_009')
0e6d5b77fb3f672a81665189cfc6a81e96ed756cgary.williams testsList.append('basic_pta_010')
0e6d5b77fb3f672a81665189cfc6a81e96ed756cgary.williams testsList.append('basic_pta_011')
0e6d5b77fb3f672a81665189cfc6a81e96ed756cgary.williams testsList.append('basic_pta_012')
a5a5241c8973f830f357a4cfd6424c6d670dc3b2gary.williams testsList.append('basic_pta_013')
2286b88c71735f82949be014ebbca32b7eb19505gary.williams testsList.append('basic_pta_014')
2286b88c71735f82949be014ebbca32b7eb19505gary.williams testsList.append('basic_pta_015')
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- Execute the Tests -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <catch exception="'STAFException.TestSuite.SetupException'">
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams 'Setup of test suite failed.'
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <!-- Test Suite Cleanup -->
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams <message>'Finally: Global PTA Cleanup.'</message>
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams file="'%s/testcases/pta/pta_cleanup.xml' % (TESTS_DIR)"/>
9e400e3d1871744e62389a6c84b841e6e6158d63gary.williams 'Cleanup of test suite failed.'