[Erp5-report] cloudooo r43051 : 130 Tests, 0 Errors, 7 Failures, 0 Skips

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 4 15:27:50 CET 2011


Test Suite: cloudooo
Revision: 43051
Result: FAIL

All tests: 130
Failures: 7
Errors: 0
Skips: 0



The following tests failed:

  testMimemapper                                     (3 failures)
   Passing document_type equal to 'presentation', the return must be equal
   Test if function getAllowedExtensionList returns correctly a list with
   Passing document_type equal to 'text', the return must be equal

  testServer                                         (4 failures)
   Call getAllowedExtensionList and verify if the returns is a list with
   Call getAllowedExtensionList and verify if the returns is a list with
   Call getAllowedExtensionList and verify if the returns is a list with
   Test run_generate method with invalid document

-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.diff
Type: text/x-diff
Size: 130 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-report/attachments/20110204/2f9c5e81/attachment.diff>
-------------- next part --------------

FAIL: Passing document_type equal to 'presentation', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 297, in testGetAllAllowedExtensionListForPresentation
    "%s not in %s" % (arg, presentation_expected_list))
AssertionError: (u'pps', u'Microsoft PowerPoint 97/2000/XP') not in [('bmp', 'BMP - Windows Bitmap'), ('emf', 'EMF - Enhanced Metafile'), ('eps', 'EPS - Encapsulated PostScript'), ('gif', 'GIF - Graphics Interchange Format'), ('html', 'HTML Document (OpenOffice.org Impress)'), ('html', 'XHTML'), ('jpg', 'JPEG - Joint Photographic Experts Group'), ('met', 'MET - OS/2 Metafile'), ('odg', 'ODF Drawing (Impress)'), ('odp', 'ODF Presentation'), ('otp', 'ODF Presentation Template'), ('pbm', 'PBM - Portable Bitmap'), ('pct', 'PCT - Mac Pict'), ('pdf', 'PDF - Portable Document Format'), ('pgm', 'PGM - Portable Graymap'), ('png', 'PNG - Portable Network Graphic'), ('pot', 'Microsoft PowerPoint 97/2000/XP Template'), ('ppm', 'PPM - Portable Pixelmap'), ('ppt', 'Microsoft PowerPoint 97/2000/XP'), ('ras', 'RAS - Sun Raster Image'), ('sda', 'StarDraw 5.0 (OpenOffice.org Impress)'), ('sdd', 'StarDraw 3.0 (OpenOffice.org Impress)'), ('sdd', 'StarImpress 4.0'), ('sdd', 'StarImpress 5.0'), ('svg', 'SVG - Scalable Vector Graphics'), ('svm', 'SVM - StarView Metafile'), ('sxd', 'OpenOffice.org 1.0 Drawing (OpenOffice.org Impress)'), ('sxi', 'OpenOffice.org 1.0 Presentation'), ('tif', 'TIFF - Tagged Image File Format'), ('wmf', 'WMF - Windows Metafile'), ('xpm', 'XPM - X PixMap')]


FAIL: Test if function getAllowedExtensionList returns correctly a list with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 236, in testGetAllowedExtensionListByExtension
    "%s not in %s" % (arg, text_expected_tuple))
AssertionError: (u'docx', u'Microsoft Word 2007 XML') not in (('doc', 'Microsoft Word 6.0'), ('doc', 'Microsoft Word 95'), ('doc', 'Microsoft Word 97/2000/XP'), ('html', 'HTML Document (OpenOffice.org Writer)'), ('html', 'XHTML'), ('odt', 'ODF Text Document'), ('ott', 'ODF Text Document Template'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text Format'), ('sdw', 'StarWriter 3.0'), ('sdw', 'StarWriter 4.0'), ('sdw', 'StarWriter 5.0'), ('sxw', 'OpenOffice.org 1.0 Text Document'), ('txt', 'Text Encoded'), ('txt', 'Text'), ('pdb', 'AportisDoc (Palm)'), ('psw', 'Pocket Word'))


FAIL: Passing document_type equal to 'text', the return must be equal
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testMimemapper.py", line 258, in testGetAllowedExtensionListForText
    "%s not in %s" % (arg, text_expected_list))
AssertionError: (u'docx', u'Microsoft Word 2007 XML') not in [('doc', 'Microsoft Word 6.0'), ('doc', 'Microsoft Word 95'), ('doc', 'Microsoft Word 97/2000/XP'), ('html', 'HTML Document (OpenOffice.org Writer)'), ('html', 'XHTML'), ('odt', 'ODF Text Document'), ('ott', 'ODF Text Document Template'), ('pdf', 'PDF - Portable Document Format'), ('rtf', 'Rich Text Format'), ('sdw', 'StarWriter 3.0'), ('sdw', 'StarWriter 4.0'), ('sdw', 'StarWriter 5.0'), ('sxw', 'OpenOffice.org 1.0 Text Document'), ('txt', 'Text Encoded'), ('txt', 'Text'), ('pdb', 'AportisDoc (Palm)'), ('psw', 'Pocket Word')]


FAIL: Call getAllowedExtensionList and verify if the returns is a list with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 143, in testGetAllowedExtensionListByExtension
    "%s not in %s" % (arg, self.text_expected_list))
