Commit graph

22 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
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
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
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
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
Renamed from tests/backend/specs/api.js (Browse further)