wiki.techinc.nl/tests/phpunit/data/import
Cindy Cicalese c69489f44c Check for unknown slot.
Bug: T220525
Change-Id: I89ac1679ea70cb403433f8b97fe11e8eb6811280
2020-07-20 10:39:28 -04:00
..
BadXML.xml MCR import 2020-07-18 20:34:16 -04:00
Basic.expected.0.10.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Basic.expected.0.11.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Basic.import-1.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Dupes.expected.0.10.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Dupes.expected.0.11.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Dupes.import-1.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Dupes.import-2.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
ImportLinkCacheIntegrationTest.xml
Interleaved.expected.0.10.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.expected.0.11.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-1.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-2.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-3.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-4.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-5.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-6.xml MCR import 2020-07-18 20:34:16 -04:00
Interleaved.import-7.xml MCR import 2020-07-18 20:34:16 -04:00
InterleavedMulti.expected.0.10.xml MCR import 2020-07-18 20:34:16 -04:00
InterleavedMulti.expected.0.11.xml MCR import 2020-07-18 20:34:16 -04:00
InterleavedMulti.import-1.xml MCR import 2020-07-18 20:34:16 -04:00
InterleavedMulti.import-2.xml MCR import 2020-07-18 20:34:16 -04:00
MissingMainContentModel.expected.0.10.xml MCR import 2020-07-18 20:34:16 -04:00
MissingMainContentModel.expected.0.11.xml MCR import 2020-07-18 20:34:16 -04:00
MissingMainContentModel.import-1.xml MCR import 2020-07-18 20:34:16 -04:00
MissingMainTextField.xml MCR import 2020-07-18 20:34:16 -04:00
MissingMediaWikiTag.xml MCR import 2020-07-18 20:34:16 -04:00
MissingSlotContentModel.expected.0.10.xml MCR import 2020-07-18 20:34:16 -04:00
MissingSlotContentModel.expected.0.11.xml MCR import 2020-07-18 20:34:16 -04:00
MissingSlotContentModel.import-1.xml MCR import 2020-07-18 20:34:16 -04:00
MissingSlotRole.xml MCR import 2020-07-18 20:34:16 -04:00
MissingSlotTextField.xml MCR import 2020-07-18 20:34:16 -04:00
README.md Add import/export round trip test. 2020-07-14 15:55:55 +02:00
SiteInfo.0.10.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
SiteInfo.0.11.xml Add import/export round trip test. 2020-07-14 15:55:55 +02:00
Slots.expected.0.10.xml MCR import 2020-07-18 20:34:16 -04:00
Slots.expected.0.11.xml MCR import 2020-07-18 20:34:16 -04:00
Slots.import-1.xml MCR import 2020-07-18 20:34:16 -04:00
UndefinedContentModel.xml Check for unknown slot. 2020-07-20 10:39:28 -04:00
UndefinedSlotRole.xml Check for unknown slot. 2020-07-20 10:39:28 -04:00

This directory contains data files for testing XML dumps. Each file contains an XML structure, full or partial. These data files are intended to be used with DumpAsserter::assertDOM().

The data files contain XML with variable placeholders using a mustache-like syntax, e.g. {{site_name}}. The variable placeholder syntax is implemented by DumpAsserter::resolveVars(), variable values can be defined using DumpAsserter::setVarMapping(). Any differences in whitespace and any comments in the XML files are ignored.

Data files may make use of the test:data and test:end/ tags: test:data acts as a wrapper for a sequence of elements and is ignored during comparison. test:end/ terminates the comparison, and causes all subsequent content of the file to be ignored. The behavior of the test:data and test:end/ tags is controlled by DumpAsserter::assertDOM().

The names of these files, the data they contain, as well as the names of the variables used, are defined by test cases, such as ImportExportTest.