Commit graph

18 commits

Author SHA1 Message Date
Peter Elmers
0b98f4c8f6 Write a test 2016-04-21 18:42:38 -05:00
Hannu Hartikainen
b0f4ee4413 fix #688 and provide a unit test 2015-12-01 21:31:12 +02:00
Hannu Hartikainen
d1176a5b2b disallow nested links in DOMfilter (fixes #680) 2015-11-28 17:04:57 +02:00
Colin Arnott
03a6e391f6 added plugin support for giphy gifs as embedded content and created testcases 2015-09-26 05:06:11 +00:00
Peter Elmers
febbb3ffdb Re-implement click to join functionality.
Clicking channel names to join broke because of angular issue 9515.
Reimplement the functionality by binding the scope.openBuffer method to
the window and calling it from an onclick handler for channel name
anchors.
2015-06-11 09:10:23 -07:00
Lorenz Hübschle-Schneider
420836974e Fix irclinky test
irclinky no longer does escaping itself, that is now done by DOMfilter.
Adapt the test case to reflect this change.
2015-06-08 23:42:57 +02: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
David Cormier
e56acbc923 Merge pull request #528 from glowing-bear/add-filter-tests
Add some basic tests for filters
2015-01-24 12:32:46 -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
de730a4505 Add some basic tests for filters 2015-01-03 11:20:04 -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