Commit Graph

3 Commits

Author SHA1 Message Date
Ulf Hermann
3a9e459408 QmlProfiler: Relax client manager test
We can actually get several TCP connection attempts from the client
manager. That is the whole point of retrying. The QQmlDebugServer
explicitly allows sequential connections, so we should allow them, too.

Change-Id: Id38290dbfd86fadfb0c648189f89827330ea1174
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2016-07-26 08:27:50 +00:00
Ulf Hermann
6d63ac6972 QmlProfiler: Optimize client manager test
Instead of starting Qt Creator to get a debug server we can just
simulate the hello message on a locally created connection. That is
enough to make the client manager signal "connectionOpened()".

This way we don't get excessive timeouts on this test.

Change-Id: I89fa12b1bdda41a62dec47de042224f26fee79a9
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2016-07-22 14:10:19 +00:00
Ulf Hermann
f372f4aa5a QmlProfiler: Add tests for client manager
Change-Id: I9d758857dc65daa564ab6a0394250c02ea006832
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2016-07-20 08:18:06 +00:00