[tracker] functional-tests: png writeback is expected failure until itxt is enabled in libpng



commit d0e588356c4bda755d6495b4749eff30b925d958
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Oct 12 14:31:14 2010 +0300

    functional-tests: png writeback is expected failure until itxt is enabled in libpng

 tests/functional-tests/200-backup-restore.py |    4 ++++
 tests/functional-tests/500-writeback.py      |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/200-backup-restore.py b/tests/functional-tests/200-backup-restore.py
index 73704d5..4124c57 100755
--- a/tests/functional-tests/200-backup-restore.py
+++ b/tests/functional-tests/200-backup-restore.py
@@ -355,6 +355,8 @@ class JournalReplayTest (CommonTrackerStoreTest):
             ## Start it twice... the first time it detects the broken DB and aborts
             self.system.tracker_store_brutal_restart ()
 
+            self.tracker.connect ()
+
             emails_now = self.tracker.count_instances ("nmo:Email")
             ie_now = self.tracker.count_instances ("nie:InformationElement")
             contacts_now = self.tracker.count_instances ("nco:Contact")
@@ -386,6 +388,8 @@ class JournalReplayTest (CommonTrackerStoreTest):
         
             self.system.tracker_store_brutal_restart ()
 
+            self.tracker.connect ()
+
             emails_now = self.tracker.count_instances ("nmo:Email")
             ie_now = self.tracker.count_instances ("nie:InformationElement")
             contacts_now = self.tracker.count_instances ("nco:Contact")
diff --git a/tests/functional-tests/500-writeback.py b/tests/functional-tests/500-writeback.py
index 620c7e5..b89641b 100755
--- a/tests/functional-tests/500-writeback.py
+++ b/tests/functional-tests/500-writeback.py
@@ -227,7 +227,7 @@ class WritebackMonitoredTest (CommonTrackerWritebackTest):
         
 
     # PNG tests
-    ## @expectedFailureBug ("NB#185070")
+    @expectedFailureBug ("NB#185070")
     def test_021_png_title (self):
         FILENAME = "test-writeback-monitored/writeback-test-4.png"
         self.__writeback_test (FILENAME, "image/png", "nie:title")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]