Added tests for bug #716 - QPersistentModelIndex isn't convertible to QModelIndex

The main test (exactly the same as reported) was added to QtGui tests,
but also extended QAbstractItemModel test with a case that is the
essence of the problem.

http://bugs.pyside.org/show_bug.cgi?id=716

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Marcelo Lira 2011-04-05 17:52:26 -03:00 • committed by Hugo Parente Lima
commit b926ac5def
3 changed files with 17 additions and 0 deletions

View file

@ -46,6 +46,7 @@ PYSIDE_TEST(bug_688.py)
PYSIDE_TEST(bug_696.py)
PYSIDE_TEST(bug_693.py)
PYSIDE_TEST(bug_714.py)
PYSIDE_TEST(bug_716.py)
PYSIDE_TEST(bug_722.py)
PYSIDE_TEST(bug_728.py)
PYSIDE_TEST(bug_736.py)