Takafumi Arakaki
fb1067835b
Add tests for input-prompt-number
2012-05-23 23:13:24 +02:00
Takafumi Arakaki
160f15becd
Fix: copied cell can't be executed
2012-05-23 18:46:09 +02:00
Takafumi Arakaki
294eded27e
Add tests for the previous fix
2012-05-23 15:53:10 +02:00
Takafumi Arakaki
1113b4eeb2
Add ein:trim-indent and its tests
2012-05-23 13:24:21 +02:00
Takafumi Arakaki
7ca440ab75
Merge branch 'master' into refactor-kernel
2012-05-23 02:26:05 +02:00
Takafumi Arakaki
d2801ebcfc
Add test: ein:notebook-execute-current-cell-question
2012-05-23 02:21:45 +02:00
Takafumi Arakaki
4cbd11ebaa
Merge branch 'master' into refactor-kernel
2012-05-23 02:10:14 +02:00
Takafumi Arakaki
d538d7673e
Add new test: ein:notebook-request-help
2012-05-23 02:03:23 +02:00
Takafumi Arakaki
676e4ff523
Fix test ein:notebook-execute-current-cell
...
Many old functions are updated.
2012-05-23 01:15:42 +02:00
Takafumi Arakaki
46af87db27
Setup dummy kernel and events for notebook tests
...
This fixes a lot of tests (but not all).
2012-05-23 00:00:33 +02:00
Takafumi Arakaki
6a7b0497b0
Simplify mocking for test-ein-kernel.el
2012-05-22 23:45:53 +02:00
Takafumi Arakaki
085fd73823
Fix test-ein-kernel.el: these tests are passed
2012-05-22 23:32:47 +02:00
Takafumi Arakaki
c245491c50
Correct kernel test to follow the previous fixes
...
msg_type in the "fake packet" is moved into the header sub-object.
Related previous fixes:
* 85c90fc6c6
-- fix shell-reply
* a02a4a4221
-- fix iopub-reply
2012-05-22 04:20:35 +02:00
Takafumi Arakaki
76d677c77c
Merge branch 'extra-output-tests'
...
Newly added 6 tests fail.
2012-05-20 21:00:43 +02:00
Takafumi Arakaki
e625540e00
Add new tests for multiple pyout/display-data
2012-05-20 20:55:49 +02:00
Takafumi Arakaki
97bb0302d0
Improve test generator for cell output
2012-05-20 20:50:40 +02:00
Takafumi Arakaki
e96746d4e5
Better ewoc pretty printer for stream
...
ein:cell-insert-output handles flushed stream better.
But this change is kind of contaminating other output type because now
ein:cell-insert-output inserts newline in the region of other output
type node if the previous output is stream type. Maybe I need something
more like DOM.
2012-05-20 19:54:21 +02:00
Takafumi Arakaki
b229901983
Generate tests for pyout and display_data
2012-05-20 18:18:59 +02:00
Takafumi Arakaki
5a29ca35af
Eliminate repeated part from the cell output tests
2012-05-20 17:52:49 +02:00
Takafumi Arakaki
8f6dc98bb6
Add test: ein:cell-insert-output-pyerr-simple
2012-05-20 17:38:32 +02:00
Takafumi Arakaki
90c3309d2e
Add tests: ein:cell-insert-output-stream-*
2012-05-20 17:23:09 +02:00
Takafumi Arakaki
52de6aab55
Add tests: ein:cell-insert-output-pyout-*
2012-05-20 17:11:53 +02:00
Takafumi Arakaki
4da77fd286
Separate test-ein-notebook.el in sections
2012-05-20 16:30:33 +02:00
Takafumi Arakaki
3514a1def5
Add test and fix ein:notebook-ask-before-kill-emacs
...
Two bugs are fixed. One is in notebook-ask-before-kill-emacs and the
other is in ein:notebook-modified-p.
2012-05-20 03:19:55 +02:00
Takafumi Arakaki
b7efef9bfd
Fix failing tests
...
* test-ein-cell.el was not changed in 10fb29f
when the cell types are
changed.
* test-ein-notebook.el was not changed in b9b5dc5
when the destructor
was introduced.
2012-05-20 00:41:16 +02:00
Takafumi Arakaki
8ecd3100c4
Add tests for ein:notebook-merge-cell-command
2012-05-19 13:48:27 +02:00
Takafumi Arakaki
cb1eab8d80
Add new function ein:cell-location and its tests
2012-05-19 13:10:44 +02:00
Takafumi Arakaki
218a2e28ed
Fix a bug and add more tests for cell splitting
2012-05-19 04:19:17 +02:00
Takafumi Arakaki
6bc632b574
Trim newlines in ein:notebook-split-cell-at-point
2012-05-19 03:56:43 +02:00
Takafumi Arakaki
49545be8bd
Make goto-next/prev-cell behave more intuitively
2012-05-18 02:59:00 +02:00
Takafumi Arakaki
a562c7a19d
Add ein:notebook-move-cell-up/down-command
2012-05-18 01:38:59 +02:00
Takafumi Arakaki
82530976f1
Add timeout error to eintest:wait-until
2012-05-17 21:25:03 +02:00
Takafumi Arakaki
dff4cf730c
Add more tests: ein:notebook-execute-current-cell-*
2012-05-17 21:05:19 +02:00
Takafumi Arakaki
38534a7292
Add test: ein:notebook-execute-current-cell-simple
2012-05-17 21:05:07 +02:00
Takafumi Arakaki
60eb668803
Add eintest:wait-until for faster functional test
2012-05-17 20:47:23 +02:00
Takafumi Arakaki
575f0d852b
Add bare-bones functional testing
2012-05-17 20:12:40 +02:00
Takafumi Arakaki
6ab4d4860a
Add test: ein:notebook-execute-current-cell
...
mocker.el is added to write this test.
2012-05-17 18:41:28 +02:00
Takafumi Arakaki
cbbd118236
Add ein:notebook-split-cell-at-point command
2012-05-17 15:48:21 +02:00
Takafumi Arakaki
542bc5590c
Improve ein:notebook-toggle-cell-type-simple
2012-05-17 14:40:17 +02:00
Takafumi Arakaki
7972a11aae
Add tests for ein:cell-copy
2012-05-17 14:31:47 +02:00
Takafumi Arakaki
e7813f7b20
Add tests for ein:cell-convert
2012-05-17 14:25:00 +02:00
Takafumi Arakaki
5e68242f76
Refactor cell testing: add eintest:cell-json-data-code
2012-05-17 14:11:39 +02:00
Takafumi Arakaki
8b61502049
Add tests for ein:cell-from-json
2012-05-17 14:05:47 +02:00
Takafumi Arakaki
17a6a383e2
Fix ein:notebook-console-security-dir-get
2012-05-16 19:15:48 +02:00
Takafumi Arakaki
e1fd1a1364
Add test and fix inter-buffer yanking
2012-05-16 12:58:59 +02:00
Takafumi Arakaki
b7c5dd4996
Add test: ein:notebook-goto-prev-cell-simple
2012-05-16 12:35:30 +02:00
Takafumi Arakaki
43e33dc947
Add test: ein:notebook-goto-next-cell-simple
2012-05-16 12:32:39 +02:00
Takafumi Arakaki
63542fb11b
Add test: ein:notebook-toggle-cell-type-simple
2012-05-16 12:12:53 +02:00
Takafumi Arakaki
034be5bdde
Fix a bug in cell yank: cannot yank in empty notebook
2012-05-16 12:08:53 +02:00
Takafumi Arakaki
2dc31e6512
Add test: ein:notebook-copy-cell-command-simple
2012-05-16 11:56:27 +02:00