Current Path : C:/Users/Mahmood/Desktop/moodle/lib/tests/fixtures/ |
Current File : C:/Users/Mahmood/Desktop/moodle/lib/tests/fixtures/statslib-test09.xml |
<?xml version="1.0" encoding="UTF-8" ?> <!-- Multiple logins on different days --> <dataset> <table name="log"> <column>time</column> <column>userid</column> <column>course</column> <column>action</column> <row> <value>[start_0]</value> <value>[user1_id]</value> <value>[site_id]</value> <value>login</value> </row> <row> <value>[start_1]</value> <value>[user1_id]</value> <value>[site_id]</value> <value>login</value> </row> <row> <value>[start_4]</value> <value>[user1_id]</value> <value>[site_id]</value> <value>login</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>1</value> <value>1</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> </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 1 --> <row> <value>[site_id]</value> <value>[user1_id]</value> <value>0</value> <value>[end]</value> <value>1</value> <value>0</value> <value>logins</value> </row> <!-- Query 10 - read --> <row> <value>[site_id]</value> <value>[user1_id]</value> <value>0</value> <value>[end]</value> <value>0</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>