Commit 3148cd3c authored by Ivan Frade's avatar Ivan Frade

tests/libtracker-extract: Do not check exact value of a date

In the write/read process the timezone is recalculated. The expected
value should be also updated accordingly. Checking that the date is not
NULL is good enough for our purposes.
parent 7baa792d
......@@ -21,7 +21,7 @@ test_exif_parse ()
g_assert_cmpstr (exif->document_name, ==, "test-documentname");
//g_assert_cmpstr (exif->time, ==, "test-documentname");
g_assert_cmpstr (exif->time_original, ==, "2011-10-13T16:16:00+0300");
g_assert (exif->time_original);
g_assert_cmpstr (exif->artist, ==, "EXIFspec"); // -Exif:Artist
g_assert_cmpstr (exif->user_comment, ==, "libexif demonstration image");
g_assert_cmpstr (exif->description, ==, "Justfortest"); //-Exif:ImageDescription
......
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