Takafumi Arakaki
76d2336f8c
Make ":" invalid as a notebook name
...
The JS client code was changed in this PR:
https://github.com/ipython/ipython/pull/1815
(commit: e264b9b48b
)
2012-10-15 18:39:50 +02:00
Takafumi Arakaki
0af8362929
Add test ein:worksheet-beginning-of-cell-input-repeat
2012-10-05 15:51:51 +02:00
Takafumi Arakaki
c9f41f6b86
More tests for ein:worksheet-end-of-cell-input
2012-10-05 15:22:00 +02:00
Takafumi Arakaki
ab928f76ff
Refactor tests for ein:worksheet-end-of-cell-input
2012-10-05 15:15:32 +02:00
Takafumi Arakaki
a654c35f23
More tests for ein:worksheet-end-of-cell-input (@prompt)
2012-10-05 15:10:07 +02:00
Takafumi Arakaki
d488e2d724
More tests for ein:worksheet-end-of-cell-input (@footer)
2012-10-05 15:07:32 +02:00
Takafumi Arakaki
597798a947
Refactor tests for ein:worksheet-end-of-cell-input
2012-10-05 14:59:09 +02:00
Takafumi Arakaki
6f249e5608
Test (ein:worksheet-end-of-cell-input -1)
2012-10-05 14:43:12 +02:00
Takafumi Arakaki
16401bb5a5
Test (ein:worksheet-end-of-cell-input 2)
2012-10-05 14:41:52 +02:00
Takafumi Arakaki
859c96f4df
Test (ein:worksheet-end-of-cell-input) and fix it
2012-10-05 14:37:54 +02:00
Takafumi Arakaki
bcef5e1e4d
Test (ein:worksheet-beginning-of-cell-input -1)
2012-10-05 14:21:16 +02:00
Takafumi Arakaki
1eb44ad5b3
Test (ein:worksheet-beginning-of-cell-input 2) and fix it
2012-10-05 14:21:00 +02:00
Takafumi Arakaki
b74debf2b7
Test (ein:worksheet-beginning-of-cell-input) and fix it
2012-10-05 14:12:51 +02:00
Takafumi Arakaki
bc1300cbdd
Add sections in test-ein-notebook.el
2012-10-05 13:30:14 +02:00
Takafumi Arakaki
af989a377b
Add two failing tests for ein:notebook-kill-kernel-then-close
2012-08-30 17:49:42 +02:00
Takafumi Arakaki
94967849f6
Rename to ein:notebook-scratchsheet-render-new
...
s/ein:notebook-scratchsheet-new/ein:notebook-scratchsheet-render-new/
2012-08-30 03:22:31 +02:00
Takafumi Arakaki
2c8b8cce31
Add a failing test for notebook-to-json
2012-08-30 01:47:43 +02:00
Takafumi Arakaki
b56644d9b6
Include scratch sheet in ein:notebook-buffer
...
Now it is possible to have worksheet buffer closed but scratchsheet
buffer opened. In this case, ein:notebook-live-p should return t
and ein:notebook-buffer should return the scratchsheet buffer.
This is because notebook commands can such as save or rename can be
executed from the scratchsheet buffer.
ein:notebook-to-json-after-closing-a-worksheet is modified also
this test fails without the change in ein:notebook-buffer.
2012-08-29 21:04:24 +02:00
Takafumi Arakaki
271bb24b3e
Naming fix on ein:testing-notebook-close-scratchsheet-open-and-close
...
s/ws-list/ss-list/g
2012-08-29 21:04:23 +02:00
Takafumi Arakaki
135ab1969b
Fix failing tests for ein:notebook-close-worksheet
...
Actually the tests was wrong. But as it should work if I test it
against scratch sheet instead of worksheet, I modified it to do so.
2012-08-29 21:04:21 +02:00
Takafumi Arakaki
6c6fa65ec6
Add a failing test for ein:notebook-to-json
2012-08-29 21:03:27 +02:00
Takafumi Arakaki
c7f604fcf9
Fix obsolete warning in test-ein-notebook.el
2012-08-28 16:44:08 +02:00
Takafumi Arakaki
1f7e6ec857
s/\(maybe_reset_undo\).Notebook/\1.Worksheet/g
2012-08-28 16:42:07 +02:00
Takafumi Arakaki
5d9d37a8de
Fix compile warnings in test-ein-notebook.el
2012-08-28 15:54:04 +02:00
Takafumi Arakaki
36c1c24bb6
Move ein:testing-make-notebook-with-outputs to ein-testing-notebook.el
2012-08-28 01:33:57 +02:00
Takafumi Arakaki
5bb7ec055c
Add ein:notebook-ask-before-kill-buffer/modified-scratchsheet
2012-08-28 01:11:13 +02:00
Takafumi Arakaki
1488c7c988
Add tests for ein:notebook-ask-before-kill-buffer
2012-08-28 01:05:09 +02:00
Takafumi Arakaki
63056b490e
Add failing tests for ein:notebook-close
2012-08-28 00:51:24 +02:00
Takafumi Arakaki
bafd4c44ec
Refactor ein:testing-notebook-close-worksheet-open-and-close
2012-08-28 00:26:15 +02:00
Takafumi Arakaki
fe8b2606af
Add tests ein:notebook-close-worksheet/open-*-close-*
2012-08-28 00:10:37 +02:00
Takafumi Arakaki
c01b4fe355
Add ein:worksheet-clear-output/preserve-input-prompt
2012-08-26 21:17:51 +02:00
Takafumi Arakaki
940270fb4d
Better ein:worksheet-clear-output/simple
2012-08-26 21:07:13 +02:00
Takafumi Arakaki
a88ea3d76e
Refactor: add ein:testing-make-notebook-with-outputs
2012-08-26 21:04:31 +02:00
Takafumi Arakaki
66f2ee4a2a
Refactor ein:worksheet-clear-output/simple
2012-08-26 20:56:10 +02:00
Takafumi Arakaki
e494bd70c8
Add test ein:worksheet-clear-all-output/simple
2012-08-26 20:52:59 +02:00
Takafumi Arakaki
2a250d1f2b
Add test ein:worksheet-clear-output/simple
2012-08-26 19:55:28 +02:00
Takafumi Arakaki
eb70d8a7f9
Add test on ein:worksheet-toggle-output
2012-08-26 19:15:26 +02:00
Takafumi Arakaki
f341726038
Add tests for ein:worksheet-set-output-visibility-all
2012-08-26 19:14:48 +02:00
Takafumi Arakaki
20af5c2840
Remove eintest:cell-json-data-code (add ein-testing-cell.el)
...
Use ein:testing-codecell-data instead.
To do that, I make new testing module ein-testing-cell.el and
move ein:testing-*cell-data functions there.
2012-08-25 00:16:41 +02:00
Takafumi Arakaki
056cff7d7f
Add more assertions in ein:notebook-from-json-all-cell-types
2012-08-25 00:03:04 +02:00
Takafumi Arakaki
b9e94a9a7a
Add test ein:notebook-from-json-all-cell-types
2012-08-24 23:44:27 +02:00
Takafumi Arakaki
3068c39fcf
Fix failing tests
2012-08-24 20:18:09 +02:00
Takafumi Arakaki
96d2babff1
Move test utils to ein-testing-notebook.el
...
So that I can avoid loading test-ein-notebook or
test-ein-cell-notebook for using these utilities.
2012-08-24 19:29:37 +02:00
Takafumi Arakaki
cbef38f13c
Add tests for command ein:worksheet-execute-cell-and-*
2012-08-21 14:04:35 +02:00
Takafumi Arakaki
f7ed3be032
Fix misuse of prefix-arg (use current-prefix-arg)
...
sed -i -E -e 's/([^-])prefix-arg/\1current-prefix-arg/g' */*.el
2012-08-20 12:47:09 +02:00
Takafumi Arakaki
a0651292a4
Fix ein:worksheet-split-cell-at-point
...
It failed when there is no text after the point in cell.
Note that it seems that this bug existed before the "worksheet" branch.
2012-08-20 12:39:02 +02:00
Takafumi Arakaki
d3bf631204
Rename: ...cells -> ein:worksheet-kill-cell
...
This is for symmetry with ein:worksheet-yank-cell
2012-08-20 11:22:33 +02:00
Takafumi Arakaki
8156f160cf
Fix test ein:notebook-undo-via-events
2012-08-20 10:22:24 +02:00
Takafumi Arakaki
865ffcf09e
Fix ein:notebook-delete-cell-command-no-undo
...
This test should delete a cell instead of kill, as the name suggest.
2012-08-20 10:15:15 +02:00
Takafumi Arakaki
bd2008696c
Fix ein:notebook-change-cell-type-cycle-through
2012-08-20 10:06:13 +02:00