You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

158 lines
4.5 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Guest login, view course, and upload assignment - Tests queries 10+11 (write) -->
<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>login</value>
</row>
<row>
<value>[start_2]</value>
<value>[guest_id]</value>
<value>[course1_id]</value>
<value>view</value>
</row>
<row>
<value>[start_3]</value>
<value>[guest_id]</value>
<value>[course1_id]</value>
<value>add post</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>0</value>
<value>0</value>
</row>
<!-- Query 11 -->
<row>
<value>[course1_id]</value>
<value>[end]</value>
<value>0</value>
<value>activity</value>
<value>1</value>
<value>1</value>
</row>
<!-- Query 13 -->
<row>
<value>[course1_id]</value>
<value>[end]</value>
<value>[guest_roleid]</value>
<value>activity</value>
<value>1</value>
<value>1</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>[guest_id]</value>
<value>0</value>
<value>[end]</value>
<value>1</value>
<value>0</value>
<value>logins</value>
</row>
<!-- Query 10 -->
<row>
<value>[course1_id]</value>
<value>[guest_id]</value>
<value>0</value>
<value>[end]</value>
<value>1</value>
<value>1</value>
<value>activity</value>
</row>
<!-- Query 10 -->
<row>
<value>[site_id]</value>
<value>[guest_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>