Commit Graph

35 Commits

Author SHA1 Message Date
muxator f2b5f3bca2 tests: print expected & received output for 'getHTML'
This test was broken by #3268 (getLineHTMLForExport - Fixes #2486 but breaks
plugins). This change aims to facilitate debugging.

Expected:
<!doctype html><html><body><ul class="bullet"><li>one</li><li>2</li></ul><br><ul><ul class="bullet"><li>ul2</li></ul></ul></body></html>

Received:
<!doctype html><html><body><ul class="bullet"><li>one</li><li>2</ul><br><ul class="bullet"><li><ul class="bullet"><li>ul2</ul></li></ul></body></html>
2018-07-17 00:46:52 +02:00
Max Schaefer b94fb2b54d Fix useless comparison in sussonsAndGroups test. 2016-05-05 11:50:39 +01:00
Stefan d7c4cc8e65 Fix check in backend tests 2016-03-23 16:47:52 +01:00
Ted Mielczarek a675659dc2 Add an appendText API 2015-10-19 15:27:09 -04:00
Xavid ad137fa4c8 Restore newline-adding to setText() if passed string does not end in '\n'.
Add a test for the ending-in-'\n' case and update tests for the other case.
2015-06-30 04:47:55 -04:00
John McLear d803ac128e use settings for backend tests 2015-06-29 11:00:00 +01:00
John McLear 4252ef26f6 remove console logs 2015-06-29 10:23:30 +01:00
Simon Gaeremynck fd9d0bc291 Added backend tests for TidyHtml 2015-05-18 17:44:11 +01:00
Xavid 9e86fb279b Fix backend tests with new setText() implementation; tests depended
on the old setText() behavior leaving the last character.
2015-05-06 08:45:22 -04:00
Stefan 83094e0dfd Add test for creating pads with bad characters 2015-04-11 15:50:51 +02:00
John McLear 27ae48686d reintroduce removed api points that were removed by mistake 2015-04-01 13:56:52 +01:00
John McLear 32a09ff461 tests and fix up sloppy code by original author 2015-04-01 13:52:56 +01:00
Luc Didry 92022e493e Add backend tests for new API functions
These new functions are:
* getSavedRevisionsCount
* listSavedRevisions
* saveRevision

+ typo fixing in backend tests
2015-02-25 01:05:58 +01:00
John McLear 860c584b42 remove pointless comments 2015-01-19 15:44:16 +00:00
John McLear 5967e085b7 fix ul tests 2015-01-19 15:37:29 +00:00
John McLear 3463b16d1a nearly there... 2015-01-19 03:04:23 +00:00
John McLear 7958f3b723 nearly fully working 2015-01-19 03:02:34 +00:00
John McLear cadb83ac5a bumpage 2015-01-19 02:51:32 +00:00
John McLear 83f62bb6a9 remove console log 2014-12-31 13:21:36 +00:00
John McLear 7980381369 better test coverage for longer pad data 2014-12-29 21:13:07 +01:00
John McLear c9b0c6896e move pad tests - still need to do copy pad and some other functionality IE force 2014-12-29 15:08:30 +01:00
John McLear 444bbf4cbc remove trailing enter from apikey 2014-12-27 14:19:31 +01:00
John McLear c409495b5e test for pad users 2014-12-24 04:01:18 +00:00
John McLear fa5130978c path issues for supertitties 2014-11-26 22:10:56 +00:00
John McLear e9115880b3 final api test written for now 2014-11-26 21:44:50 +00:00
John McLear 198e211671 4 more to go 2014-11-26 21:36:57 +00:00
John McLear 253d6da2ac 60% of backend api tests written 2014-11-26 21:19:55 +00:00
John McLear 98cc725300 30% of session and group tests done 2014-11-26 21:06:35 +00:00
John McLear f3c2ac6d94 mowah pad tests, tea time 2014-11-26 19:44:38 +00:00
John McLear 5434d2118d tidy up and re-organize 2014-11-26 19:28:49 +00:00
John McLear c0679980bf all pad tests with content 2014-11-26 19:25:09 +00:00
John McLear 1347a814f0 basic pad tests without test logic yet 2014-11-26 17:53:31 +00:00
John McLear 16f3ebb3ba handle auth fails 2014-11-26 17:34:44 +00:00
John McLear 7a4a3b5ef3 make internal note of which endpoints need testing 2014-11-26 01:11:42 +00:00
John McLear 3ac833d455 basic test runner 2014-11-25 22:47:22 +00:00