externalchangelog.xml revision da97433d5cd26e422a370d186f98659383c06721
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
<!--
! CDDL HEADER START
!
! 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
! with the License.
!
! You can obtain a copy of the license at
! trunk/opends/resource/legal-notices/OpenDS.LICENSE
! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
! 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
! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
! 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]
!
! CDDL HEADER END
!
! Copyright 2008-2009 Sun Microsystems, Inc.
! -->
<stax>
<defaultcall function="replication_externalchangelog"/>
<function name="replication_externalchangelog">
<sequence>
<block name="'externalchangelog'">
<sequence>
<script>
if not CurrentTestPath.has_key('group'):
CurrentTestPath['group']='replication'
CurrentTestPath['suite']=STAXCurrentBlock
_group = 'replication'
_suite = 'externalchangelog'
</script>
<call function="'testSuite_Preamble'"/>
<!--- Test Suite information
#@TestSuiteName Replication External Changelog Tests
#@TestSuitePurpose Test the event notification system provided by
the External Changelog.
#@TestSuiteID External Changelog Tests
#@TestSuiteGroup External Changelog
#@TestGroup Replication
#@TestScript replication_externalchangelog.xml
#@TestHTMLLink http://opends.dev.java.net/
-->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/replication/replication_setup.xml'
% (TESTS_DIR)"/>
<call function="'replication_setup'"/>
<!-- Run common set of ECL tests in opends proprietary mode -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/%s/%s/%s_common_ecl_tests.xml'
% (TESTS_DIR, _group, _suite, _suite)"/>
<call function="'common_ecl_tests'">
{ 'ecl_mode' : 'opends' }
</call>
<!-- Run common set of ECL tests in changelog draft-compatible
! mode -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/%s/%s/%s_common_ecl_tests.xml'
% (TESTS_DIR, _group, _suite, _suite)"/>
<call function="'common_ecl_tests'">
{ 'ecl_mode' : 'draft' }
</call>
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/replication/replication_cleanup.xml'
% (TESTS_DIR)"/>
<call function="'replication_cleanup'" />
<call function="'testSuite_Postamble'"/>
</sequence>
</block>
</sequence>
</function>
</stax>