Martin Pitt d023b81a7a Fix /contenttype/guess test
After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text
and definitively not PowerPoint. It previously worked as g_content_type_guess()
was reading beyond the boundary of the data due to specifying -1 as data
length.

Update that test case to expect a PO template instead, and add two more with a
definitive PO template syntax and some binary data. We do not currently have a
MIME magic for PowerPoint, so we cannot actually detect it with certainty, but
at least make sure that the returned MIME type is correct.

https://bugzilla.gnome.org/show_bug.cgi?id=678941
2012-06-28 15:57:22 +02:00
..
2012-06-12 07:09:53 -04:00
2012-06-25 19:37:05 -04:00
2010-07-05 00:56:12 -04:00
2012-06-04 06:04:26 -04:00
2012-04-30 09:28:42 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2012-06-28 15:57:22 +02:00
2010-06-09 10:32:36 +02:00
2012-06-04 06:04:29 -04:00
2012-06-22 10:32:25 -04:00
2012-04-20 15:02:48 +02:00
2012-06-04 06:04:28 -04:00
2012-04-08 10:24:51 -04:00
2011-10-16 21:41:15 -04:00
2011-07-27 16:23:33 -04:00
2011-07-27 16:23:33 -04:00
2011-09-26 16:54:23 -04:00
2011-07-27 16:23:33 -04:00
2012-06-21 15:13:06 -04:00
2010-09-03 15:44:28 -04:00
2012-01-13 17:12:53 +01:00
2012-06-04 06:04:29 -04:00
2011-10-13 01:00:57 -04:00
2011-10-13 01:00:57 -04:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-01-13 17:12:53 +01:00
2012-06-04 06:04:29 -04:00
2011-10-16 16:09:33 -04:00