AssertionError: ['docx', 'Microsoft Word 2007 XML'] not in [['doc', 'Microsoft Word 6.0'], ['doc', 'Microsoft Word 95'], ['doc', 'Microsoft Word 97/2000/XP'], ['htm', 'HTML Document (OpenOffice.org Writer)'], ['html', 'HTML Document (OpenOffice.org Writer)'], ['html', 'XHTML'], ['odt', 'ODF Text Document'], ['ott', 'ODF Text Document Template'], ['pdb', 'AportisDoc (Palm)'], ['pdf', 'PDF - Portable Document Format'], ['psw', 'Pocket Word'], ['rtf', 'Rich Text Format'], ['sdw', 'StarWriter 3.0'], ['sdw', 'StarWriter 4.0'], ['sdw', 'StarWriter 5.0'], ['sxw', 'OpenOffice.org 1.0 Text Document'], ['txt', 'Text'], ['txt', 'Text Encoded'], ['xhtml', 'XHTML']]


FAIL: Call getAllowedExtensionList and verify if the returns is a list with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 153, in testGetAllowedExtensionListByMimetype
    "%s not in %s" % (arg, self.text_expected_list))
AssertionError: ['docx', 'Microsoft Word 2007 XML'] not in [['doc', 'Microsoft Word 6.0'], ['doc', 'Microsoft Word 95'], ['doc', 'Microsoft Word 97/2000/XP'], ['htm', 'HTML Document (OpenOffice.org Writer)'], ['html', 'HTML Document (OpenOffice.org Writer)'], ['html', 'XHTML'], ['odt', 'ODF Text Document'], ['ott', 'ODF Text Document Template'], ['pdb', 'AportisDoc (Palm)'], ['pdf', 'PDF - Portable Document Format'], ['psw', 'Pocket Word'], ['rtf', 'Rich Text Format'], ['sdw', 'StarWriter 3.0'], ['sdw', 'StarWriter 4.0'], ['sdw', 'StarWriter 5.0'], ['sxw', 'OpenOffice.org 1.0 Text Document'], ['txt', 'Text'], ['txt', 'Text Encoded'], ['xhtml', 'XHTML']]


FAIL: Call getAllowedExtensionList and verify if the returns is a list with
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 128, in testGetAllowedExtensionListByType
    "%s not in %s" % (arg, self.text_expected_list))
AssertionError: ['docx', 'Microsoft Word 2007 XML'] not in [['doc', 'Microsoft Word 6.0'], ['doc', 'Microsoft Word 95'], ['doc', 'Microsoft Word 97/2000/XP'], ['htm', 'HTML Document (OpenOffice.org Writer)'], ['html', 'HTML Document (OpenOffice.org Writer)'], ['html', 'XHTML'], ['odt', 'ODF Text Document'], ['ott', 'ODF Text Document Template'], ['pdb', 'AportisDoc (Palm)'], ['pdf', 'PDF - Portable Document Format'], ['psw', 'Pocket Word'], ['rtf', 'Rich Text Format'], ['sdw', 'StarWriter 3.0'], ['sdw', 'StarWriter 4.0'], ['sdw', 'StarWriter 5.0'], ['sxw', 'OpenOffice.org 1.0 Text Document'], ['txt', 'Text'], ['txt', 'Text Encoded'], ['xhtml', 'XHTML']]


FAIL: Test run_generate method with invalid document
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/slave/full.Oood/build/software/src/cloudooo/cloudooo/handler/ooo/tests/testServer.py", line 458, in testRunGenerateMethodFailResponse
    self.assertEquals(response_code, 402)
AssertionError: 200 != 402


More information about the Erp5-report mailing list