aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-toot-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* Move mentions concatenation into a function for a reply.Dmitry Osipov2022-12-011-6/+27
|
* Remove double white-space in the reply modeDmitry Osipov2022-11-281-2/+2
| | | | | | | When you start a reply (to a local user or federated), there's one extra white-space after the list of mentioned users: `@user1@host.local @user2@host.federated__` (the underscores represent white-spaces). This PR removes the extra space.
* fix toot del/pin testsmarty hiatt2022-11-211-19/+22
|
* http--post - make args + headers optional argsmarty hiatt2022-11-191-8/+8
| | | | also update all calls to it, no need for nil nil everywhere.
* hack fix -toot--kill test: set mastodon-toot-previous-window-configmarty hiatt2022-11-121-4/+7
|
* fix spoiler text and indent tl-testsmarty hiatt2022-09-121-1/+1
|
* making a start on pinned toot testsmousebot2021-12-201-1/+31
|
* tests for own-toot-pmousebot2021-12-201-21/+36
|
* improve delete toot testsmousebot2021-12-201-6/+8
|
* delete toot test use temp buffermousebot2021-12-201-15/+44
|
* hack attempts to test delete toot functionsmousebot2021-12-201-2/+39
|
* Hamonize tests.Holger Dürer2021-11-101-7/+18
| | | | | | | - 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.
* Make the test less fragileJohnson Denen2019-03-041-1/+2
|
* Clean up whitespaceJohnson Denen2018-08-101-2/+2
|
* Retoot add accts closes #155Alexander Griffith2018-03-051-0/+39
| | | | | | | | | | | | | When responding to toots the full acct for both local and federated accounts are now added to the new toot buffer. Changes - Added a function in mastodon.el to return the current user acct - Added mastodon-toot--process-local, which takes an acct and appends the current server if it is local returns an empty string if the acct matches the current user and does only adds a prefix @ if the acct is federated - mastodon-toot--mentions will return a formatted string of mentions or an empty string - adds tests for mastodon-toot--mentions - adds a missing , in mastodon-http--post - `mastodon-toot--reply` now passes `mastodon-toot` a toot-id rather than the whole json - 'mastodon-toot--reply-to-id is now a local var in a new toot
* Clean up tests and update DOCSTRINGsJohnson Denen2017-04-231-19/+1
|
* 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-1/+0
|
* Add tests for mastodon-toot.el functionsJohnson Denen2017-04-101-0/+25