<!--
  JBoss, Home of Professional Open Source
  Copyright 2006, Red Hat Middleware LLC, and individual contributors 
  as indicated by the @author tags. 
  See the copyright.txt in the distribution for a
  full listing of individual contributors. 
  This copyrighted material is made available to anyone wishing to use,
  modify, copy, or redistribute it subject to the terms and conditions
  of the GNU Lesser General Public License, v. 2.1.
  This program is distributed in the hope that it will be useful, but WITHOUT A 
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
  You should have received a copy of the GNU Lesser General Public License,
  v.2.1 along with this distribution; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
  MA  02110-1301, USA.
  
  (C) 2005-2006,
  @author JBoss Inc.
-->
<test_set xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\HPDTF\Configs\dtf-testdefinitions.xsd">
	<default_timeout value="480"/>
	<description>
        Arjuna test definitions.
    </description>
	<test_group name="AtomicAction">
		<task_declaration>
			<task id="ActionScope" classname="com.hp.mwtests.ts.arjuna.atomicaction.ActionScope" runner="UnitTestRunner" type="expect_pass_fail"/>
			<task id="BadAction" classname="com.hp.mwtests.ts.arjuna.atomicaction.BadAction" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="actionscope" descriptive_name="Action Scope" author="Mark Little">
			<configuration/>
			<action_list>
				<perform_task id="ActionScope"/>
			</action_list>
		</test_declaration>
		<test_declaration id="badaction" descriptive_name="Bad Action" author="Mark Little">
			<configuration/>
			<action_list>
				<perform_task id="BadAction"/>
			</action_list>
		</test_declaration>
	</test_group>
	<test_group name="File">
		<task_declaration>
			<task id="FileLocking" classname="com.hp.mwtests.ts.arjuna.file.FileLocking" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="filelocking" descriptive_name="File Locking" author="Mark Little">
			<configuration/>
			<action_list>
				<perform_task id="FileLocking"/>
			</action_list>
		</test_declaration>
	</test_group>
	<test_group name="ObjectStore">
		<task_declaration>
			<task id="ObjectStoreTest" classname="com.hp.mwtests.ts.arjuna.objectstore.ObjectStoreTest" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="ObjectStoreTest1" descriptive_name="Test of the object store" author="Mark Little">
			<action_list>
				<perform_task id="ObjectStoreTest"/>
			</action_list>
		</test_declaration>
	</test_group>
	<test_group name="PerformanceTests">
		<task_declaration>
			<task id="Performance1" classname="com.hp.mwtests.ts.arjuna.performance.Performance1" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="Performance1" descriptive_name="Simple performance test" author="Mark Little">
			<action_list>
				<perform_task id="Performance1"/>
			</action_list>
		</test_declaration>
	</test_group>
	<test_group name="UidTests">
		<task_declaration>
			<task id="UidHashCodeTest" classname="com.hp.mwtests.ts.arjuna.uid.UidHashCodeTest" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="UidHashCodeTest" descriptive_name="UidHashCodeTest" author="Jonathan Halliday">
			<action_list>
				<perform_task id="UidHashCodeTest"/>
			</action_list>
		</test_declaration>
	</test_group>
	<test_group name="RecoveryTests">
		<task_declaration>
			<task id="ActionStatusServiceTest" classname="com.hp.mwtests.ts.arjuna.recovery.ActionStatusServiceTest" runner="UnitTestRunner" type="expect_pass_fail"/>
			<task id="RecoveryManager" classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="ServiceRunner" type="expect_ready" location="all"/>
			<task id="ActionTestServer" classname="com.hp.mwtests.ts.arjuna.recovery.ActionTestServer" runner="UnitTestRunner" type="expect_pass_fail"/>
			<task id="ActionTestClient" classname="com.hp.mwtests.ts.arjuna.recovery.ActionTestServer" runner="UnitTestRunner" type="expect_pass_fail"/>
		</task_declaration>
		<test_declaration id="ActionStatusServiceTest" descriptive_name="ActionStatusServiceTest" author="David Elsworthy">
			<action_list>
				<start_task id="RecoveryManager" runtime_id="RcvMngr">
					<param>-test</param>
				</start_task>
				<perform_task id="ActionStatusServiceTest"/>
				<terminate_task runtime_id="RcvMngr"/>
			</action_list>
		</test_declaration>
		<test_declaration id="ActionTest" descriptive_name="ActionTest" author="David Elsworthy">
			<action_list>
				<start_task id="RecoveryManager" runtime_id="RcvMngr">
					<param>-test</param>
				</start_task>
				<start_task id="ActionTestClient" runtime_id="Client"/>
                                <perform_task id="ActionTestServer"/>
                                <terminate_task runtime_id="Client"/>
				<terminate_task runtime_id="RcvMngr"/>
			</action_list>
		</test_declaration>
	</test_group>
</test_set>
