backendsetup.xml revision c274c9240a50d300aec6cc72832af6805df5a2a0
0N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1505N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
0N/A<!--
0N/A ! CDDL HEADER START
0N/A !
0N/A ! The contents of this file are subject to the terms of the
0N/A ! Common Development and Distribution License, Version 1.0 only
0N/A ! (the "License"). You may not use this file except in compliance
0N/A ! with the License.
0N/A !
0N/A ! You can obtain a copy of the license at
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
0N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
0N/A ! See the License for the specific language governing permissions
0N/A ! and limitations under the License.
0N/A !
0N/A ! When distributing Covered Code, include this CDDL HEADER in each
0N/A ! file and include the License file at
1472N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
1472N/A ! add the following below this CDDL HEADER, with the fields enclosed
1472N/A ! by brackets "[]" replaced with your own identifying information:
0N/A ! Portions Copyright [yyyy] [name of copyright owner]
0N/A !
1879N/A ! CDDL HEADER END
1879N/A !
1879N/A ! Copyright 2008-2009 Sun Microsystems, Inc.
1879N/A ! -->
1879N/A
1879N/A<stax>
1879N/A
1879N/A <defaultcall function="main_backend-setup"/>
1879N/A
1879N/A <function name="main_backend-setup">
1879N/A
1879N/A <sequence>
1879N/A
0N/A <block name="'setup'">
0N/A
0N/A <sequence>
0N/A
0N/A <script>
0N/A CurrentTestPath['suite']=STAXCurrentBlock
0N/A </script>
0N/A
0N/A <call function="'testSuite_Preamble'"/>
0N/A
0N/A <!--- Test Suite information
0N/A #@TestSuiteName Backend Setup
0N/A #@TestSuitePurpose Verify that the basic import functionality is working in the Directory Server.
0N/A #@TestSuiteID Import Tests
0N/A #@TestSuiteGroup Import
0N/A #@TestGroup Backend
0N/A #@TestScript import.xml
0N/A #@TestHTMLLink http://opends.dev.java.net/
0N/A -->
0N/A
0N/A <!--- Test Case information
0N/A #@TestMarker Backend Export, Backup, and Restore Tests
0N/A #@TestName Import: LDIF Default
0N/A #@TestID LDIF Default
0N/A #@TestPurpose Add entries that are required for these Backend Tests.
0N/A #@TestPreamble
0N/A #@TestSteps /import-ldif.sh -l data/backends/backend_start.ldif -n "userRoot"
0N/A #@TestPostamble
0N/A #@TestResult
0N/A -->
0N/A
0N/A <testcase name="getTestCaseName('Backend Setup')">
0N/A
0N/A <sequence>
0N/A
0N/A <call function="'testCase_Preamble'"/>
0N/A
0N/A <message>
0N/A 'Backend: Backend Setup for Export, Backup, and Restore Tests'
0N/A </message>
0N/A <call function="'ImportLdifWithScript'">
0N/A { 'dsLdifFile' : '%s/backends/backend_start.ldif' % remote.data ,
105N/A 'dsBackEnd' : DIRECTORY_INSTANCE_BE }
105N/A </call>
105N/A
105N/A <call function="'testCase_Postamble'"/>
105N/A
0N/A </sequence>
0N/A
0N/A </testcase>
0N/A
0N/A <call function="'testSuite_Postamble'"/>
0N/A
0N/A </sequence>
0N/A
0N/A </block>
0N/A
0N/A </sequence>
0N/A
0N/A </function>
0N/A
0N/A</stax>
0N/A