Takafumi Arakaki
9c563828cd
Test ein:find-leftmot-column for simple cases
2012-10-09 14:12:20 +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
5126a2f0b4
Do not turn off ein:connect-mode by revert-buffer
2012-09-29 22:21:48 +02:00
Takafumi Arakaki
c1e7155c53
Make ein-testing-notebook.el work w/o compiling it
2012-09-29 22:13:48 +02:00
Takafumi Arakaki
c691e0c73a
Add test ein:version-func-outside-of-git-repo
2012-09-28 16:58:30 +02:00
Takafumi Arakaki
6a9ff84a18
Add ein:version *function*
2012-09-28 16:41:35 +02:00
Takafumi Arakaki
ef1eb9a8dd
Do not truncate messages buffer when testing
2012-09-18 23:55:22 +02:00
Takafumi Arakaki
7de8bec6ea
Skip checking SVG in func-test.el when not available
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
c264e5c345
Better functional test for image output
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
132be8da1d
Drop dependency on matplotlib from func-test.el
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
c23f957823
Move ein:testing-example-svg to ein-testing-cell.el
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
a4df395d9a
Use callback when creating notebook
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
0622f3e563
Remove tests/setup-server.el
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
4f53d85ed3
%s/eintest:/ein:testing-/g in func-test.el
2012-09-18 16:17:42 +02:00
Takafumi Arakaki
fe48a421c3
Fix test-ein-node.el for Emacs 24.2
...
As of Emacs 24.2, ewoc-data is compiler macro and flet cannot be
used to override the definition. Therefore, dummy object is used
instead of mocking ewoc-data. See ein:testing-node-dummy-ewco-node
for how the dummy object is made.
2012-09-13 00:04:58 +02:00
Takafumi Arakaki
737391694e
Run tests using SVG when SVG is available
2012-09-13 00:03:32 +02:00
Takafumi Arakaki
3c7bedfe07
Fix failing unit test for Emacs 23
...
Comparison using equal result in:
Variable binding depth exceeds max-specpdl-size
2012-09-12 17:29:05 +02:00
Takafumi Arakaki
1e5a3ad489
Do not test ein:insert-html when SHR is not available
2012-09-12 17:01:53 +02:00
Takafumi Arakaki
da74f92d47
Modify ein:dev-require-all to make test run-able
2012-09-12 16:35:31 +02:00
Takafumi Arakaki
9c0c8cbffd
Add tests for ein:insert-html--fix-urls
2012-09-06 20:38:00 +02:00
Takafumi Arakaki
08f4ff136b
Rename tests in test-ein-notification.el for consistency
...
'<,'>s/ein-/ein:/g
2012-09-02 06:19:57 +02:00
Takafumi Arakaki
e1427ca9bf
Add a test for normal header-line
2012-09-02 06:18:34 +02:00
Takafumi Arakaki
4084d15144
Fix failing tests
2012-09-02 06:14:54 +02:00
Takafumi Arakaki
562d67797d
Add more tests on ein:list-move-left/right
2012-09-02 04:17:49 +02:00
Takafumi Arakaki
f25e3b98a7
Add utility function ein:list-move-right
2012-09-02 04:05:44 +02:00
Takafumi Arakaki
81ec270382
Add utility function ein:list-move-left
2012-09-02 04:04:45 +02:00
Takafumi Arakaki
df0b8fb45b
Add ein:list-insert-before/after
2012-09-01 23:26:42 +02:00
Takafumi Arakaki
2c722fbf61
Fix failing tests in test-ein-cell-notebook.el
2012-08-31 00:11:04 +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
1674fcbc3e
Add test for ein:worksheet-to-json with metadata
2012-08-30 00:39:19 +02:00
Takafumi Arakaki
0bf9cce4b7
Fix ein:worksheet-to-json
...
When there is no metadata, do not include it in JSON data to avoid
converting nil to JSON (which yields null).
2012-08-30 00:36:44 +02:00
Takafumi Arakaki
f1f94d772d
Fix ein:testing-worksheet-to-json
...
The argument was not used.
2012-08-30 00:30:31 +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