Commit 55bb316b authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

tests: Check modification date in tracker3 resolve test

Check that this information is extracted from the file.
parent e41c4440
Pipeline #208197 passed with stage
in 14 minutes and 27 seconds
......@@ -281,6 +281,7 @@ test_resolve (void)
GrlMedia *media, *resolved;
GError *error = NULL;
GrlOperationOptions *options;
GDateTime *datetime;
GList *keys;
registry = grl_registry_get_default ();
......@@ -289,6 +290,7 @@ test_resolve (void)
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_URL,
GRL_METADATA_KEY_TITLE,
GRL_METADATA_KEY_MODIFICATION_DATE,
GRL_METADATA_KEY_INVALID);
options = grl_operation_options_new (NULL);
......@@ -310,6 +312,9 @@ test_resolve (void)
==,
"Simply Juvenile");
datetime = grl_media_get_modification_date (media);
g_assert_nonnull (datetime);
g_object_unref (options);
g_object_unref (media);
g_list_free (keys);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment