Skip to content

Commit

Permalink
Update XML test files
Browse files Browse the repository at this point in the history
  • Loading branch information
czlee committed Oct 6, 2021
1 parent fc94855 commit 4176e85
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/xml-test-files/errors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<name>Test errors</name>
<info>
<region>Nowhere</region>
<level>University</level>
<description>This format should kind of work, but give errors</description>
<level>None</level>
<description>This format should give a bunch of errors</description>
</info>
<period-types>
<period-type ref="normal">
Expand Down
25 changes: 25 additions & 0 deletions misc/xml-test-files/test-version-update.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- This file is intended to be downloaded separately (i.e., not available via
the official downlaods), as a means of checking the "update available"
mechanism. This file will be removed from the repository once Debatekeeper 1.3
finishes beta testing. -->
<debate-format schema-version="2.2">
<name>ZZ Test - Version update</name>
<version>1</version>
<info>
<region>Nowhere</region>
<level>None</level>
<used-at>Nowhere</used-at>
<description>Test entry to check that the "update available" mechanism works. With this file imported, the relevant entry in the downloads screen should say "update available".</description>
</info>
<speech-types>
<speech-type ref="all" length="7:00" first-period="normal">
<bell time="finish" number="2" next-period="overtime"/>
</speech-type>
</speech-types>
<speeches>
<speech type="all">
<name>The Speech</name>
</speech>
</speeches>
</debate-format>

0 comments on commit 4176e85

Please sign in to comment.