aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into sx-method-auth. Conflicts have beenJonathan Leech-Pepin2014-11-211-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Documentation -- part oneSean Allred2014-11-171-1/+0
| | | | | | | | Pushing this change to continue work elsewhere.
* | Typo fix.Jonathan Leech-Pepin2014-11-201-1/+1
| |
* | Do not initialize Stack-Mode.Jonathan Leech-Pepin2014-11-201-0/+1
|/ | | | | Initializing will retrieve user preferences/authentication. We do not need this.
* Add tests for `sx-assoc-let'Sean Allred2014-11-121-0/+16
|
* Move defmacro to head of fileSean Allred2014-11-121-8/+8
|
* Abstract out method callsSean Allred2014-11-081-0/+1
| | | | | | | | | | | 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'.
* Re-work filtering and cachingSean Allred2014-11-081-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Finish name changesSean Allred2014-11-081-15/+15
|
* Update names in testSean Allred2014-11-071-32/+32
|
* Comment out "*stack-question*" buffer testArtur Malabarba2014-11-061-2/+3
|
* Fix test regexpArtur Malabarba2014-11-061-3/+3
|
* package-initialize on testsArtur Malabarba2014-11-061-1/+5
|
* Fix question list testing (for real).Artur Malabarba2014-11-061-19/+26
|
* Fix question list testsArtur Malabarba2014-11-061-3/+11
|
* Add tests for the question-listArtur Malabarba2014-11-061-4/+21
|
* Fix test sample.Artur Malabarba2014-11-031-4/+3
|
* A couple of json samples, just in case.Artur Malabarba2014-11-032-0/+5
|
* Fix sampler functionArtur Malabarba2014-11-031-1/+4
|
* Make question samples more complete.Artur Malabarba2014-11-031-509/+3925
|
* Fix get-sample-data and avoid `find-file-noselect'Sean Allred2014-11-021-8/+7
|
* Let-bind stack-cache-directory insteadSean Allred2014-11-021-1/+1
| | | | | There are several variables and functions that depend on it; simply binding the filter-cache file isn't enough.
* Let-bind user-emacs-directory to cwdSean Allred2014-11-021-8/+9
| | | | | | | 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.
* Consolidate testing variables and print requestsSean Allred2014-11-021-2/+4
|
* Fix test cases re file persistenceSean Allred2014-11-021-15/+14
| | | | | | | | | 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.
* Introduce persistent storage for filtersSean Allred2014-11-021-0/+19
|
* Use a simpler construct to test filter inclusionSean Allred2014-11-021-32/+0
| | | | | Also removed tests for `stack-core-filter-data--item-in-tree' since it no longer exists.
* More readable test cases; whitespaceSean Allred2014-11-011-26/+20
|
* Return the correct type from filterSean Allred2014-11-011-20/+55
| | | | Vectors should not be turning into lists. See test cases.
* Return -no-value if it cannot find sampleSean Allred2014-11-011-1/+3
| | | | | | 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.
* Fix syntax issueSean Allred2014-11-011-1/+3
|
* Make the sample data loader a functionSean Allred2014-11-011-1/+1
|
* Fix testSean Allred2014-11-011-1/+7
|
* More work on data filter; add testsSean Allred2014-11-012-21/+24
|
* Move tests and sample data to test/Sean Allred2014-11-014-0/+1295