aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-http-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* add concat url params testmarty hiatt2024-08-051-0/+7
|
* triage: call cb on response. do-user-action-fun: check response datamarty hiatt2023-10-281-3/+3
| | | | this means the triage callback always needs to handle 1 arg.
* add basic http params and array to param alist testsmarty hiatt2023-04-201-1/+16
|
* fix http-get-retrieves testmarty hiatt2022-09-031-2/+2
|
* test mastodon-http--triagemousebot2021-12-201-0/+75
|
* Hamonize tests.Holger Dürer2021-11-101-6/+7
| | | | | | | - Add a header comment explicitly switching off lexical binding - Harmonize naming (always start with module and double hyphen) - Ensure all tests have at least a minimal doc string. - Move tests from `mastodon-auth-test.el` to `mastodon-auth-tests.el`
* Reformatting `mastodon-search-tests.el`.Holger Dürer2021-11-101-3/+3
| | | | | - Remove redundant let binding of vars - Re-indent various things to better fit reasonably on a screen.
* Reformat all code.Holger Dürer2021-11-061-3/+3
| | | | | | | | | | | Basically, in Emacs for each file: select all text and `indent-region`. - This also removes one redundant comment, and - fixes an error with json decoding where the `json-read-from-string` was actually not within the intended `unless` clause (which explains the warning about "result of (string-equal "" json-string) will be ignored" which I never understood.
* Fix tests.Holger Dürer2021-11-011-1/+1
| | | | | | | | | | | | These needed a bit of tender love and care to get back into passing state. - Move the auth tests to the `test` directory. No idea what it was doing in `lisp`. - Image tests are mostly broken because with later Emacsen we no longer need the `imagemagic` option on create-image. - Some method signatures have changed and mocking calls needed to follow suit.
* Rewrite mastodon-authJohnson Denen2017-04-231-1/+1
| | | | | | - Remove client functions - Use mastodon-http--post - No more callback spaghetti
* Use Cask to run tests in TravisCIJohnson Denen2017-04-231-2/+0
|
* Use synchronous calls for simpler JSON parsingJohnson Denen2017-04-141-2/+3
|
* Add GET functionJohnson Denen2017-04-141-0/+10