<project version="2.0">
    <!-- Test setting the location attribute -->
    <target name="set-location">
        <list-path>
            <path location="location"/>
        </list-path>
    </target>

    <!-- Test setting the path attribute -->
    <target name="set-path">
        <list-path>
            <path path="single-file"/>
        </list-path>
    </target>

    <!-- Test setting the path attribute -->
    <target name="set-multi-path">
        <list-path>
            <path path="file1;file2;.."/>
        </list-path>
    </target>

    <!-- Test setting the path attribute -->
    <target name="set-multi-path2">
        <list-path>
            <path path="file1:file2:.."/>
        </list-path>
    </target>

    <!-- Test using a nested <path> element -->
    <target name="nested-path">
        <list-path>
            <path>
                <path location="some-file"/>
            </path>
        </list-path>
    </target>

    <!-- Test using a mix of attributes and nested <path> elements -->
    <target name="mixed-path">
        <list-path>
            <path location="file1" path="file2;file3">
                <path location="file4"/>
                <path location="file5"/>
            </path>
        </list-path>
    </target>

    <!-- Test using a nested fileset -->
    <target name="set-fileset">
        <list-path>
            <path>
                <fileset dir="." includes="**/path.ant"/>
            </path>
        </list-path>
    </target>

    <!-- Test using a custom file list implementation -->
    <target name="test-custom-file-list">
        <list-path>
            <path>
                <test-file-list name="file1"/>
            </path>
        </list-path>
    </target>

</project>