qt5base-lts/tests
Jason McDonald d884f24fe1 Prefer QSKIP to QTEST_NOOP_MAIN.
There is no way for a .pro file to know if QProcess is in the Qt build,
so the QProcess autotest cannot be omitted from the build if QProcess is
not available.  Because of this limitation, the test was using
QTEST_NOOP_MAIN when QProcess was not available, making the test appear
to pass.  This commit changes QTEST_NOOP_MAIN to QSKIP, so that the user
receives a clear indication that the test isn't testing anything when
QProcess is not available.

Change-Id: I79f667b17ff98dfc47eb61fb977365abef8883fb
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-10-19 01:38:36 +02:00
..
auto Prefer QSKIP to QTEST_NOOP_MAIN. 2011-10-19 01:38:36 +02:00
baselineserver Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
benchmarks Rename QMetaType::construct() to create() 2011-10-11 16:01:45 +02:00
global Modularized tst_bic and add some helper functions for global test 2011-04-27 12:06:03 +02:00
manual Remove last remnants of Maemo 5 from autotests 2011-10-06 01:28:01 +02:00
shared Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
README Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tests.pro disable autotests temporarily on Mac 2011-09-14 13:55:41 +02:00

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.