1 This directory contains data files for testing XML dumps.
2 Each file contains an XML structure, full or partial.
3 These data files are intended to be used with DumpAsserter::assertDOM().
5 The data files contain XML with variable placeholders using a mustache-like
6 syntax, e.g. {{site_name}}. The variable placeholder syntax is implemented by
7 DumpAsserter::resolveVars(), variable values can be defined using DumpAsserter::setVarMapping().
8 Any differences in whitespace and any comments in the XML files are ignored.
10 Data files may make use of the <test:data> and <test:end/> tags: <test:data> acts as a
11 wrapper for a sequence of elements and is ignored during comparison. <test:end/> terminates
12 the comparison, and causes all subsequent content of the file to be ignored.
13 The behavior of the <test:data> and <test:end/> tags is controlled by DumpAsserter::assertDOM().
15 The names of these files, the data they contain, as well as the names of the
16 variables used, are defined by test cases, such as ImportExportTest.