#9309: Better search for East Asian (multi-byte) languages.
---------------------------------+------------------------------------------
 Reporter:  terapyon             |        Owner:  terapyon
     Type:  PLIP                 |       Status:  assigned
 Priority:  minor                |    Milestone:  4.0     
Component:  Unknown              |   Resolution:          
 Keywords:  search splitter CJK  |  
---------------------------------+------------------------------------------

Comment(by vincentfretin):

 The 3 failures exist in the Plone/branches/4.0 too.

 {{{
 Failure in test testProcessLatin1
 (Products.CMFPlone.tests.testUnicodeSplitter.TestSplitter)
 Traceback (most recent call last):
   File "/usr/lib/python2.6/unittest.py", line 279, in run
     testMethod()
   File "/home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/testUnicodeSplitter.py",
 line 90, in testProcessLatin1
     self.assertEqual(self.process(input), output)
   File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
     (msg or '%r != %r' % (first, second))
 AssertionError: ['ffin', 'foo'] != ['\xc4ffin', 'foo']

 ...

 Failure in test testNormalizeLatin1
 (Products.CMFPlone.tests.testUnicodeSplitter.TestCaseNormalizer)
 Traceback (most recent call last):
   File "/usr/lib/python2.6/unittest.py", line 279, in run
     testMethod()
   File "/home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/testUnicodeSplitter.py",
 line 123, in testNormalizeLatin1
     self.assertEqual(self.process(input), output)
   File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
     (msg or '%r != %r' % (first, second))
 AssertionError: ['\xc4ffin'] != ['\xe4ffin']

 
.............................................................................................................................................................................................

 Failure in test /home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/mails.txt
 Failed doctest test for mails.txt
   File "/home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/mails.txt", line 0

 ----------------------------------------------------------------------
 File "/home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/mails.txt", line
 57, in mails.txt
 Failed example:
     b64decode(msg.message.get_payload())
 Expected:
     '...You are receiving this mail because T\xc3\xa4st
 user\nt...@plone.test...is sending feedback about the site administered by
 you at...The message sent was:...Another t\xc3\xa4st message...
 Got:
     'b\x8b\x9a\xad\xea\xdeq\xe8\xaf\x8ax-\x86+&j)[y\xc6\xae\xb1\xe4'


   Ran 1067 tests with 3 failures and 0 errors in 4 minutes 15.573 seconds.
 Running zope.testing.testrunner.layer.UnitTests tests:
   Tear down Products.PloneTestCase.layer.PloneSite in 0.545 seconds.
   Tear down Products.PloneTestCase.layer.ZCML in 0.027 seconds.
   Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
   Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
   Running:
 ..................................
   Ran 34 tests with 0 failures and 0 errors in 0.050 seconds.
 Tearing down left over layers:
   Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.

 Tests with failures:
    testProcessLatin1
 (Products.CMFPlone.tests.testUnicodeSplitter.TestSplitter)
    testNormalizeLatin1
 (Products.CMFPlone.tests.testUnicodeSplitter.TestCaseNormalizer)
    /home/vincentfretin/svn/plone-
 coredev/branches/4.0/src/Plone/Products/CMFPlone/tests/mails.txt
 Total: 1239 tests, 3 failures, 0 errors in 4 minutes 36.844 seconds.
 }}}

-- 
Ticket URL: <http://dev.plone.org/plone/ticket/9309#comment:42>
Plone <http://plone.org>
Plone Content Management System
_______________________________________________
PLIP-Advisories mailing list
plip-advisor...@lists.plone.org
http://lists.plone.org/mailman/listinfo/plip-advisories

Reply via email to