mediawiki-extensions-Visual.../tests/ve2/dm
Catrope 0f0c3c9939 Improvements to nodeTreeEqual():
* 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
2012-05-14 22:43:36 -07:00
..
ve.dm.BranchNode.test.js Add an isWrapped property and make getOuterLength use it 2012-05-07 12:00:07 -07:00
ve.dm.Document.test.js Improvements to nodeTreeEqual(): 2012-05-14 22:43:36 -07:00
ve.dm.DocumentFragment.test.js Improvements to nodeTreeEqual(): 2012-05-14 22:43:36 -07:00
ve.dm.DocumentSynchronizer.test.js Added tests for document synchronizer 2012-05-09 18:31:09 -07:00
ve.dm.example.js Removed more trailing whitespace in multi-line comment blocks 2012-05-14 17:16:30 -07:00
ve.dm.HTMLConverter.test.js Removing data from annotations when empty, more tests for HTMLConverter 2012-05-11 14:07:20 -07:00
ve.dm.LeafNode.test.js Add an isWrapped property and make getOuterLength use it 2012-05-07 12:00:07 -07:00
ve.dm.Node.test.js Add an isWrapped property and make getOuterLength use it 2012-05-07 12:00:07 -07:00
ve.dm.NodeFactory.test.js Massive refactor of node trees, generalizing lots of previously dm only stuff 2012-05-09 21:11:09 -07:00
ve.dm.Surface.test.js Whitespace and syntax fixes 2012-05-07 13:40:09 -07:00
ve.dm.TextNode.test.js Added getOuterLength tests for text and document nodes 2012-04-30 13:48:20 -07:00
ve.dm.Transaction.test.js Rewrote tests for ve.dm.Transaction to use a data provider 2012-05-11 16:49:31 -07:00
ve.dm.TransactionProcessor.test.js Improvements to nodeTreeEqual(): 2012-05-14 22:43:36 -07:00