[tracker/rss-enclosures] functional-tests: last details in collation testing
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] functional-tests: last details in collation testing
- Date: Wed, 24 Nov 2010 01:51:40 +0000 (UTC)
commit d20dcb69fed3d409c6588bc51a53373c7bdb6a2a
Author: Ivan Frade <ivan frade nokia com>
Date: Thu Sep 23 17:38:31 2010 +0300
functional-tests: last details in collation testing
tests/functional-tests/16-collation.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/16-collation.py b/tests/functional-tests/16-collation.py
index f75281c..d16867f 100755
--- a/tests/functional-tests/16-collation.py
+++ b/tests/functional-tests/16-collation.py
@@ -50,6 +50,9 @@ class TrackerStoreCollationTests (CommonTrackerStoreTest):
def __insert_text (self, text):
uri = "test://collation-01-%d" % (random.randint (1, 1000))
+ # There is a remote chance to get a duplicate int
+ while (uri in self.clean_up_instances):
+ uri = "test://collation-01-%d" % (random.randint (1, 1000))
self.clean_up_instances.append (uri)
self.tracker.update ("""
@@ -115,6 +118,11 @@ class TrackerStoreCollationTests (CommonTrackerStoreTest):
self.__collation_test (input_dt, expected)
if __name__ == "__main__":
+ print """
+ TODO:
+ * Check what happens in non-english encoding
+ * Dynamic change of collation (not implemented yet in tracker)
+ """
ut.main ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]