Skip to content

Commit

Permalink
MDL-38829 core: Unit test for xmlize using two sample xml files.
Browse files Browse the repository at this point in the history
The file sample_questions.xml from moodle-stack is properly formed.
The file sample_questions_wrong.xml has mismatching tags.
Comparison is performed with recursive array comparison.
Error messages and returned data structures are compared.
Call with: phpunit lib/tests/xmlize_test.php
  • Loading branch information
kiliansinger authored and andrewnicols committed Mar 6, 2018
1 parent 7825ffb commit 533a7ed
Show file tree
Hide file tree
Showing 3 changed files with 6,579 additions and 0 deletions.
Loading

0 comments on commit 533a7ed

Please sign in to comment.