<?xml version="1.0" encoding="UTF-8"?>

<project name="lw-test-util" basedir="." default="compile-src">

	<description>
		LimeWire component 'common'.
		This component is required for every other component and contains
		the most common functionality shared by every component.
	</description>
	
    <import file="../common/build-macros.xml" />
    
    <target name="initialize">
        <do.setup-properties component="test-util">
			<src-classpath>
				<pathelement location="${limewire.lib.jars}/tests/junit.jar"/>
			</src-classpath>
        </do.setup-properties>
    </target>
	
	<target name="clean" depends="initialize">
	    <do.clean component="test-util"/>
	</target>
    
    <target name="compile" depends="initialize">
    	<do.compile component="test-util"/>
    </target>
	
	<target name="compile-src" depends="initialize">
	    <do.compile-src component="test-util"/>
	</target>
    
	<target name="clean-src" depends="initialize">
	    <do.clean-src component="test-util"/>
	</target>
	
	<target name="compile-tests" depends="initialize, compile-src">
	    <do.compile-tests component="test-util"/>
	</target>
    
	<target name="clean-tests" depends="initialize">
	    <do.clean-tests component="test-util"/>
	</target>
	
	<target name="test" if="class" depends="initialize, compile">
	    <do.test component="test-util" class="${class}"/>
	</target>
	
	<target name="test-package" if="package" depends="initialize, compile">
	    <do.test-package component="test-util" package="${package}"/>
	</target>
	
	<target name="test-all" depends="initialize, compile">
	    <do.test-all component="test-util"/>
	</target>
    
    <target name="jar" depends="initialize, compile-src">
        <do.jar component="test-util"/>
    </target>
    
	<target name="javadoc" depends="initialize, compile-src">
    	<do.javadoc component="test-util"/>
	</target>
    
    <target name="clean-dist" depends="initialize">
        <do.clean-dist component="test-util"/>
    </target>
    
    <target name="with.clover" depends="initialize">
        <do.clover-setup component="test-util"/>
	</target>
    
    <target name="clover2html" depends="initialize">
        <do.clover2html component="test-util"/>
    </target>
	
</project>