612N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2887N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
671N/A<!--
671N/A ! CDDL HEADER START
671N/A !
671N/A ! The contents of this file are subject to the terms of the
671N/A ! Common Development and Distribution License, Version 1.0 only
671N/A ! (the "License"). You may not use this file except in compliance
671N/A ! with the License.
671N/A !
671N/A ! You can obtain a copy of the license at
671N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
671N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
671N/A ! See the License for the specific language governing permissions
671N/A ! and limitations under the License.
671N/A !
671N/A ! When distributing Covered Code, include this CDDL HEADER in each
671N/A ! file and include the License file at
671N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
671N/A ! add the following below this CDDL HEADER, with the fields enclosed
873N/A ! by brackets "[]" replaced with your own identifying information:
671N/A ! Portions Copyright [yyyy] [name of copyright owner]
671N/A !
671N/A ! CDDL HEADER END
671N/A !
3232N/A ! Copyright 2006-2008 Sun Microsystems, Inc.
671N/A ! -->
612N/A<stax>
612N/A
612N/A <defaultcall function="teardown_account_activation"/>
612N/A
612N/A <function name="teardown_account_activation">
612N/A
612N/A <sequence>
3793N/A
3793N/A <!--- Test Suite information
3793N/A #@TestSuiteName Teardown Account Activation
3793N/A #@TestSuitePurpose Test Teardown Account Activation
3793N/A #@TestSuiteGroup Teardown Account Activation
3793N/A #@TestScript security_teardown_account_activation.xml
3793N/A -->
3793N/A
3793N/A <!--- Define default value for basedn -->
3793N/A <script>
3793N/A basedn = 'o=Account Activation Tests,dc=example,dc=com'
3793N/A </script>
3793N/A
3793N/A <!--- Test Case information
3793N/A #@TestMarker Teardown Account Activation
3793N/A #@TestName Password Policy Teardown
3793N/A #@TestIssue none
3793N/A #@TestPurpose Delete Branch
3793N/A #@TestPreamble none
3793N/A #@TestStep DeleteEntry o=Account Activation Tests
3793N/A #@TestPostamble none
3793N/A #@TestResult Success if DeleteEntry returns 0.
3793N/A -->
2085N/A <testcase name="getTestCaseName('Reset')">
612N/A <sequence>
785N/A <call function="'testCase_Preamble'"/>
612N/A <message>
612N/A 'Security: Acct Act: Postamble - Deleting Branch'
612N/A </message>
612N/A
612N/A <call function="'DeleteEntry'">
612N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
612N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
612N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
612N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
3793N/A 'dsBaseDN' : '%s' % basedn ,
1749N/A 'extraParams' : '-x',
2175N/A 'expectedRC' : 0 }
612N/A </call>
612N/A
804N/A
785N/A <call function="'testCase_Postamble'"/>
612N/A </sequence>
612N/A </testcase>
612N/A
612N/A </sequence>
612N/A
612N/A </function>
612N/A
612N/A</stax>