summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Fix search path for Lua sourcesBastien Nocera2015-09-061-1/+1
| | | | | They're not compiled, so they live in the source directory, not the build directory.
* thetvdb: Use HTTPS rather than insecure HTTPElad Alfassa2015-09-064-79/+79
| | | | | | | | To avoid leaking (potentially uniquely identifiable) user data over plain text (be it search phrases, hashes of contact emails, etc etc), use HTTPS whenever possible. https://bugzilla.gnome.org/show_bug.cgi?id=754489
* tests: match lyrics in the test with metrolyricsVictor Toso2015-09-061-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754275
* tests: thetvdb tests cache-onlyVictor Toso2015-09-061-0/+23
| | | | | | | cache-only test with empty database and with filled database but without network https://bugzilla.gnome.org/show_bug.cgi?id=748422
* tests: improve internals of thetvdb resolve showsVictor Toso2015-09-061-16/+38
| | | | | | | | | This apply last commit changes to have each test with its own thetvdb database and also improves test by: - having resolve flag as parameter; - possibilty to fail test when expected; https://bugzilla.gnome.org/show_bug.cgi?id=748422
* tests: new function to reset test environmentVictor Toso2015-09-062-6/+23
| | | | | | | | | | With commit b4cf71a18de08825006ed7e7c3b8545e736b1839 we are using temporary database for thetvdb tests. The goal of this patch is a way to reset test environment by removing the database and re-loading the plugin. If a test need a clean environment, it can call test_reset_thetvdb (). https://bugzilla.gnome.org/show_bug.cgi?id=748422
* bliptv: Remove sourceVictor Toso2015-09-068-18469/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | As stated in the blip.tv/shutdown/message.html "Dear Blip User, Blip was closed on Thursday, August 20, 2015. As you may know, Blip was acquired by Maker Studios in September 2013 and the acquisition has allowed for additional, more expansive direct-to-consumer tools and products for content creators across the network. If you are a creator and you have a YouTube channel, we encourage you to apply to the Maker Gen network to take advantage of Maker’s tools and services. Signup can be found here: https://max.makerstudios.com/. If you are a viewer, we encourage you to check out the great content from Maker talent at our new flagship site: http://maker.tv/ We thank you for being a great partner to Blip! Blip Support" This source does not work anymore. https://bugzilla.gnome.org/show_bug.cgi?id=725031
* tests: use temporary database on thetvdb testsVictor Toso2015-08-251-0/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748422
* tests: Add another alias test with a translated series nameBastien Nocera2015-08-253-1/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748423
* thetvdb: Always search show names in all languagesBastien Nocera2015-08-251-6/+6
| | | | | | Also update the tests' mock data to match. https://bugzilla.gnome.org/show_bug.cgi?id=748423
* tests: thetvdb with fuzzy name in show nameVictor Toso2015-08-255-0/+77
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748423
* tests: improve helper function with cache only argVictor Toso2015-08-251-11/+23
| | | | | | | And also check if out args are not NULL; both improvements will be used in the next commit https://bugzilla.gnome.org/show_bug.cgi?id=748423
* apple-trailers: Remove stand-alone C apple-trailers pluginBastien Nocera2015-07-235-211/+0
| | | | | | | | Note that this removes, but does not migrate the tests, as those were already broken. The trailers rotate and change, and using information like this is bound to get outdated. https://bugzilla.gnome.org/show_bug.cgi?id=752681
* tests: Fix lua-factory Makefile generationBastien Nocera2015-07-201-1/+1
| | | | | | | EXTRA_DIST is already assigned in gtester.mk, so add to it rather than try to redefine it. https://bugzilla.gnome.org/show_bug.cgi?id=752594
* tests: Run title override against Lua's title parser tooBastien Nocera2015-06-111-2/+15
|
* tests: Fix lua title parser tests not being runBastien Nocera2015-06-111-2/+3
| | | | | | We were still running the tests against the local-metadata source, instead of the one passed to test_episodes_by_source(), and make sure to pass the title parser's source name, not the lua factory plugin's ID.
* tests: Add another test for a video_sanitise_string() crasherJan Alexander Steffens (heftig)2015-06-111-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748604
* build: Remove unnecessary DIST_SUBDIRS variablePhilip Withnall2015-05-071-3/+0
| | | | | | | By default it is the same as SUBDIRS, so there’s no need to list it here. https://bugzilla.gnome.org/show_bug.cgi?id=749063
* build: Remove unnecessary MAINTAINERCLEANFILES variablesPhilip Withnall2015-05-0710-60/+0
| | | | | | | | | | The *.in files are automatically cleaned by automake if they are listed in AC_CONFIG_FILES. The editor backup files (*~) should not be deleted by the build system. My editor backup files are my business. https://bugzilla.gnome.org/show_bug.cgi?id=749063
* build: Add git.mk support instead of manual .gitignore filesPhilip Withnall2015-05-0712-13/+22
| | | | | | This makes maintenance of the .gitignore lists a lot easier. https://bugzilla.gnome.org/show_bug.cgi?id=749063
* tests: Add a test for video_sanitise_string() crasherBastien Nocera2015-04-291-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=748604
* tests: Fix metrolyrics test not finding the sourceBastien Nocera2015-03-061-1/+1
| | | | The lua sources aren't compiled, so they live in srcdir, not builddir.
* tests: Fix deprecation warnings in thetvdb testsBastien Nocera2015-03-063-3/+3
|
* tests: Fix missing files in metrolyrics testBastien Nocera2015-03-061-0/+2
|
* tests: Fix deprecation warnings in last.fm testsBastien Nocera2015-03-061-4/+4
|
* tests: grl-metrolyrics (lua source)Victor Toso2015-03-0511-0/+597
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741784
* lua-factory: Add title parsing Lua sourceVictor Toso2015-03-022-6/+31
| | | | | | | | | | This source is an alternative to local-metadata and it uses lua patterns in order to get metadata from the title of the file. The test suite for video-title-parsing is the same for the local-metadata https://bugzilla.gnome.org/show_bug.cgi?id=741607
* dleyna: disable testJuan A. Suarez Romero2015-02-171-2/+2
| | | | | For some reason, dleyna dbus mock can't be launched in jhbuild. We need to investigate this more carefully, but for now let's disable this test.
* all: Port from ..._flags() to ..._resolution_flags()Bastien Nocera2015-02-174-8/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=724308
* lastfm: Use HTTPS rather than insecure HTTP when possibleElad Alfassa2015-01-271-3/+3
| | | | | | | | | | | | | | To avoid leaking (potentially uniquely identifiable) user data over plain text (be it search phrases, hashes of contact emails, etc etc), use HTTPS whenever possible. Unfortunately, we cannot completely avoid leaking the names of the albums the user has on their system because the CDN used by last.fm (where the plugin fetches the images from) serves a certificate only valid for something.something.akamai.net, so enabling HTTPS on that URL would fail. https://bugzilla.gnome.org/show_bug.cgi?id=743449
* vimeo: Use HTTPS rather than insecure HTTPElad Alfassa2015-01-271-2/+2
| | | | | | | | To avoid leaking (potentially uniquely identifiable) user data over plain text (be it search phrases, hashes of contact emails, etc etc), use HTTPS whenever possible. https://bugzilla.gnome.org/show_bug.cgi?id=743449
* local-metadata: Improve regexp for tv showsVictor Toso2014-12-191-0/+1
| | | | | | * Get episode number in the format of "..EP01.." https://bugzilla.gnome.org/show_bug.cgi?id=741562
* thetvdb: tests using EPISODE_TITLE metadataVictor Toso2014-12-102-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741207
* local-metadata: tests using EPISODE_TITLE metadataVictor Toso2014-12-101-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741207
* build: remove "INCLUDES" from Makefile.amJuan A. Suarez Romero2014-08-057-14/+13
| | | | Deprecated option.
* lastfm-albumart: Add testsJuan A. Suarez Romero2014-07-316-0/+484
|
* local-metadata: add test to new matching case.Victor Toso2014-06-301-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=732261
* local-metadata: check for updated title on testsVictor Toso2014-06-301-9/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=732261
* thetvdb: Include testsVictor Toso2014-06-2318-0/+1302
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672933
* dleyna: Plugin to access DLNA contents using the dLeyna DBus serviceEmanuele Aina2014-06-1514-0/+1283
| | | | | | | | | | | | | | | | | | | This plugin uses the dleyna-server service to interact with DMS (DLNA Media Server, eg. Rygel) through an high level DBus API and it is meant to deprecate the UPnP plugin. It implements all the functionalities exposed by GrlSource: resolve(), browse(), search(), query(), store(), store_metadata(), remove(), cancel() and change notifications. This adds a soft-dependency on the deyna-renderer DBus service: if the service is not activatable no DLNA server sources will be shown. The required GLib version has been bumped to 2.36 to use GTask. https://bugzilla.gnome.org/show_bug.cgi?id=707346 Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
* local-metadata: fix regexp and testsVictor Toso2014-05-301-6/+3
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=727181 https://bugzilla.gnome.org/show_bug.cgi?id=725025
* local-metadata: Override title when set from filenameBastien Nocera2014-03-281-0/+53
| | | | | | And add test to that effect. https://bugzilla.gnome.org/show_bug.cgi?id=706877
* test: Add some broken tests with FIXMEsBastien Nocera2014-03-271-1/+8
| | | | | This will be helpful to point out known bugs in the episode parsing.
* local-metadata: Support seasonxepisode format in filenamesElad Alfassa2014-03-271-0/+1
| | | | | | | | | seasonxepisode, for example 5x24 is a less common format than S5E24, but it's out there. This commit adds support for this format in filenames. https://bugzilla.gnome.org/show_bug.cgi?id=725026
* tests: Add test for episode resolution with URLsBastien Nocera2014-03-271-4/+8
| | | | | | | | | | | | | When passing a GrlMedia without a title, make sure to get the basename of the URL, and unescape it before trying to manipulate it. file:///home/test/My%20super%20series.S01E01.mp4 should give: My super series as the show name, not: My%20super%20series https://bugzilla.gnome.org/show_bug.cgi?id=725456
* local-metadata: add test in distJuan A. Suarez Romero2014-03-191-0/+1
|
* all: Use g_clear_pointer/object when possibleJuan A. Suarez Romero2014-03-055-28/+11
| | | | Reduces the number of lines and makes the code more readable.
* local-metadata: Add tests for episode name parsingBastien Nocera2014-02-273-0/+173
| | | | | | | This will allow us to fix old regular expressions, and add new ones to detect season and episode numbers, without creating regressions. https://bugzilla.gnome.org/show_bug.cgi?id=725026
* tmdb: add missing mock entry in testsJuan A. Suarez Romero2014-02-161-0/+3
|
* tests: Invoke grl_deinit()Juan A. Suarez Romero2014-02-098-41/+28
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710185