| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| | |
Use a macro (using `rx') to create the regular expression for the
question list display test.
|
| |
| |
| |
| | |
See (info "(ert) Fixtures and Test Suites").
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See http://emacs.stackexchange.com/q/5915/2264 and #151 for more
information. This patch tests for functional equivalence rather than
symbolic equivalence.
Symbolic equivalence would be far preferable, but it does not appear to
be happening anytime soon -- perhaps when things settle down a bit for
the authors :)
|
| |
| |
| |
| |
| | |
`require' form is no longer needed -- macro expansion is done with the
expansion of `sx-assoc-let'.
|
|/
|
|
|
| |
Since let-alist is no longer defined here. It makes no sense to test its
contents.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
test/tests.el
|
| | |
|
|/
|
|
| |
Source of the replacements: http://stackapps.com/a/5022/3776
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
resolved.
Logic and functions have been kept from the `cl-defun` `sx-method-call`
while docstrings have been updated as per #77 when possible.
Conflicts:
sx-auth.el
sx-method.el
sx-question.el
sx-request.el
|
| |
| |
| |
| | |
Pushing this change to continue work elsewhere.
|
| | |
|
|/
|
|
|
| |
Initializing will retrieve user preferences/authentication. We do not
need this.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping method calls within `sx-request.el' was causing circular
requirements.
This commit sorts through all of the requirements for each of the files
and ensures that this does not happen. Much of the content removed was
for `sx-request-default-keyword-arguments-alist' and related items. It
was unused, so it was pruned. If it is deemed necessary in the future,
it should be included in `sx-method.el'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sx-auth.el
- Use new symbolic cache access
* sx-cache.el
- Implement symbolic cache access
* sx-filter.el
- Use symbolic cache access
- Compile and save filters on-demand
(more work to be done to this end)
* sx-question.el
- Symbolic filters
* sx-request.el
- Protection against infinitely recursing when compiling a filter
This will be re-worked into requests (a front-end function) and
'raw' requests (a back-end function). The front-end will add
convenience to the back-end.
* test/tests.el
Remove outdated tests
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There are several variables and functions that depend on it; simply
binding the filter-cache file isn't enough.
|
|
|
|
|
|
|
| |
Useful for testing locally, since now you can simply blow away the
`.stackmode' directory instead of searching for it in `.emacs.d'.
At any rate, it keeps everything in the project tidy.
|
| |
|
|
|
|
|
|
|
|
|
| |
Every time the test was getting run, it would create the file, but not
delete it. This meant that tests were not idempotent and artifacts from
previous tests were persisting into the next ones.
Use `make-temp-file' to let-bind `stack-filter-cache-file' to a
temporary file. It is guaranteed to be empty when the tests begin.
|
| |
|
|
|
|
|
| |
Also removed tests for `stack-core-filter-data--item-in-tree' since it
no longer exists.
|
| |
|
|
|
|
| |
Vectors should not be turning into lists. See test cases.
|
|
|
|
|
|
| |
Allows build to continue if it cannot find the file. This is for
reading in sample data. I'm not really sure why the local build cannot
find the file, but I will figure it out later today.
|
| |
|
| |
|
| |
|