aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'master' into tag-botSean Allred2015-01-034-3/+69
|\| | |
| * | | Merge branch 'master' into searchSean Allred2015-01-022-2/+15
| |\ \ \ | | | | | | | | | | | | | | | Branch: search
| | * | | Use .site_par in testsSean Allred2015-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | In accordance with d51791fb6ae69e3b426f7d598920b4349858908f
| | * | | Merge branch 'master' into inboxArtur Malabarba2015-01-015-146/+170
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sx-question.el sx.el
| | * | | | Data sampleArtur Malabarba2014-12-221-0/+13
| | | | | |
| | * | | | Test sx-assoc-let not let-alistArtur Malabarba2014-12-221-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since let-alist is no longer defined here. It makes no sense to test its contents.
| * | | | | Add tests for search functionalitySean Allred2015-01-012-1/+54
| | |/ / / | |/| | |
* | | | | Don't display status messages from url during testSean Allred2015-01-021-0/+1
| |_|/ / |/| | |
* | | | Fix testSean Allred2015-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | Dumb mistake -- I wasn't taking the length of the request before comparing it.
* | | | Test new sx-method functionalitySean Allred2015-01-021-0/+4
| | | |
* | | | Introduce `sx-request-all-items'Sean Allred2015-01-021-0/+5
|/ / / | | | | | | | | | | | | | | | | | | This function repeatedly makes API requests until a condition is satisfied (such as 'no more items'). First and foremost, this will allow us to retrieve all tags for a site.
* | | Fix docstringSean Allred2015-01-011-1/+1
| | |
* | | Remove redundant consingSean Allred2015-01-011-1/+1
| |/ |/|
* | Prune sx--filter-dataSean Allred2015-01-011-35/+0
| |
* | Add toggle for detailed test messagesSean Allred2015-01-012-1/+14
| |
* | Docstrings for testsSean Allred2015-01-013-9/+13
| |
* | Simplify question list display testsSean Allred2015-01-011-3/+21
| | | | | | | | | | Use a macro (using `rx') to create the regular expression for the question list display test.
* | Use test fixture for sample dataSean Allred2015-01-011-14/+17
| | | | | | | | See (info "(ert) Fixtures and Test Suites").
* | Split tests into separate filesSean Allred2015-01-015-152/+169
| |
* | Test sx-assoc-let according to functionalitySean Allred2014-12-301-13/+15
| | | | | | | | | | | | | | | | | | | | 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 :)
* | Fix `sx-assoc-let' testsSean Allred2014-12-201-7/+9
| | | | | | | | | | `require' form is no longer needed -- macro expansion is done with the expansion of `sx-assoc-let'.
* | Test sx-assoc-let not let-alistArtur Malabarba2014-12-181-11/+5
|/ | | | | Since let-alist is no longer defined here. It makes no sense to test its contents.
* Hotfix testsArtur Malabarba2014-12-151-2/+4
|
* Fix test againArtur Malabarba2014-12-131-4/+4
|
* Stricter regexpArtur Malabarba2014-12-121-3/+3
|
* Fix unrelated testArtur Malabarba2014-12-111-3/+3
|
* Fix assoc-let testArtur Malabarba2014-12-111-7/+9
|
* Merge branch 'master' into fix-@highligthingArtur Malabarba2014-12-091-2/+34
|\ | | | | | | | | Conflicts: test/tests.el
| * Add tests for `sx--thing-as-string'Sean Allred2014-12-021-0/+32
| |
* | Define test for sx--user-@nameArtur Malabarba2014-12-041-0/+11
|/ | | | Source of the replacements: http://stackapps.com/a/5022/3776
* Fix testArtur Malabarba2014-11-241-0/+1
|
* Fix testArtur Malabarba2014-11-241-1/+1
|
* 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
|