summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/shared/debugutil.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QDeclarativeDebugClient: Make sure status is consistentKai Koehne2010-09-301-1/+2
| | | | | | | | | When statusChanged() is called during handsake state() was not the same as the argument passed. Fix this by setting gotHello = true _before_ notifying the clients. Reviewed-by: Christiaan Janssen Task-number: QTBUG-14087
* Make QmlDebug protocol more robustKai Koehne2010-09-281-5/+8
| | | | | | | | | | | | | | | | | | | | | | The protocol so far was client->server only. That is, there was no sane way for a client to check whether a plugin on the server (service) was available or not. E.g. calling Client::setEnabled(true) 'succeeded', without a check whether there is actually a service to talk to. The new protocol replaces this shortcoming by a service discovery mechanism: Both client & service announce their available plugins at handshake time, and later on if there are changes. The status is reflected in Client::status() and Service::Status() , which are either NotConnected - no network connection, or not registered properly Unavailable - TCP/IP connection works, but no plugin with the same name on the other side Enabled - You can connect to plugin on other side The status changes happen automatically (no setEnabled() anymore). Furthermore a version ID was added to the handshake, so that we can extend the protocol further in the future :)
* Wait for debug clients asynchronously instead of blocking creation ofBea Lam2010-04-161-80/+1
| | | | | | the engine until a debug client has connected. This makes for easier debugging from Qt Creator when debugging C++ and QML together and when debugging an application that has multiple engines.
* Change autotest class prefix from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX ↵Leonardo Sobral Cunha2010-02-241-4/+4
| | | | to QDeclarativeXXX.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-23/+23
| | | | QDeclarativeXXX.
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-181-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mkspecs/linux-g++-x11egl/qplatformdefs.h src/declarative/qml/qmldom.h src/declarative/util/qmlview.cpp src/declarative/util/qmlview.h tools/qdoc3/cppcodemarker.cpp tools/qmldebugger/standalone/canvasframerate.cpp tools/qmldebugger/standalone/engine.cpp tools/qmldebugger/standalone/expressionquerywidget.cpp tools/qmldebugger/standalone/expressionquerywidget.h tools/qmldebugger/standalone/objectpropertiesview.cpp tools/qmldebugger/standalone/objectpropertiesview.h tools/qmldebugger/standalone/objecttree.cpp tools/qmldebugger/standalone/qmldebugger.cpp tools/qmldebugger/standalone/watchtable.cpp tools/qmldebugger/standalone/watchtable.h
| * Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | For qmldebug* tests, make sure engine is running before the test threadBea Lam2010-02-151-9/+12
|/ | | | is started. Also fix some memory leaks.
* Clean upBea Lam2010-02-111-1/+0
|
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qmlBea Lam2010-02-111-0/+2
|\
| * Fixed qmldebug* tests crashing.Rohan McGovern2010-02-111-0/+2
| | | | | | | | | | | | | | | | Tests would crash with `QThread: Destroyed while thread is still running' one in a billion runs, since wait() was not called on the test thread. Reviewed-by: leo
* | Must pass app arguments onto qExec() or else test system cannotBea Lam2010-02-111-1/+1
|/ | | | get test results with -xml mode.
* Use QUrl::fromLocalFile() instead of "file://" (i.e. only 2 slashes).Bea Lam2010-02-081-1/+1
| | | | Was causing some test failures on Windows.
* Fix tests after 05adc294d063171d9d0accf819826684813d396aMichael Brasser2010-01-131-1/+2
|
* Fix occasionally-failing debug tests.Bea Lam2009-11-231-4/+5
|
* Make compile, forgot to add some filesBea Lam2009-11-171-0/+173