Commit Graph

491 Commits

Author SHA1 Message Date
Thomas Hartmann
a952b9ba4e QmlDesigner.autoTests
Integration tests

TestCore::testAnchorsAndRewriting
TestCore::testAnchorsAndRewritingCenter

Task-number: Bauhaus-109
2010-05-25 17:51:19 +02:00
Thomas Hartmann
a484bb240d QmlDesigner.tests: an integration test for the metaInfo 2010-05-21 11:28:28 +02:00
Thomas Hartmann
9ed5dac72e QmlDesigner: new files for auto tests 2010-05-21 11:28:28 +02:00
Thomas Hartmann
392123e755 QmlDesigner: skip test 2010-05-20 11:21:25 +02:00
Kai Koehne
cdb69f7f6f QuickDesigner: Move metainfo tests in front of model tests
The model depends on valid metainfo information.
2010-05-19 20:36:25 +02:00
Thomas Hartmann
7f59988ec1 QmlDesigner: new autotest testRewriterForGradientMagic 2010-05-19 13:54:18 +02:00
Kai Koehne
924da63d7d QuickDesigner: Fully implement versioning support in metatype system
Store qml versions in the metatype system. Instead of just assuming
e.g. "4, 6" or "4, 7" as default, support passing "-1, -1" as versioning
wildcard.

When inspecting the qml meta type system, versions are now stored also
for types that have no qml name / version. The version of the referenting
type is then taken, e.g. there are now entries for "Qt/Object", 4, 7 and
"Qt/Object", 1, 0 (from QmlProject, 1, 0).

Furthermore, some unused methods were removed, and the logic changed insofar
as that a type can have only one direct super type.

Reviewed-by: Thomas Hartmann
Reviewed-by: Marco Bubke
2010-05-12 21:26:20 +02:00
Thomas Hartmann
e92b49910b QmlDesigner.test compile fix for tests 2010-05-10 13:20:29 +02:00
Kai Koehne
34d3b5d8ac QuickDesigner: Remove dependency of autotests to tests/manual/qml
Copy over used files to tests/auto/qml/qmldesigner/data directory.
2010-04-28 09:59:31 +02:00
Erik Verbruggen
b149ee8dbb Fixed invalid order when inserting new objects.
Done-with: ckamm
Task-number: BAUHAUS-631
2010-04-26 16:21:40 +02:00
Kai Koehne
797bc649ea Quick Designer: Fix core tests
'property var' isn't supported any more, it's now 'property variant'
2010-04-26 13:29:40 +02:00
Kai Koehne
ddc7641638 Qml: Bump library version from 4.6 to 4.7
All types in the Qt namespace now have 4.7 as minimum version.
2010-04-23 13:46:13 +02:00
Thomas Hartmann
6b09a506ac QmlDesigner: auto test for BAUHAUS-631 2010-04-23 13:10:10 +02:00
Thomas Hartmann
87a09deb83 QmlDesigner: extending auto tests 2010-04-23 11:25:54 +02:00
Erik Verbruggen
6237bbb453 Fixed rewriting for grouped properties. 2010-04-22 18:50:29 +02:00
Erik Verbruggen
b03ef971b0 Fixed reading of grouped properties.
Task-number: BAUHAUS-620
2010-04-22 17:16:54 +02:00
Kai Koehne
e7a9619c2f QmlDesigner: Bump version number from 4.6 to 4.7 in qml files
Reviewed-by: Thomas Hartmann
2010-04-13 15:15:15 +02:00
Kai Koehne
5650dbc55d Replace 'var' by 'variant' in all Qml files
45ca7aff2c04c in qt.git replaces 'var' with 'variant'

