qtbase/tests
Tatiana Borisova 5525779b2e QTextStream: use new operator bool() around the code
- After adding the QTextStream::operator bool(), it is not required to
check the QTextStream::status(). It is enough to use the reference
of stream in the statement, which returns true if stream status is OK.
New operator usage makes code more convenient.

Task-number: QTBUG-52189
Change-Id: Id9ecaa8a5c9cf1931dbeefa85f9d948d15379a82
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2025-01-02 15:01:45 +01:00
..
auto Fix QtFuture::when{All,Any}() overload resolution 2025-01-02 14:58:17 +01:00
baseline Baseline tests: prefer a screen with a DPR of 1.0 2024-12-10 23:45:41 +01:00
benchmarks QPainter: add a benchmark for setPen/setBrush 2024-11-29 21:55:50 +01:00
global
libfuzzer Complete color space toICC write 2024-05-31 16:24:50 +02:00
manual QTextStream: use new operator bool() around the code 2025-01-02 15:01:45 +01:00
shared Replace incorrect Metal config check in nativewindow.h 2024-05-01 14:24:06 +02:00
testserver Add REUSE.toml files 2024-11-05 14:36:16 +01:00
CMakeLists.txt
README

README

This directory contains autotests and benchmarks based on Qt Test. 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.