Commit Graph

20 Commits

Author SHA1 Message Date
7777f9940e Change add-hook! macro to retain hook order
(add-hook! hook '(1 2 3)) should set hook to `(1 2 3 ,@old-hooks).
Before this, they would be pushed sequentially, resulting in hook =
`(3 2 1 ,@old hooks)`
2018-01-08 14:55:58 -05:00
2d9e63d5bb General & minor refactoring 2018-01-07 00:15:58 -05:00
5cd29479f4 Refactor feature/evil hacks & advice; fix tests 2018-01-07 00:15:57 -05:00
87e1108f96 Update buffer api tests
+ Update for new real buffer spec
+ Remove coupling with core-popup
2018-01-04 16:16:44 -05:00
e9d4e50c0a Update core-ui tests 2018-01-04 16:16:43 -05:00
83d2507138 Update buffer api unit tests 2018-01-04 16:14:51 -05:00
8ad2666f8f Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00
5c74814860 Add core-projects tests 2017-12-31 11:44:51 -05:00
ef9fc05839 Add core-ui tests 2017-12-30 01:26:46 -05:00
707b69540d doom/cleanup-buffers => doom/cleanup-session 2017-12-30 00:59:44 -05:00
e9f34d8bdb core-package tests: ensure quelpa-dir is set properly 2017-12-22 14:53:17 -05:00
e8ff048c9b Rewrite and move doom-resolve-vim-path tests 2017-09-27 01:40:11 +02:00
6cb5efc929 core-lib: rename helper fns; move doom-resolve-vim-path
+ doom--resolve-paths => doom--resolve-path-forms
+ doom--resolve-hooks => doom--resolve-hook-forms
+ +evil*ex-replace-special-filenames => doom-resolve-vim-path
2017-09-27 01:23:54 +02:00
5e1ece4291 test/autoload/buffers: fix dead buffers in buffer-list 2017-08-08 14:09:49 +02:00
85c28444b3 General cleanup & refactor 2017-08-06 16:30:53 +02:00
59544391f2 Refactor doom-get-packages
Adds an INSTALLED-ONLY-P argument to doom-get-packages.

Fixes a missing-package error when doom-get-outdated-packages iterates
over packages that aren't installed.

Plus, updated unit tests.
2017-07-14 15:16:32 +02:00
84581f73ea Silence set! test 2017-06-28 15:29:39 +02:00
5ebda9b0c6 Refactor buffer functions & update tests
+ Split doom-buffer-list into doom-buffer-list
  & doom-project-buffer-list.
+ doom-real-buffers-list => doom-real-buffer-list (for naming
  consistency).
2017-06-28 12:26:49 +02:00
84f4fdf9e7 Add+refactor core-lib tests 2017-06-24 16:20:09 +02:00
9c93c453e8 Reorganize unit-tests and test workflow
+ Moved unit tests out of tests/ and into their respective modules.
+ Rewrite makefile and added these tasks:
  + <MODULE>/<SUBMODULE> -- byte-compile a specific module
  + test:<MODULE>/<SUBMODULE> -- runs tests for a specific module
  + testi -- run tests in an interactive session of Emacs (WIP)
  + run -- opens an Emacs session with this config; useful when it is in
    a non-standard location.
2017-06-14 21:15:19 +02:00