Trevor Parscal
|
ba64cfaf46
|
Moved tests for es.TransactionProcessor to their own file
|
2011-11-14 23:10:00 +00:00 |
|
Trevor Parscal
|
2494c40297
|
Moved transaction processing code to new class, es.TransactionProcessor
|
2011-11-14 23:04:36 +00:00 |
|
Trevor Parscal
|
713a80596d
|
Added es.DocumentLeafNode, which like es.DocumentBranchNode is a mixin-like class (we may want to switch to using a more natural composition mechanism than es.extendClass in the future) - now es.DocumentNode also has an abstract method called hasChildren which returns a boolean and can indicate if a node is a leaf or a branch.
|
2011-11-10 19:26:02 +00:00 |
|
Roan Kattouw
|
a4f71ace69
|
Rewrite the remove() function in es.DocumentModel.operations such that the tests added in r102564 pass now
|
2011-11-10 15:50:59 +00:00 |
|
Roan Kattouw
|
aa7a6e2605
|
Add globalRange property to the output of selectNodes(), which translates the range property to be relative to the root rather than to the node. Update tests for this, and fix the test case numbering for selectNodes
|
2011-11-10 13:15:55 +00:00 |
|
Trevor Parscal
|
4bf41fc3e8
|
Updated tests and test data to support listItem nodes being branches instead of leafs
|
2011-11-09 23:39:47 +00:00 |
|
Roan Kattouw
|
25a04133b0
|
Add test cases for inserting a paragraph break (</p><p>) in the middle of a paragraph. Interestingly, committing this insertion actually works, but rolling it back doesn't.
|
2011-11-09 20:24:13 +00:00 |
|
Trevor Parscal
|
cd18698bbc
|
Moved es.DocumentModelBranchNode tests to their own file
|
2011-11-04 21:16:20 +00:00 |
|
Trevor Parscal
|
add7c23191
|
Added es.Transaction.optimize and added in a test that neilk sent a patch for
|
2011-11-04 20:38:47 +00:00 |
|
Roan Kattouw
|
124a36b942
|
Add a metric ton of (mostly generated) selectNodes tests, and change selectNodes a little bit to make them pass
|
2011-11-04 20:27:23 +00:00 |
|
Roan Kattouw
|
84c6b8925a
|
Refactor the large data objects in es.DocumentModel.test.js out to es.testData.js so they can be shared with other tests
|
2011-11-04 20:11:51 +00:00 |
|
Trevor Parscal
|
04b7e80096
|
Prepare removal tests are working now that DocumentModelNode objects have a type property
|
2011-11-04 18:31:22 +00:00 |
|
Trevor Parscal
|
4963b05e14
|
Split tests up by method
|
2011-11-04 18:08:51 +00:00 |
|
Trevor Parscal
|
4d7cbded2c
|
Minor cleanup
|
2011-11-04 17:54:02 +00:00 |
|
Trevor Parscal
|
b6420fd327
|
Changed from using the Hype code-name to EditSurface
|
2011-11-04 17:47:54 +00:00 |
|
Trevor Parscal
|
36c6bee0a8
|
Moved es tests to their own folder
|
2011-11-04 17:47:09 +00:00 |
|