Your IP : 192.168.165.1


Current Path : C:/Users/Mahmood/Desktop/moodle/lib/tests/fixtures/
Upload File :
Current File : C:/Users/Mahmood/Desktop/moodle/lib/tests/fixtures/statslib-test01.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!-- No login test - Tests queries 2, 3, 5, 7, 9 (and 8), 10 (read) -->
<dataset>
    <table name="log">
        <column>time</column>
        <column>userid</column>
        <column>course</column>
        <column>action</column>
        <row>
            <value>[start_1]</value>
            <value>[guest_id]</value>
            <value>[site_id]</value>
            <value>view</value>
        </row>
    </table>
    <table name="stats_daily">
        <column>courseid</column>
        <column>timeend</column>
        <column>roleid</column>
        <column>stattype</column>
        <column>stat1</column>
        <column>stat2</column>
        <!-- Query 2 -->
        <row>
            <value>[site_id]</value>
            <value>[end]</value>
            <value>0</value>
            <value>logins</value>
            <value>0</value>
            <value>0</value>
        </row>
        <!-- Query 3 -->
        <row>
            <value>[course1_id]</value>
            <value>[end]</value>
            <value>[student_roleid]</value>
            <value>enrolments</value>
            <value>1</value>
            <value>0</value>
        </row>
        <!-- Query 5 -->
        <row>
            <value>[course1_id]</value>
            <value>[end]</value>
            <value>0</value>
            <value>enrolments</value>
            <value>1</value>
            <value>0</value>
        </row>
        <!-- Query 7 -->
        <row>
            <value>[site_id]</value>
            <value>[end]</value>
            <value>0</value>
            <value>enrolments</value>
            <value>4</value>
            <value>1</value>
        </row>
        <!-- Query 9 -->
        <row>
            <value>[site_id]</value>
            <value>[end]</value>
            <value>[frontpage_roleid]</value>
            <value>enrolments</value>
            <value>4</value>
            <value>1</value>
        </row>
        <!-- Query 11 -->
        <row>
            <value>[site_id]</value>
            <value>[end]</value>
            <value>0</value>
            <value>activity</value>
            <value>1</value>
            <value>0</value>
        </row>
        <!-- Query 16 -->
        <row>
            <value>[site_id]</value>
            <value>[end]</value>
            <value>[guest_roleid]</value>
            <value>activity</value>
            <value>1</value>
            <value>0</value>
        </row>
    </table>
    <table name="stats_user_daily">
        <column>courseid</column>
        <column>userid</column>
        <column>roleid</column>
        <column>timeend</column>
        <column>statsreads</column>
        <column>statswrites</column>
        <column>stattype</column>
        <!-- Query 10 - read -->
        <row>
            <value>[site_id]</value>
            <value>[guest_id]</value>
            <value>0</value>
            <value>[end]</value>
            <value>1</value>
            <value>0</value>
            <value>activity</value>
        </row>
        <!-- Query 10 - default record -->
        <row>
            <value>[site_id]</value>
            <value>0</value>
            <value>0</value>
            <value>[end]</value>
            <value>0</value>
            <value>0</value>
            <value>activity</value>
        </row>
    </table>
</dataset>