Commit Graph

490 Commits

Author SHA1 Message Date
Christian Kamm
e7a6bae170 C++ indenter: Add autotest for C++0x 'for' statement.
Reviewed-by: trustme
2010-10-20 10:51:13 +02:00
Christian Kamm
5ac981a0ac C++ indenter: Fix indentation after namespace aliases.
Task-number: QTCREATORBUG-2574
Reviewed-by: Roberto Raggi
2010-10-19 12:49:43 +02:00
hjk
41ee5dcc52 fakevim: make autotests compile 2010-10-11 16:22:23 +02:00
hjk
6d0f0c7cd3 debugger: fix auto tests
Reviewed-by: Friedemann Kleint
2010-10-11 12:35:30 +02:00
Erik Verbruggen
7334ed9ec4 C++: fixed translatable quick-fix strings. 2010-10-08 13:15:21 +02:00
Erik Verbruggen
192ca70649 C++ Parser: fix infinite loop when recovering from incorrect @selector expression. 2010-10-08 13:15:21 +02:00
Christian Kamm
7e3294a8ce C++ indenter: Don't get confused on 'for (a in b)'.
Reviewed-by: Roberto Raggi
Reviewed-by: Erik Verbruggen
(cherry picked from commit c2d890f65e)
2010-10-08 13:09:26 +02:00
Thomas Hartmann
f2ada23d26 QmlDesigner: using Qt 4.7 again
We need to support the N900

Reviewed-by: Kai Koehne
2010-10-06 09:47:13 +02:00
Thomas Hartmann
9a49ad003a QmlDesigner: using QtQuick 1.0 instead of Qt 4.7
huge renaming from Qt to QtQuick
propertyeditor qml files moved from Qt to QtQuick
auotests fixed
files used in tests fixed

autotests pass

Task-number: QTCREATORBUG-2556

Reviewed-by: Kai Koehne
2010-10-01 13:21:09 +02:00
Christian Kamm
b58ebe7d29 QmlJS indenter: Fix incorrect indent after break/continue.
Make sure to push a transitory state before leave(true) so it only
finishes the statement - and not the surrounding statement!

