hjk
869c46a02b
Debugger: Fix display of multiple inheritance from std::list
...
Task-number: QTCREATORBUG-11023
Change-Id: Ia195ff84f7928615b0df5732c6f1a1cd8b401001
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-12-16 15:40:21 +01:00
hjk
23d6a1a23e
Debugger: Add dumper for QTimeZone
...
Change-Id: I1b20529d7ecdcbf5480e95d6e7be89a2fdb6a8b7
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-12-16 13:42:03 +01:00
David Schulz
0c66e74cf0
Debugger: Do not test the hash seed value in dumper test.
...
On Windows the hash seed is initialized before the main is entered.
Change-Id: If7d2fd6ac1d15e704a6fc984c2d3218a5facdd5c
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-12-05 11:58:24 +01:00
David Schulz
cfe84eaae2
Debugger: Remove gcc version output when using the cdb in the dumper test.
...
Change-Id: I5560c8a5bc3eaefb8c40256dff4082b9b380e1f3
Reviewed-by: hjk <hjk121@nokiamail.com >
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-12-02 16:13:16 +01:00
David Schulz
21c4056ccd
Debugger: Fix dumper test with unprintable characters for cdb.
...
Change-Id: Ic0a5a701af77ede88dc61fee549de3b3cdd8d2ad
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-12-02 10:18:42 +01:00
David Schulz
0a7eb49090
Debugger: Disable absolute dir path test for cdb.
...
Change-Id: I0def80de2ab237e505237df9f8f44edf981e742f
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-12-02 10:18:26 +01:00
hjk
3fb10b3382
Debugger: Disable __gnu_cxx dumper tests for LLDB
...
Change-Id: I426ebf62074dc77790716e60e88348a932cbe9f6
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-30 00:25:51 +01:00
hjk
f290fe12a9
Debugger: Work around weird LLDB type reporting in auto test
...
std::vector<bool> gets reported as std::vector<allocator<bool>>
Change-Id: I226ebf62074dc77790716e60e88348a932cbe9f6
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-30 00:19:50 +01:00
hjk
ff57228df5
Debugger: Make QLocale and std::array dumper test pass with LLDB
...
Change-Id: I016ebf62074dc77790716e60e88348a932cbe9f6
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-29 23:51:06 +01:00
hjk
1287fcaa76
Debugger: Allow type patterns in auto tests
...
This makes it easier to brush over harmless platform output differences
like the '4u' vs '4ul' in the std::array test
Change-Id: Id16e06afdb19dfc905658c34d5c2af401fd6a725
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-28 17:08:15 +01:00
hjk
8a0cfc34d4
Debugger: Don't check for unused value in QXmlAttributes dumper
...
Change-Id: I53531d315ca0e6e6ff500db6b6b1ef278fbeff4b
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-28 12:03:34 +01:00
hjk
429a26b3cd
Debugger: Fix std::vector<bool> dumper for LLDB
...
Change-Id: I83788acb6cfa9a659482d64bead10dd27e71fade
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-26 17:32:35 +01:00
hjk
cef8ff2944
Debugger: Fix some of the QMap dumper autotests
...
The order of entries was changed ab52154010 .
Task-number: QTCREATORBUG-10888
Change-Id: I50f97396fd0f94e4bbaefb30fae8419e89bd4f4d
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com >
2013-11-26 11:38:06 +01:00
David Schulz
844e26390a
Debugger: Fix find nmake in dumper test.
...
Change-Id: Ie4a53b05bf4e32a80cc7636f9ac16b094f6dc359
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-11-15 13:46:30 +01:00
David Schulz
4024b7c187
Debugger: Fix QFile dump test for Windows.
...
Change-Id: I9daf0e057a3f5a274ae6b44c0c46ac7b1e036fe6
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-15 11:09:33 +01:00
David Schulz
a7872c63b0
Debugger: Adjust test to the invalid time dumps.
...
Change-Id: I0d4184c709c79882f7666bc96642a074f2997ce4
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-12 10:57:30 +01:00
David Schulz
a60fdad739
Debugger: Exclude cdb from some date and time dumper checks.
...
Change-Id: I2dec19ba5e45d52617b6f4748c2b952ac38e8f2e
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-11 15:39:05 +01:00
David Schulz
a0554422dc
Debugger: Ignore checks that were not supposed to work on that engine.
...
Change-Id: I285c88f30c30fc8cc2b4ed103b2bfe119c6847b4
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-11 15:21:46 +01:00
David Schulz
462f49ac09
Debugger: Don't remove the square brackets from the cdb output...
...
that is going to be parsed by the GdbMi.
Change-Id: Iaf4b5d6c6815ac7fdd06adea9dec2896a1596c39
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-11 14:51:00 +01:00
David Schulz
8a33dd933f
Debugger: Fix QChar dumper test for cdb.
...
Change-Id: Ibf564802b1ed2ea1766677e0b4d35c1bdd8a264a
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-11 09:48:53 +01:00
David Schulz
6b70fd6dc7
Debugger: Allow to use a set of engines per dumper check.
...
Change-Id: I62143a6090240aa60968b9a55ef552235f4a9149
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-11 09:45:24 +01:00
Eike Ziller
8c6fb68972
dumpers: fix QUrl for Qt4
...
Change-Id: Ib93bdcd86532fe9313889b70db655a26e1ca7c71
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-04 17:47:15 +01:00
hjk
262e3ab9db
Debugger: Record version of GCC in tests
...
Change-Id: Id86c313d2a5238c0e301c3b23bde7fabe00efdda
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-11-04 12:44:25 +01:00
hjk
fe0bddbd63
Debugger: Rework dumper detection
...
Recent versions of GDB seem to require 'make install' to find their
Python bits. Given that this is not really an option, check the
usual suspects, too.
Change-Id: I5217c0184681d4a86992fe0b8989498843b26cea
Reviewed-by: David Schulz <david.schulz@digia.com >
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-01 10:08:38 +01:00
hjk
e176013140
Debugger: Move some global variables to the Dumper class
...
Change-Id: I5c8fd8a48f27ac70e6e39f645d64dcd788752e73
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-30 17:22:14 +01:00
Eike Ziller
f7fa44d48a
dumpers: Add test for QUrl() and fix it
...
Change-Id: I84d4963210784dd982e897fd57dc9e5fad086aef
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-30 17:03:54 +01:00
Eike Ziller
f6113276ed
dumpers: remove type check from QHashNode test
...
The type reported by LLDB for Qt 4 is actually wrong, but the type is
irrelevant for the dumper itself anyhow.
Change-Id: I33002316fa72cc8501f26dcc3ee08675547841ae
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-30 16:43:48 +01:00
Eike Ziller
d918a32090
debugger: fix QHashNode dumper and QHashNode type check for Qt4
...
The previous workaround for the Qt 4 optimized int,uint,short,ushort
QHashNode wasn't working for the QHashNode dumper itself because of
unknown key type. Instead we first try to find the 'key' child directly,
if that fails we look for it in the second child (which would be the
anonymous union from the optimized hash node, which contains the key).
Also fix the expected type for QHashNode in the optimized case for Qt4
Change-Id: Ib48c2c0afec081ff38cd750c3d515a5e678e9661
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-29 12:40:46 +01:00
hjk
bcfec55942
Debugger: Add LLDB version for some GDB specific tests
...
Change-Id: I9a3547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-28 12:28:46 +01:00
hjk
3d69918835
Debugger: Remove some GdbOnly test case markers
...
The tests pass now uniformly.
Change-Id: I45c656a666b98da2f62b354b5d1c699301d67b23
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-25 16:31:22 +02:00
hjk
76879bea28
Debugger: Merge RValueReference{Gdb,Lldb} auto tests
...
The GDB case is still wrong, but it the data GDB produces.
Change-Id: I97c656a666b98da2f62b354b5d1c699301d67b23
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-25 16:22:54 +02:00
hjk
26165d348d
Debugger: Allow more fine-grained debugger specific tests
...
This is now (additionally) on a per-entry level, resulting
in less duplication.
Change-Id: Ia93547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-25 16:12:57 +02:00
hjk
ab92c14bbe
Debugger: Fix std::complex dumper for LLDB
...
Change-Id: I5ffb0f60039bb05f8467e925e71cf710a0712791
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-24 18:19:54 +02:00
hjk
cd3c084df3
Debugger: Improve QSharedPointer dumper
...
Make it work with LLDB, show simple values always directly.
Change-Id: I463ef81183792f85243d679dee69a41db00bed07
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-24 15:16:05 +02:00
hjk
1daac29647
Debugger: More QRegion dumper fixes
...
Change-Id: I01aaba021fd4893fb521251c9b4b9572c2beef44
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-24 11:37:50 +02:00
hjk
b889bb1608
Debugger: Make QRegion dumper more independent of debuginfo
...
Change-Id: I332e17cd4c6a167d273f31f4e7ff63c149a5d34b
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 19:27:33 +02:00
hjk
a912c8255d
Debugger: Split Bitfields dumper test
...
LLDB appends the ':1' to types, GDB not.
Change-Id: I6a2e17cd4c6a167d273f31f4e7ff63c149a5d34b
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 19:27:16 +02:00
hjk
231dd3f622
Debugger: Fix Int dumper on 64 bits
...
Test data was wrong.
Change-Id: I530bee9c55e54f62c93a8515af0f56cdafed78bf
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 14:04:13 +02:00
hjk
d61cbf1bcb
Debugger: Make the QVariant-from-type-and-data universal
...
Result works with GDB, too.
Change-Id: Idac1d3026054dcb1d5d030cffbe99d1d518c241b
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 13:46:02 +02:00
hjk
a083d7368c
Debugger: Make boost dumper autotests compilable on Mac
...
Brew puts the headers under /usr/local/include.
Change-Id: I12ad68574586fdaf463d59b6f4dfb9149a120089
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 13:38:35 +02:00
hjk
336644a70d
Debugger: Silence IPv6 part in QVariant(QHostAddress) dumper.
...
Wrong test when putting a IPv4 address in...
Change-Id: I8fcd68574586fdaf463d59b6f4dfb9149a120089
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-23 12:42:17 +02:00
hjk
4c35310cec
Debugger: Adjust QDateTime dumper after Qt 5.2 changes
...
Task-number: QTCREATORBUG-10232
Change-Id: I10551a258edb9456c4a9f93a3bfb374a8f07fc7d
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-22 19:12:31 +02:00
hjk
6851f019e4
Debugger: Some autotest cosmetics
...
Change-Id: Ib174e84f97511b28cd7649c219a62fe606186bf2
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-22 19:11:30 +02:00
hjk
3e789de36d
Debugger: Fix Qt 5 QHostAddress autotest
...
Dumper was working, but the default constructor doesn't do
the parsing already nowadays.
Change-Id: I098b0a03ad7d994b5746f3a4a6c39d29133509b0
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-22 17:18:18 +02:00
hjk
e643f3bf74
Debugger: Avoid Gui dependency of dumper autotest
...
Change-Id: Ie51554216ad7b132839c2779c2f647ad6222db5f
Reviewed-by: Christian Stenger <christian.stenger@digia.com >
2013-10-22 17:13:16 +02:00
Eike Ziller
5686f5fd70
QUrl dumper: use correct string type name and extend test
...
Change-Id: I7fe88d11b3d52ba31d3e8564b673a35001e31488
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-22 13:20:03 +02:00
hjk
fafc00da4a
Debugger: Fix QVariantMap/QVariantHash dumper with Qt 5
...
Change-Id: I71358adc8c01dd1261627f35d0f35500e8b34989
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-21 15:02:40 +02:00
hjk
3eac8daba9
Debugger: Add a few 'unused' to auto tests
...
Spoils the optimizer's fun a bit.
Change-Id: I3321d6c1fb75a9ecc6e603422116636c3c6cc4c2
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-21 14:42:48 +02:00
hjk
8c02d6e0dd
Debugger: Fix QChar dumper with Python 3
...
Change-Id: I7da412c9bdaf3a8f65484ac99f06fc31a5cdc1c3
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-21 14:15:56 +02:00
hjk
3b1b851daa
Debugger: More stdint autotests
...
Change-Id: I6b3961cb2ac4e35bce2fee12985f13a6d34d9525
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-10-10 21:30:18 +02:00