summaryrefslogtreecommitdiff
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
* Timeline: Make 0-width events visible again.Ulf Hermann2015-05-181-8/+13
| | | | | | | | | | | Events with duration == 0 were erroneously filtered out by the items render pass. Also, we have to give them a very small width in order for the "stretching" mechanism in the vertex shader to work. Change-Id: Icb76168f0831547a3ca55ab79df7161736ed4dc4 Task-number: QTCREATORBUG-14446 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Debugger: Remove StdStream dumper testhjk2015-04-171-18/+0
| | | | | | | | This was testing a bool value, not a stream, and doing that wrong on Windows. Change-Id: I86b1aaea99e77b2aa3c37bb5c9c3e0ba8a90cb05 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Timeline: Be more exact about height of model aggregatorUlf Hermann2015-04-161-0/+4
| | | | | | | Only emit the change signal if the height has actually changed. Change-Id: Ic4bf67f25cb4a7f204815b4e6b0c6bd88c71944a Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Timeline: Test TimelineModelAggregatorUlf Hermann2015-04-165-1/+188
| | | | | Change-Id: I327a12212f6e0d842ed2c230a4d489a3178033d0 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Timeline: Be more exact about model height changes.Ulf Hermann2015-04-161-0/+9
| | | | | | | Emit the signal every time the height changes, but not if it doesn't. Change-Id: I3a3da737bc99ae99ac6d5690c55c21d94cf5b647 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Debugger: Fix handling of ? in dumper testhjk2015-04-161-4/+5
| | | | | | | | | Normally, we use '?' as an optional Qt namespace qualification. This clashes with the use of ? in a regexp type expression. Re-order checks to avoid the clash. Change-Id: I4a8aee0174f4f3d21bec624919856623808becb1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Make QUrl dumper test pass for LLDB on Linuxhjk2015-04-151-7/+7
| | | | | | | ... by relaxing the namespace checks. Change-Id: I2c2978fe4e95bdc87df24fd6ecbcba4bf1913df3 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Use a more generic approach to LLDB's namespace problemhjk2015-04-151-33/+46
| | | | | | | | | This is a generalization of 134234be67. '?QFoo' is now meant to match both 'QFoo' or 'Ns::QFoo' in a namespaced Qt. '@QFoo' continues to match 'Ns::QFoo' only. Change-Id: I4285cd9f75a2e4cd94ec5dbb107214f75a60c810 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Handle char const* and const char* the same in typeshjk2015-04-151-0/+4
| | | | | | | | Helps recognition of default std::maps and makes the StdMapQt dumper test pass with LLDB on Linux Change-Id: I2d2a91d65e895c7fc2c99e24cc77d21ca6353b22 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Fix parsing of gcc version on SuSEChristian Stenger2015-04-151-2/+9
| | | | | Change-Id: Ieb8b5a1ea998abbd2d3baf13829f81f9d4cc43e5 Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Disable parts of QDate* dumper for GDB on 32 bithjk2015-04-151-19/+29
| | | | | | | | | Older versions of GDB (~GDB 7.4 on 32 bit) will cause segmentation faults in inferior calls due to misaligned %ebx values in an SSE call in qstring.cpp:findChar. Change-Id: I44492106080f12e645f9d57828438ec70fd66ca6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Test: Dumper: Limit single check to Qt5.xChristian Stenger2015-04-151-1/+1
| | | | | Change-Id: Ia769c16761a171e3e472144cd3ace3280ae5a6aa Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Make QThread dumper test compile and pass on Machjk2015-04-151-1/+2
| | | | | Change-Id: I094d3add58681cbc94a76cdc0d45040c705169e5 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Weaken QVariant(QUrl) testhjk2015-04-151-1/+1
| | | | | | | | ... to make it pass with LLDB. The exact display of the private is not *that* interesting anyways. Change-Id: I2d0a8bdd5daff4b03c77b00c887837c7568ea508 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Workaround LLDB type handling failure on Linuxhjk2015-04-151-1/+5
| | | | | | | | | LLDB 3.7 on Linux doesn't get the namespace right in QMapNode: sc t = lldb.target.FindFirstType('Myns::QMapNode<int, CustomStruct>') sc t.GetName() -> QMapNode<int, CustomStruct> (no Myns::) Change-Id: Ied306f70035e0669bc822700a92371b7de35a603 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Fix std::unordered_{map,set} dumper for LLDB on Linuxhjk2015-04-151-2/+2
| | | | | Change-Id: Id96d02cddcccdd7765e5a098bb98f894122781a1 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Timeline: Clear excess row heights when reducing the number of rowsUlf Hermann2015-04-141-1/+5
| | | | | | | | Otherwise, if you increase the number of rows again later you get surprising results. Change-Id: I3ec809820716368849415f9dcdb1ec9208844353 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Debugger: Simplify LLDB test loop handlinghjk2015-04-141-1/+1
| | | | | | | We know that we expect a frame with valid debug info. Change-Id: I51079ca4db87df05c93464fd46e5add1f756cba7 Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Fix GCC/LLDB anon struct test by adjusting expectationshjk2015-04-141-1/+1
| | | | | Change-Id: I31775513c2e4a690b2620225682c89ee8c9156d2 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Improve normalization of types containing pointershjk2015-04-141-0/+3
| | | | | | | | | Always add a space before a *. This fixes some test cases with LLDB that failed to recognize the default argument in "std::vector<int *, std::allocator<int*> >" due to the different spacing. Change-Id: Ib4a57a808551d0b4cd527021f7d19772378e405f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Robustify compile of debugger auto testsChristian Stenger2015-04-131-3/+10
| | | | | Change-Id: I9deb837b693c433e3c865dda2b212129e193d63b Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Parse openSUSE's gdb version stringshjk2015-04-131-2/+4
| | | | | Change-Id: I49cfb29a3d6ec2245ed05956bb2cd46c6a2338cc Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Timeline: Test parenting of equal start timesUlf Hermann2015-04-091-0/+17
| | | | | | | | | | If you insert events with equal start times in a way that the model can not reorder them by their end times the parenting follows the indexes, not the end times. This has caused confusion multiple times and it's good to test it. Change-Id: I3e9ba212ff377dc2afa2a2893637bb55edebafea Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Debugger: Fix parameter passing to LLDB dumper testshjk2015-04-021-1/+1
| | | | | Change-Id: Iae342ffe68385de877c7a1e9a7e61e7d4889f731 Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Make QHash dumper pass againhjk2015-04-021-47/+10
| | | | | | | | | Failures were due to version specific reordering. This is still checked in cases h1, h7, h8. Simplify maintanance by removing the check in the other cases. Change-Id: I481672e693f6370c75bc4739d6cca937b9f027ea Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Adjust QVariant2 dumper testhjk2015-04-021-3/+3
| | | | | | | | Take new QPolygon{,F} dumpers into account, also make QUrlPrivate field accessible, Change-Id: I2b5c122895c3ee389ba939eaeffcd613fa206009 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Test: Dumper: Adjust QVector test to cdb output.David Schulz2015-04-021-10/+20
| | | | | Change-Id: I2da7f4b21251e1417efaf20813ce260ea286b1f2 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Test: Dumper: Fix Compilation and adjust cdb output of "BigInt" test.David Schulz2015-04-021-4/+9
| | | | | Change-Id: I8ecfd77cd72e155e291acdc96fcbfd49572c91e3 Reviewed-by: hjk <hjk@theqtcompany.com>
* Test: Dumper: Adjust test to cdb output.David Schulz2015-03-311-16/+31
| | | | | Change-Id: Iae81984eedeb4f7190268eb5d19fb652e76f8f34 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Cdbext: Fix QByteArray dumper for unprintable characters.David Schulz2015-03-301-2/+1
| | | | | Change-Id: I7075df252ea9739600fdbf01c27987d2c0f8d159 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Debugger: Adjust QFile dumper to library changeshjk2015-03-241-1/+11
| | | | | Change-Id: I44ac0de970a41fc7da0453ed853396a6943ffb0b Reviewed-by: hjk <hjk@theqtcompany.com>
* Timeline: In autotests, fail if the renderer warnsUlf Hermann2015-03-241-0/+10
| | | | | | | | Warnings from the scene graph renderer are most likely things we want to catch when testing, such as failure to compile the shaders. Change-Id: I96bcf4a44d0986ca6f065cda71b242ebb355ce84 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Tests: Dumper: Fix QByteArray dumper test for cdb.David Schulz2015-03-231-3/+8
| | | | | Change-Id: Ic5cdf0092d720bc13c1609b6e489e48712645f8b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Dumper: Add current data tag to tmp build dir name.David Schulz2015-03-191-2/+4
| | | | | | Change-Id: I91c26bcb70a10ed00c32f8bf18f16e0ac449c5b6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
* Debugger: Fix dumper format choosing with GDBhjk2015-03-191-1/+1
| | | | | | | ... and further unify GDB and LLDB code paths. Change-Id: Id89f3804c53190c4888082891fd3c3c55eceac84 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Fix buildingChristian Stenger2015-03-171-0/+2
| | | | | Change-Id: I381bb020b75fbc7e43bff6bd2fef5982ed114c14 Reviewed-by: hjk <hjk@theqtcompany.com>
* Tests: Cleanup project files for Utils testsOrgad Shaneh2015-03-172-9/+1
| | | | | Change-Id: I75ad17d12994376d88117570250a6c45e7495fea Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Fix compilationOrgad Shaneh2015-03-142-6/+2
| | | | | Change-Id: I7cb3b5636413abfc52578e8ae0c43f745efa2f0d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* C++: Fix preprocessing of comments within function-like macroOrgad Shaneh2015-03-131-8/+140
| | | | | | Task-number: QTCREATORBUG-9535 Change-Id: Ifd94f674214314b3694be74cca297ddab873cd8c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* C++: Fix crash on invalid function qualified nameNikolai Kosjar2015-03-131-0/+15
| | | | | | Task-number: QTCREATORBUG-14135 Change-Id: I94e850f729bd3dbf4212960c7a980a1f118030b4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* C++: Provide better output on preprocessor test failureOrgad Shaneh2015-03-131-23/+36
| | | | | | | | Make the expected output copyable to the test. Change-Id: I4fc61682f14d0de054a11d2ffa4a0f36ede0e500 Reviewed-by: Francois Ferrand <thetypz@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Debugger: Tests: Fix execution of dumper tests on OSXChristian Stenger2015-03-101-0/+2
| | | | | Change-Id: Ibe3e447d29e3834766ef067ba4424c3b08ba5eb1 Reviewed-by: hjk <hjk@theqtcompany.com>
* Clean headers in lib qmljs and plugins qmljstools, qmljseditor.Friedemann Kleint2015-03-052-0/+2
| | | | | Change-Id: I3256db8f4d42b6326d986d754b45e6c6c2030839 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Tests: Use real project dependencies in memcheck testhjk2015-03-041-2/+13
| | | | | Change-Id: Iced26e5b2a4a4ba5e1075e19eeffe96b2e298d0f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Tests: Fix valgrind testChristian Stenger2015-03-021-1/+1
| | | | | Change-Id: I5e05575d0858ef1b8e2d5b3fb8b00b006a11c065 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Tests: Refix MSVC warnings for valgrind testsOrgad Shaneh2015-03-028-7/+8
| | | | | | | Fix in 5a5acd664ee16bf50067492da541a9d8355c3c36 was incomplete. Change-Id: I36a0666d2a6a8ccb514ebf612fbac2eded150102 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* C++: Accept language features in BackwardsScanner et alOrgad Shaneh2015-02-271-5/+5
| | | | | Change-Id: Id97ca27fa909979573efca12dc0cd14b28eacd17 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* C++: fix parsing nested C99 designated initializers.Francois Ferrand2015-02-271-0/+9
| | | | | Change-Id: Iaa0e7550abf6be77601b1852652bb3d0731d0323 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* C++: resolved self-value reference for enumPrzemyslaw Gorszkowski2015-02-251-0/+26
| | | | | | | | | | | | | | | Added support for resolving case: enum E { val1, val2 = val1, // val2-4 are not resolved val3, val4 }; Task-number: QTCREATORBUG-13932 Change-Id: I122c5eb0b0397d6c02bc3db0a5c1ea1c28c5c6e7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Debugger: Add dumpers for QPolygon{,F} and QGraphicsPolygonItemhjk2015-02-241-0/+17
| | | | | Change-Id: Ic246b28d44312a677c8d41194d4e0c324bda125d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>