Reviewed-by: trustme
2010-09-30 19:03:29 +02:00
Erik Verbruggen
f39494e4c2 C++: make InsertionPointLocator ready for re-use.
(cherry picked from commit 519f1d11947ff3109850e559fae868c4a55deb43)
2010-09-27 19:07:15 +02:00
Christian Kamm
e20bfaed68 QmlJS indenter: Fix break/continue/throw in if statement without braces.
Reviewed-by: Roberto Raggi
2010-09-27 10:30:39 +02:00
Christian Kamm
b4bd5449f6 QmlJS indenter: Fix problem with object literals.
Reviewed-by: Roberto Raggi
2010-09-27 10:12:50 +02:00
Christian Kamm
17e0886c69 C++ indenter: Fix error recovery in function definitions.
Task-number: QTCREATORBUG-1517
2010-09-24 15:58:23 +02:00
Christian Kamm
d7bf4f515d C++ indenter: Fix indentation if template and class appear on one line.
Task-number: QTCREATORBUG-2427
2010-09-24 15:08:54 +02:00
Christian Kamm
be563abf68 C++ indenter: Simplify debugging by making dump() more verbose. 2010-09-24 15:08:54 +02:00
Thomas Hartmann
80527b93c4 QmlDesigner.tests: fixes the auto tests for latest changes 2010-09-24 09:10:45 +02:00
Thomas Hartmann
09d0c9e3f1 QmlDesigner.Tests: Fix compile for tests 2010-09-24 09:10:41 +02:00
Thomas Hartmann
9b492331da Adding LowLevel units test for instances
testing data, children and resources properties
2010-09-16 12:53:00 +02:00
Thomas Hartmann
3b62aeaffd QmlDesigner: fixing states 2010-09-16 12:52:58 +02:00
Erik Verbruggen
3edb0a8480 C++: Added unittest for 5a1924f1a0. 2010-09-16 11:31:07 +02:00
Erik Verbruggen
e4de305b02 C++: Fixed regression in autotests. 2010-09-15 11:17:05 +02:00
Christian Kamm
e5cbb56fe7 C++ indenter: Fix for statement indentation and add test. 2010-09-15 11:16:25 +02:00
Christian Kamm
642b6fb0d3 C++ indenter: Separate indent into logical indent and padding. 2010-09-13 12:38:34 +02:00
Thomas Hartmann
1a08caf77f QmlDesigner.tests: new auto tests 2010-09-08 16:36:20 +02:00
Christian Kamm
34f37fb5e3 QmlJS indenter: Fix one-line object declarations in array bindings.
Task-number: QTCREATORBUG-2295
2010-09-08 15:50:07 +02:00
Thomas Hartmann
742c49aebf QmlDesigner.test: fix 2010-09-07 16:31:22 +02:00
Thomas Hartmann
7d6f181523 QuickDesigner.tests: stress test for bindings in states 2010-09-07 16:31:22 +02:00
Thomas Hartmann
226e089d18 QuickDesigner.test: compilefix 2010-09-07 16:31:21 +02:00
Bill King
eb498ee428 Tests: some cleanup of pro files, marking of tested components. 2010-09-06 14:19:32 +10:00
Roberto Raggi
c12866a467 Merge CPlusPlus::NameId and CPlusPlus::Identifier. 2010-09-02 12:51:01 +02:00
Bill King
1f0b600b82 Autotests: More cleanup of tests, and initial marking of components belonged to. 2010-09-02 15:32:04 +10:00
Christian Kamm
1862282bee C++ indenter: Fix nested array/struct initializers. 2010-08-31 09:45:01 +02:00
Roberto Raggi
05f2fd6669 Renamed Symbol::scope() to Symbol::enclosingScope(). 2010-08-26 16:16:22 +02:00
Roberto Raggi
688d382ad9 Some cleanup in the C++ AST. 2010-08-26 16:07:14 +02:00
Christian Kamm
b79fe7e711 C++: Fix indenting of QML_* macros.
Task-number: QTCREATORBUG-2111
2010-08-25 14:55:16 +02:00
Leandro Melo
9f43ebcfa5 Generic highlighter: Trying once more to fix for autotests. 2010-08-20 11:10:43 +02:00
Leandro Melo
e3f7a4024b Try to satisfy autotests for the generic highlighter engine. 2010-08-19 10:00:23 +02:00
Bill King
7f9a448eeb Fixes: Tests should have unique names.
Details: Autotests need to be named uniquely, otherwise
all sorts of databases get lost and confused.
2010-08-19 11:56:53 +10:00
Bill King
5b2fb4bb67 Fixes: get tests compiling again that depend on the cpp library
Details:  This gets the tests running again, by statically linking
them. qmake doesn't have support for depending upon other projects
being built, so when the projects are built out of order, libCPlusPlusTest.so
wasn't being built before trying to be linked against.
2010-08-19 11:56:53 +10:00
Leandro Melo
9061a8289f Fix highlighter engine unit tests compilation/linking. 2010-08-13 18:18:18 +02:00
Roberto Raggi
bc28e5d993 Compile 2010-08-13 17:05:20 +02:00
Roberto Raggi
d21de8c621 Fixed the objc auto tests 2010-08-13 16:55:43 +02:00
Roberto Raggi
ae5db839e1 Compile 2010-08-13 16:55:43 +02:00
Roberto Raggi
13ebe7e46c Compile. 2010-08-11 16:06:40 +02:00
Roberto Raggi
2ebaf3fe5b Get rid of the #warning directives. 2010-08-11 15:48:40 +02:00
Christian Kamm
822de6c17a QmlJS: Introduce a new indenter that works similarly to the new C++ one.
Done-with: Thomas Hartmann
2010-08-10 14:27:08 +02:00
Bill King
b15a0a5a0f Fixes: BauhausTests is being turned into a qtuitest.
Details:  The current test is a bit too resource intensive.
2010-08-10 13:47:52 +10:00
Kai Koehne
729142b041 QuickDesigner: Fix compilation of core tests 2010-08-09 15:25:37 +02:00
Roberto Raggi
667e8aa01f Compile. 2010-08-05 17:53:14 +02:00