Reviewed-by: Thomas Hartmann
2010-04-13 15:15:15 +02:00
Kai Koehne
99cbb2f868 QmlDesigner: Cleaning up coretests
Removing tests that have been Skipped forever, and enabling others
again.
2010-04-13 15:15:15 +02:00
Kai Koehne
7796db0f08 QmlDesigner: Unify names of auto tests 2010-04-13 15:15:15 +02:00
Erik Verbruggen
e615cf82a5 Fixed regression when assigning an object binding to an array property. 2010-04-06 12:57:02 +02:00
Kai Koehne
746d73c328 QmlDesigner: Fix coretests for Mac OS X 2010-04-06 12:04:28 +02:00
Kai Koehne
639ae491c1 QmlDesigner: Store result of bauhaustests in $CREATORDIR/../bauhaustests 2010-04-06 10:51:19 +02:00
Kai Koehne
2cb9e2fff7 QmlDesigner: Add help script to run tst_bauhaus & store results in file 2010-04-05 22:18:58 +02:00
Kai Koehne
9095f77d71 Place tst_qmldesigner_core in local directory (again)
Also unify path handling somewhat
2010-04-01 12:11:25 +02:00
Thomas Hartmann
d445fcabdd QmlDesigner: fix plugin loading for auto tests 2010-03-31 18:49:06 +02:00
Marco Bubke
8faae5813d Fix test for parent to parentItem 2010-03-31 14:41:23 +02:00
Marco Bubke
65c2dfb7bc Fix rewriter test 2010-03-31 14:41:23 +02:00
Marco Bubke
b40bdf8a3d Change test from parent to parentItem 2010-03-31 12:59:05 +02:00
Thomas Hartmann
e37b101d22 QmlDesigner: new auto test TestCore::loadTestFiles 2010-03-31 11:05:27 +02:00
Kai Koehne
176115a0ad QmlDesigner: Fix compilation of core tests for non -nokia-developer builds
Use explicit DEFINE to enable additional API in node instances for testing,
not QT_BUILD_INTERNAL.
2010-03-31 10:54:39 +02:00
Kai Koehne
e45699d1f2 QmlDesigner: Fix compilation of core tests
Patch by Marco Bubke.
2010-03-30 14:41:55 +02:00
Marco Bubke
5d3e4bacc0 Improve performance of State property changes
This patch is eliminating the switch from the state the base state and back if a property is changed.
 For that it is updating the internal caching values in QDeclarativeState.

Reviewed-by: Thomas Hartmann
2010-03-30 14:41:53 +02:00
Thomas Hartmann
e499d7eb78 QmlDesigner.autoTests: added testMetaInfoEnums() 2010-03-30 12:01:29 +02:00
Thomas Hartmann
b5d66dca1b QmlDesigner: fixes autotest: testCopyModelRewriter1()
See: BAUHAUS-393
2010-03-29 16:49:53 +02:00
Erik Verbruggen
e934ae4a73 Fixed dynamic property default values. 2010-03-29 13:01:22 +02:00
Erik Verbruggen
6c1606a31b More testcase fixing. 2010-03-29 12:24:08 +02:00
Erik Verbruggen
94b519104d Fixed test case. 2010-03-29 11:47:47 +02:00
Kai Koehne
7bd7aaed75 QmlDesigner: Skip TestCore::testRewriterTransationRewriter
Task-number: QTCREATORBUG-964
2010-03-29 10:25:27 +02:00
Kai Koehne
5c28561368 QmlDesigner: Fix & extend test case for dynamic properties 2010-03-26 16:35:38 +01:00
Kai Koehne
3a15c8c3c5 QmlDesigner: Remove empty initTestCase/cleanupTestCase from bauhaustests 2010-03-25 14:21:19 +01:00
Kai Koehne
99524f65b3 QmlDesigner: Also try to load all .qml files in creator 2010-03-25 14:21:19 +01:00
Kai Koehne
ed1c6cb9ef QmlDesigner: Wait longer for creator to startup in bauhaus test
5 seconds is tight on slow platforms
2010-03-25 14:21:19 +01:00
Kai Koehne
05585c623e QmlDesigner: Beautify Bauhaus autotest
Use data based tests
2010-03-25 14:21:19 +01:00
Erik Verbruggen
66b87a1785 Changed certain error cases to throw exceptions, as the higher-levels expect. 2010-03-25 11:27:58 +01:00
Erik Verbruggen
a97e2f53d2 Fixed testcase. 2010-03-24 14:02:35 +01:00
Erik Verbruggen
a2cb7ceb72 More fixes to the autotests. 2010-03-24 12:23:42 +01:00
Erik Verbruggen
0cd098032c Fixed QmlJS interpreter metatype system initialization. 2010-03-24 11:09:00 +01:00
Kai Koehne
3984c057b8 QmlProject file format: Let filters recurse by default
E.g. "QmlFiles {}" now also monitors subdirectories by default, while
"QmlFiles { paths : ["bla.qml"] } does not.

Task-number: BAUHAUS-503
2010-03-22 10:21:18 +01:00
Kai Koehne
c722282cf3 QmlProjectManager: Rename 'libraryPaths' property to 'importPaths'
Suggested by Erik Verbruggen
2010-03-19 15:15:36 +01:00