PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 254 - Test protected fails when build with debug-enabled python
: Test protected fails when build with debug-enabled python
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: Shiboken
: 0.3.2
: All All
: P5 normal
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2010-06-25 04:38 EEST by Didier Raboud
Modified: 2010-08-04 15:18 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Didier Raboud 2010-06-25 04:38:11 EEST
Hi, 

Now that shiboken is also built in -dbg version, I noticed that the "protected"
test fails on the debug version (but works on the standard); with the following
error (on all arches):

.........F.F..F....
======================================================================
FAIL: Calls a reimplemented virtual protected method from parent class.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/build/buildd-shiboken_0.3.2-2-alpha-DuG8gq/shiboken-0.3.2/tests/samplebinding/protected_test.py",
line 129, in testReimplementedProtectedCall
    self.assertEqual(p.protectedName(), name)
AssertionError: 'ExtendedDaughterPoly' !=
'\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb'

======================================================================
FAIL: Calls a reimplemented virtual protected method from parent class.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/build/buildd-shiboken_0.3.2-2-alpha-DuG8gq/shiboken-0.3.2/tests/samplebinding/protected_test.py",
line 148, in testReimplementedProtectedCall
    self.assertEqual(p.protectedName(), name)
AssertionError: 'ExtendedGrandDaughterPoly' !=
'\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb'

======================================================================
FAIL: Calls a reimplemented virtual protected method.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/build/buildd-shiboken_0.3.2-2-alpha-DuG8gq/shiboken-0.3.2/tests/samplebinding/protected_test.py",
line 111, in testReimplementedProtectedCall
    self.assertEqual(p.protectedName(), name)
AssertionError: 'ExtendedPoly' !=
'\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb\xcb'

----------------------------------------------------------------------
Ran 19 tests in 0.011s


Cheers, 

OdyX
Comment 1 renato filho 2010-07-27 18:35:37 EEST
fixed on commit: 
commit 1b4094837f983d6273a81daffc5bbffedc82cf2c
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue Jul 27 10:07:18 2010 -0300