banshee r5061 - in trunk/banshee: . src/Libraries/Hyena/Hyena.Query/Tests
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r5061 - in trunk/banshee: . src/Libraries/Hyena/Hyena.Query/Tests
- Date: Tue, 24 Feb 2009 20:44:29 +0000 (UTC)
Author: blorentz
Date: Tue Feb 24 20:44:29 2009
New Revision: 5061
URL: http://svn.gnome.org/viewvc/banshee?rev=5061&view=rev
Log:
2009-02-24 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Libraries/Hyena/Hyena.Query/Tests/QueryTests.cs: Fix a test by
adding the SQL escape clause that is now used.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Libraries/Hyena/Hyena.Query/Tests/QueryTests.cs
Modified: trunk/banshee/src/Libraries/Hyena/Hyena.Query/Tests/QueryTests.cs
==============================================================================
--- trunk/banshee/src/Libraries/Hyena/Hyena.Query/Tests/QueryTests.cs (original)
+++ trunk/banshee/src/Libraries/Hyena/Hyena.Query/Tests/QueryTests.cs Tue Feb 24 20:44:29 2009
@@ -153,7 +153,7 @@
val.ParseUserQuery ("mp3");
Assert.AreEqual (
- "(CoreTracks.MimeType LIKE '%mp3%' OR CoreTracks.Uri LIKE '%mp3%')",
+ "(CoreTracks.MimeType LIKE '%mp3%' ESCAPE '\\' OR CoreTracks.Uri LIKE '%mp3%' ESCAPE '\\')",
MimeTypeField.ToSql (StringQueryValue.Contains, val)
);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]