Commit Graph

84 Commits

Author SHA1 Message Date
hjk
085f6b2c26 debugger: add autotest for QList<int *> dumper 2009-11-06 10:15:19 +01:00
ck
8d810bd1d2 Debugger: Fix dumper tests for 64-bit Linux.
Resolved padding issue for QMapNode.

Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2009-11-05 10:11:46 +01:00
Friedemann Kleint
b1af7f2fd5 Debugger autotests: Compile Windows/gcc 4.4.1, skip tst_gdb
when not applicable.
2009-11-05 10:05:46 +01:00
hjk
908b051973 debugger: work on dumper autotests. 2009-11-04 14:39:48 +01:00
hjk
8a5540292d debugger: work on autotests 2009-11-03 14:15:24 +01:00
hjk
074b719b79 debugger: add autotest for synchroneous dumpers
QVariant, QPoint[F], QSize[F], QRect[F]
2009-10-29 18:34:31 +01:00
Friedemann Kleint
09f77930bc Debugger: Do not use C99 types for pointers in sprintf() formats.
Pointer fit into long or long long (Win64).
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-10-29 15:13:49 +01:00
hjk
6594ddbfb7 debugger: work on autotests 2009-10-29 09:51:29 +01:00
hjk
35dbd66764 debugger: fix the autotest fix 2009-10-29 09:51:29 +01:00
hjk
f21b01fc28 debugger: work on auto tests 2009-10-28 11:50:39 +01:00
Friedemann Kleint
ed4bc02110 Debugger: Fix gdb autotest 2009-10-28 09:39:48 +01:00
hjk
1ef61e0720 debugger: add missing .pro file 2009-10-27 17:38:42 +01:00
hjk
80f0239b1d debugger: work on dumper autotests 2009-10-27 16:35:49 +01:00
Friedemann Kleint
65e13b7034 Debugger: Fix autotests on Windows
Format pointers consistently using 0x%[l]x in printf/scanf.
Remove %p formatting as the existence of the prefix 0x
is platform-dependent (missing with MSVC), which caused
a scanf error and thus dumper crash for QAbstractItem.
Reviewed-by: ck <qt-info@nokia.com>
2009-10-27 12:25:11 +01:00
Friedemann Kleint
f13d4a104a Autotests: Compile on Windows
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
2009-10-26 17:26:53 +01:00
hjk
a39e074ae0 debugger: more autotest work
autotest for QStack dumper
custom structure
array
2009-10-23 15:47:11 +02:00
hjk
338f945ca1 debugger: more autotests 2009-10-21 16:41:29 +02:00
hjk
8bea428020 debugger: work on debugger autotests 2009-10-21 16:41:28 +02:00
hjk
7961e885af debugger: work on autotests 2009-10-20 16:02:53 +02:00
hjk
1d52447fd3 debugger: work on test frame work for new dumpers 2009-10-16 11:13:20 +02:00
ck
ee324b0b1e Debugger: Adapt autotests to know new signals. 2009-10-14 14:44:41 +02:00
ck
271f3ce8ef Debugger: Fix autotests for QAbstractItemModel & friends. 2009-10-14 14:19:00 +02:00
ck
4ead5b7202 Debugger: Dumper fix.
- If NSX and NSY have quotes for the QT_NAMESPACE case, they need them
  for the non-namespace case too.
- Dumper autotest: Replace hard-coded namespace with compile-time
  dynamic one.
2009-10-14 12:59:39 +02:00
ck
f3132c13e0 Debugger: Fix QFileInfo auto test. 2009-10-14 12:32:13 +02:00
hjk
fdda7f10b5 debugger: work on new autotests 2009-10-14 11:28:33 +02:00
hjk
fa71a4879c debugger: work on autotests 2009-10-14 10:02:07 +02:00
hjk
b9cd3378f7 debugger: work on dumper autotests 2009-10-13 14:42:47 +02:00
hjk
594730f3ac debugger: adjust dumper autotest to valuedisabled='true' -> valueeditable='false' change 2009-10-13 14:42:47 +02:00
hjk
51906dc408 debugger: don't test json parsing as this was removed 2009-10-13 14:42:47 +02:00
Daniel Molkentin
3aa358dea8 Get rid of tcf/json in the autotests, too.
Reviewed-By: Oswald Buddenhagen
2009-10-09 12:34:07 +02:00
Rohan McGovern
f1f46be2f1 Make tests follow Qt conventions by starting all unit tests with `tst_'.
Some scripts make use of this convention to differentiate unit tests
from applications which happen to link to testlib.

Reviewed-by: ossi
2009-09-22 00:36:25 +10:00
Friedemann Kleint
603630fad6 Debugger: Use Gdbmi parser in CDB for parsing of protocol 1
Change dumper protocol 1 output not to contain type names as
hash keys (might contain blanks), use lists instead.
Start fixing autotests for 4.6.
2009-09-18 16:55:17 +02:00
hjk
786a0deb77 debugger: constify the address parameter passed to qDumpObjectData 2009-08-27 17:07:37 +02:00
hjk
1a772601dc debugger: fix auto text for QStringList in QVariant; 2009-08-27 17:04:00 +02:00
hjk
9b34946f85 debugger: cosmetics of the dumper output 2009-08-27 16:52:14 +02:00
hjk
fab99c333c debugger: rework the dumper tests (make the check results, not implementations) 2009-08-26 16:48:26 +02:00
hjk
8ad116c0f1 debugger: re-organize autotests. also adjust to recent QScopedPointer changes 2009-08-26 16:11:23 +02:00
hjk
d79e8dc342 debugger: small fixes in the QObject dumper and autotest 2009-08-21 08:13:54 +02:00
ck
97bf35fefb Debugger: Added auto test for QLinkedList. 2009-08-17 11:50:09 +02:00
ck
d93834f6e2 Debugger: Added auto test for QWeakpointer dumper. 2009-08-13 10:54:06 +02:00
hjk
5435b09622 debugger: dumper tests code cosmetics
Mainly squash compiler noise about 'offsetof'.
2009-08-11 15:51:50 +02:00
ck
49066c709a Debugger: Added auto test for QModelIndex dumper.
Also fixed a bug uncovered by the auto test.
2009-08-11 11:44:23 +02:00
ck
f7a3fa1253 Debugger: Adapted dumper auto tests to new QObjectPrivate changes.
Also added checks to guard against these kind of changes in the future.
2009-08-11 10:28:24 +02:00
ck
d5d53c746a Debugger: Fixed QMapNode dumper. 2009-08-10 16:59:15 +02:00
ck
0ab8f1ed46 Debugger: More dumper auto tests.
Added auto tests for QFileInfo, QHashNode and QLocale dumpers.
2009-08-07 15:28:54 +02:00
ck
e5c38532f5 Debugger: Fixed dumper autotests.
Recent changes to QObject and QSharedPointer broke the dumper
auto tests.
2009-08-06 17:40:53 +02:00
ck
3f6d5a83a8 Bugfix: Private header is no longer included in public header. 2009-08-06 11:21:40 +02:00
ck
99d4c0b2a9 Debugger: More dumper auto tests.
Added test for "QAbstractItem" and fixed bug uncovered by that.
2009-08-05 16:01:33 +02:00
ck
877450589d Debugger: Added auto test for QSharedPointer. 2009-08-04 16:31:56 +02:00
ck
2721eb2371 Debugger: Added auto test to stay in sync with QObjectPrivate.
The compile-time solution introduced by 3a084ae8a2
was felt by some to be too intrusive, so I've integrated the check for
changes to QObjectPrivate into the auto test.
2009-08-04 15:38:31 +02:00