Commit Graph

17 Commits

Author SHA1 Message Date
Yeiniel Suárez Sosa
d3901cc286
improve unit testing
currently the only problem is that phantomjs is unable to parse the js files

fix test exec on travis env
2020-12-05 16:45:11 -05:00
Jeremy Mahieu
79af5abe3f Add unit tests for tiktok plugin 2020-04-06 15:08:19 +02:00
Louis-Philippe Véronneau
9c78472f5a
Purge the Vine plugin, that platform died a while ago 2019-12-08 01:52:37 -05:00
Felix Eckhofer
1b6ba78acd
Recognize /raw/ pastebin URLs 2017-08-30 19:08:16 +02:00
Lorenz Hübschle-Schneider
7ba8ba202e Spotify: also match other types of embeds (playlists and artists) 2016-11-01 13:09:06 +01:00
Peter Elmers
0b98f4c8f6 Write a test 2016-04-21 18:42:38 -05:00
Colin Arnott
03a6e391f6 added plugin support for giphy gifs as embedded content and created testcases 2015-09-26 05:06:11 +00:00
David Cormier
0165e5e320 plugins: add tests for video plugin
Test ogv, webm and mp4 urls
2015-02-17 09:48:22 +01:00
Lorenz Hübschle-Schneider
4b65847b46 Rewrite youtube plugin with urlPlugin
Remove URL without protocol from tests
2015-02-08 11:23:32 +01:00
Vivien Didelot
ab260cb5a7 plugins: add Vine support
This commit adds support for Vine embeddable content.
2015-01-30 19:13:17 -05:00
Vivien Didelot
b365272aa6 plugins: (image) support :size suffix
Some images URL (such as Twitter hosting site twimg.com) are suffixed
with :size where size can be small, medium or large.
2015-01-14 10:38:25 -05:00
Lorenz Hübschle-Schneider
92282e3a93 Test images with GET parameters as well (#414) 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
6d36bf1c82 Add tests for Gist & Tweet plugins 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
a46df4baab Use valid test URLs 2014-08-26 20:17:22 -04:00
Lorenz Hübschle-Schneider
230e33136c Don't fail failed tests by accessing undefined members
If a plugin didn't recognize something it should have recognized, don't fail in
checking whether it failed.

Also, semicolons.
2014-08-26 20:17:22 -04:00
David Cormier
4c3d481447 Add tests for all plugins 2014-08-26 20:17:22 -04:00
David Cormier
341fa9f616 Add unit test setup files and sample plugin unit test 2014-08-26 20:17:22 -04:00