mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
0f0c3c9939
* Don't crash if b.children has a different length than expected * Don't crash if b.children is absent but expected * Check if b.children is present when it's not expected * Add assertion when neither a.children not b.children are present; this makes the number of assertions for leaves equal to the number of assertions for branches * Check attributes too * Accept a desc parameter, and add node paths (like list/listItem/paragraph/text) to the descriptions * Use desc parameter for all calls (some tests were already using it, even though it didn't actually exist) Change-Id: Ic56d27d20377e7f4fdfa038fdf4ebe00dcb3e062 |
||
---|---|---|
api | ||
contentEditable | ||
demos | ||
modules | ||
tests | ||
.gitreview | ||
README | ||
SpecialVisualEditorSandbox.php | ||
VisualEditor.alias.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php |
We're starting to merge bits from Wikidom and ParserPlayground tests here. Enjoy! Short-term work highlights: * convert parser to wikidom format & using the wikidom serializer * port/update/write more tests * Special: page to host the editor as a standalone demo * Opt-in test mode to switch the editor in on EditPage (initially blank) * Use serializer to save pages from editor * Use parser to load pages into editor Long-term work highlights: * more thorough & bulk testing * more extension support