emacs-ipython-notebook/tests
Takafumi Arakaki 0c13bc4234 Modifying undo in PP is wrong
Previous change was not complete since the test does NOT fail.
The test must fail because the test was for `full' undo but
actually it was tested against normal undo.

It turned out let binding of buffer-undo-list in ein-cell.el
was the right way to do it, since EWOC does some buffer
modification outside of the pretty printer.  Therefore, setting
inhibit-read-only and buffer-undo-list in the pretty printer
makes no sense.  Thus, they are removed from ein:notebook-pp.

This means that wrapping EWOC functions with let binding of
buffer-undo-list is essential.  Meaning that what I wrote in
the FIXME ein:notebook-pp was wrong.  Therefore,
ein:notebook-empty-undo-maybe cannot be called in ein:notebook-pp
and ein:notebook-empty-undo-maybe must be called in every single
functions that modifies buffer via EWOC.

Tests for three cases of undo configuration are added.
These test still fail:
ein:notebook-undo-after-execution-1-cell/yes
ein:notebook-undo-after-execution-2-cells/yes
2012-06-16 23:42:23 +02:00
..
mocker@2000d037ea Add test: ein:notebook-execute-current-cell 2012-05-17 18:41:28 +02:00
notebook Add bare-bones functional testing 2012-05-17 20:12:40 +02:00
func-test.el Tweak eintest:delete-untitled0 2012-06-13 01:23:19 +02:00
setup-server.el Add bare-bones functional testing 2012-05-17 20:12:40 +02:00
test-ein-cell-notebook.el Add tests for input-prompt-number 2012-05-23 23:13:24 +02:00
test-ein-cell.el Test discard-output option of ein:cell-to-json 2012-05-25 15:12:54 +02:00
test-ein-kernel.el Fix failing tests in test-ein-kernel.el 2012-06-13 01:01:09 +02:00
test-ein-kill-ring.el Add ein-kill-ring module and its tests 2012-05-14 23:44:00 +02:00
test-ein-node.el Add test: ein:node-filter-is-and-not 2012-05-15 12:48:20 +02:00
test-ein-notebook.el Modifying undo in PP is wrong 2012-06-16 23:42:23 +02:00
test-ein-notification.el Change variable type of event: use symbol 2012-06-06 21:16:48 +02:00
test-ein-utils.el Add ein:trim-indent and its tests 2012-05-23 13:24:21 +02:00
test-load.el Add ein:dev-reload command 2012-05-15 05:26:34 +02:00