---
scribo/ChangeLog | 4 ++++
scribo/tests/toolchain/nepomuk/text_extraction.cc | 7 ++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 22ed824..2415ee4 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * tests/toolchain/nepomuk/text_extraction.cc: Fix test.
+
2011-01-18 Guillaume Lazzara <z(a)lrde.epita.fr>
Various fixes in Scribo.
diff --git a/scribo/tests/toolchain/nepomuk/text_extraction.cc
b/scribo/tests/toolchain/nepomuk/text_extraction.cc
index 30051ae..7191650 100644
--- a/scribo/tests/toolchain/nepomuk/text_extraction.cc
+++ b/scribo/tests/toolchain/nepomuk/text_extraction.cc
@@ -43,12 +43,9 @@ int main()
QImage ima(SCRIBO_IMG_DIR "/wildly.pbm");
QSet<QString> words = scribo::toolchain::nepomuk::text_extraction(ima);
+ words = words.toLower();
mln_assertion(words.size() == 1);
-
-#ifndef HAVE_TESSERACT_3
- mln_assertion(words.contains("Wildly"));
-#else // HAVE_TESSERACT_2
mln_assertion(words.contains("wildly"));
-#endif // ! HAVE_TESSERACT_3
+
return 0;
}
--
1.5.6.5
Show replies by date