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
Takafumi Arakaki
5699ff84e1
Add tests for `:saved-cells' slot
2012-08-29 21:03:17 +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
1ba8f46b3a
Fix compile warning in ein-testing-kernel.el
2012-08-28 15:50:58 +02:00
Takafumi Arakaki
e70d3da4ab
Move tests to test-ein-core.el from test-ein-utils.el
2012-08-28 15:38:09 +02:00
Takafumi Arakaki
9e208508b3
Test scratchsheet also in ein:testing-worksheet-set-dirty
2012-08-28 02:10:00 +02:00
Takafumi Arakaki
caab214989
Add tests for set_dirty.Worksheet and fixed a bug
2012-08-28 01:38:41 +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
6a8f04b485
Fix failing test in test-ein-modes.el
2012-08-27 14:32:21 +02:00