aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: Remove QLinkedList occurrences from manual testshjk2020-06-182-110/+0
| | | | | | | | And restrict the auto test to Qt<6. Task-number: QTCREATORBUG-24098 Change-Id: Idfbe94bc1a4b2d5a8c23a07a031520775bb17cd3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Meson build plugin initial supportAlexis Jeandet2020-06-086-0/+226
| | | | | | | | | | | | | | | | | | | | | | Most basic project management is implemented: - Project config/build - Build options accessible to user - Lists most build targets - Meson and Ninja added to kit setup - Basic project file tree with files known by Meson - Some basic meson and ninja process output parsing - Some project templates Missing features, that will come later: - Configurable project tree layout - Locators for Meson - Build importer - Access to Machine files for better user fine tuning - ... Fixes: QTCREATORBUG-18117 Change-Id: I2811e71562c113fb0fc6b6177bcf0698fa71ef63 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Update references to Locals and ExpressionsRobert Loehning2020-04-091-2/+2
| | | | | | | | These are two separate views now Change-Id: I010ad0b937982704310d102d1f4338ec0c29a370 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Ensure that null dereference in test is not optimized awayFawzi Mohamed2020-02-271-1/+2
| | | | | Change-Id: Icf8eb894a8277353448f46b18d5d6614be1d2350 Reviewed-by: hjk <hjk@qt.io>
* Add final specifies to classesIgor Sidorov2020-02-052-2/+2
| | | | | | | Warning -Wfinal-dtor-non-final-class in clang trunk Change-Id: I2bf17064bf8898eab10b82b69583a283157766d0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Utils: Fix setting of minimal height of InfoLabels in QFormLayoutAlessandro Portale2020-01-091-0/+8
| | | | | | | | Calling setMinimumHeight is not compatible with QFormLayout if the label has multiple lines. Overriding minimumSizeHint on the other hand is. Change-Id: Id2167b295620322cec75035d7cc7125cc3221c4d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Utils: Introduce InfoLabelAlessandro Portale2019-12-1910-13/+149
| | | | | | | | | | | | | | Utils::InfoLabel is meant to replace around 30 custom implementations of a QHBoxLayout with an pixmap QLabel and a text QLabel. Instead of fiddling with pixmaps, the user of InfoLabel can set an enum for info/warning/etc... type. Internally, a globally shared QIcon is used. The usage of QIcon ensures that @1x, @2x and hybrid cases are handled. Task-number: QTCREATORBUG-23346 Change-Id: I0f91a21e64f095db14837512263c4becbb2c13d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Rename pro file back to its old nameChristian Stenger2019-12-181-0/+0
| | | | | | | Partially revert for 3edfced05fd3c4d3798579f6db775250f6da5ddd. Change-Id: I7eba8d709cf148bcba9c70162cdfc8bfd09375fc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMake build system: Add manual testsAlessandro Portale2019-12-176-3/+29
| | | | | | | With tst_manual_widgets_crumblepath as first candidate. Change-Id: If66b53a459865903b2028966ac2d6d9357356aed Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Tests: Provide generic project for manual testingChristian Stenger2019-10-308-0/+32
| | | | | | | For now Linux-only. Change-Id: I88185e18222478de41564ec8be0239357cfb4b30 Reviewed-by: hjk <hjk@qt.io>
* Port setMargins to setContentsMarginsLaurent Montel2019-10-161-2/+2
| | | | | Change-Id: Ie6b3f3e4dddbbf4bcc7ea7561ec348ff2c666907 Reviewed-by: hjk <hjk@qt.io>
* Tests: Fix compileChristian Stenger2019-07-231-1/+1
| | | | | Change-Id: Ie6e1230177cc11f4f3ab545f10c2c144ef316d3a Reviewed-by: hjk <hjk@qt.io>
* Avoid warning on empty expressionshjk2019-07-231-5/+5
| | | | | | | | For some reason, Q_UNUSED includes already a semicolon, adding one on the user side creates an additional empty statement. Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-06-201-2/+1
|\ | | | | | | | | | | | | Conflicts: src/libs/utils/consoleprocess.h Change-Id: I771630cb4dc60a9e87e9d30d6295040c27348d8c
| * Debugger: Use DebugBreak() to interrupt in simple testDavid Schulz2019-06-191-2/+1
| | | | | | | | | | | | Change-Id: Ia15fc8c780b53f1b84af16a172af79b3145e9c39 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* | Merge remote-tracking branch 'origin/4.10'Eike Ziller2019-06-121-2/+6
|\| | | | | | | Change-Id: If85094fcd5bc2a85de9dbbaf065636f4b568401e
| * Tests: Fix build with MSVC 2017Christian Stenger2019-06-071-2/+6
| | | | | | | | | | Change-Id: I252ec40b026719f6cd5446b61b63dfdbd20e8ae9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | Use Utils::FilePath in SynchronousProcesshjk2019-06-111-1/+2
|/ | | | | | | Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Merge remote-tracking branch 'origin/4.9'Eike Ziller2019-05-2810-0/+414
|\ | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/cmakeprojectmanager/cmakebuildsettingswidget.cpp src/plugins/qmldesigner/qmldesignerextension/timelineeditor/preseteditor.cpp src/plugins/qmldesigner/qmldesignerextension/timelineeditor/timelinesettingsmodel.cpp src/shared/qbs Change-Id: I369368de9b9c682b03e224d489589043e1f6782b
| * QmlDesigner: Testproject for meta info hintsThomas Hartmann2019-05-2010-0/+414
| | | | | | | | | | Change-Id: I610f6180fb8b26d0bc84cd291781da2f06179b7a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | Replace uses of qVariantFromValue with QVariant::fromValuehjk2019-05-271-1/+1
| | | | | | | | | | | | | | | | Deprecated in Qt 5.14, alternative has been around since Qt 4 at least. Change-Id: I4e3a53c289088368609e0d0ce2405a832d311308 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Remove excess blank lines after namespaceOrgad Shaneh2019-05-271-2/+0
|/ | | | | Change-Id: I4e4f83017f2bfc2cf842c4c971ed4b05e0447e6a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Application icons refresh: Qt Creator == "QC"Alessandro Portale2019-02-153-0/+0
| | | | | | | | | This change replaces the existing application icons with the newly designed ones. Task-number: QTBUG-70826 Change-Id: I379ac8b5f64c4394c45c95fc4f8d7feb8bdfac69 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add Qt for Python templates and better supportCristian Maureira-Fredes2019-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtCreator: * Add new icons * Add support for `.pyproject` files, * Set `.pyproject` as default, but keep compatibility with `.pyqtc` * `.pyproject` is a JSON file, while `.pyqtc` is a plain-text. Python class: * Add option to ask if use PySide2 or PyQt5 * Remove the old import try-except structure * Remove iconText and add icon option * Remove shebang * Add utf-8 support Python file: * Remove code * Remove iconText and add icon option * Remove shebang * Add utf-8 support Qt for Python - Empty * Add file with basic statements to execute a QApplication Qt for Python - Window * Add file with basic statements to execute a QApplication, which contains a QMainWindow Task-number: QTCREATORBUG-21824 Change-Id: I4adb3ab6b179f084c7b674a6d4f643445fe24929 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Format clang-format example project with clang 6/7Nikolai Kosjar2019-01-071-5/+4
| | | | | Change-Id: Icc690e5f8293bd07dc0d0e0b76a6cefb11d3a684 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* SSH: Fix manual testsChristian Kandeler2018-12-199-88/+34
| | | | | Change-Id: Ia796bb9ad2f3440d98b60229ddc43971dd35f810 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Merge remote-tracking branch 'origin/4.8'Eike Ziller2018-11-291-1/+5
|\ | | | | | | | | | | | | Conflicts: src/plugins/android/androidrunnerworker.cpp Change-Id: Ibd8b99435365fb7e7d488313fd1d2b3a75adad1b
| * ClangFormat: Enable BreakStringLiterals in .clang-formatIvan Donchevskii2018-11-271-1/+5
| | | | | | | | | | | | Change-Id: Icbd601c236cb5ad620d1bc7217a8629fe50a0046 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | SSH: Turn some manual tests into autotestsChristian Kandeler2018-10-2326-2503/+4
|/ | | | | Change-Id: Id098709ff74dfc31a26ef42d559ce35d0120c0c3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Remove hard-coded disabling of debug logsOrgad Shaneh2018-10-131-1/+1
| | | | | | | | | | | Instead, set the default level of all logs to QtWarningMsg. The call to setFilterRules overrides the user preferences in qtlogging.ini. Change-Id: Id5f6cd550d14ff7f45ae04c5d3110e0bafb0f072 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Tests: Remove use of deprecated QDateTime::toTime_tOrgad Shaneh2018-09-251-1/+3
| | | | | Change-Id: I7d9f4e13deb8f375840f9da0c84b165a1dd744ee Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Replace module polling in gdb by handling notificationshjk2018-08-301-0/+1
| | | | | | | | Explicit polling is still available and accessible as fall back in the gui, but is at least in theory not necessary anymore. Change-Id: Ifd184fb88bdbf5de53f5776e2c94a03f8ad44a06 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Revert "Windows: Match the name case of included files"Orgad Shaneh2018-07-193-3/+3
| | | | | | | | | It breaks cross-compilation on linux/mingw. This reverts commit 1c014ed3d9256df0330338b34f1c710efa962cf8. Change-Id: I3e8183ec318541a4393ad242eefbdeaa78b7be44 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Windows: Match the name case of included filesAlessandro Portale2018-07-123-3/+3
| | | | | | | | | | | Although Windows is case insensitive, and lower case always works, Clang complains: Lexical or Preprocessor Issue: warning: non-portable path to file '<FooBar.h>'; specified path differs in case from file name on disk Change-Id: I8f94e9fb62f6afec8aa6b9d08a7c78f6ba8a4435 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Tests: Add lines for testing editing and output of intRobert Loehning2018-07-031-0/+2
| | | | | Change-Id: If31b5957fa55f5dd31205a0b4495491314fa87c0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* FakeVim: Experiment with hand-written signalshjk2018-03-021-106/+87
| | | | | | Change-Id: If76c68d3abb42240a279c15cf4b3d4b9e04460bd Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.6'Eike Ziller2018-02-233-3/+3
|\ | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/helpmanager.cpp Change-Id: I2feb60ec0afb2f22f75dc137a01c3fa217b299d8
| * Tests: Initialize some local variablesOrgad Shaneh2018-02-213-3/+3
| | | | | | | | | | | | | | Clang warns about those (-Wconditional-uninitialized). Change-Id: I993b6267208a5ec0a443ddcb1ebac52aea2c92f0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | ExtensionSystem: Remove per-plugin object poolshjk2018-02-236-52/+49
|/ | | | | | | | | | | | | | | | | | Remove now-unused IPlugin::addAutoReleasedObject and IPlugin:: {add,remove}Object convenience functions that were only forwarding to the global pool. Adjust all related tests. All previous users of these convenience functions are gone, and we do not want to encourage the use of object pool anymore. Plugins that wish to share objects to implement weak dependencies can use the global object pool via ExtensionSystem::PluginManager:: {add,remove}Object directly. Change-Id: Ic668ad5504af76963f6d4c69ae160438efc70db5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Fix testfile for statesRobert Loehning2018-01-251-9/+8
| | | | | Change-Id: Ib90334d6f566f0ae5d3a5f4961e23af116d34053 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add a minimal automake project for testing purposeshjk2018-01-105-0/+38
| | | | | Change-Id: If2127f2baf79716517e85661a3c657d689d84d67 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Tests: Fix compileChristian Stenger2017-12-207-49/+62
| | | | | | | | Broke with 21c66ce5. Change-Id: Iea3447a8226300333eacf8fa0df587d8ef197e8f Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com> Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Add manual test for pixel perfect formeditor overlaysAlessandro Portale2017-12-153-0/+179
| | | | | | | | | | | | We have a few off-by-ones in the visualization of selection, boundary, etc. Also, there are differences between low and high DPI, aswell as different platforms. This manual test is supposed to enable proper analysis whether the visualizations are correct or not. Change-Id: Iee407d37a2c6f2f272e11a4d9774532343463bc1 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Utils: Add a manual test for Utils::CrumblePathAlessandro Portale2017-11-275-1/+155
| | | | | | | | Using a small test app for testing the CrumblePath is less clumsy than doing that in Qt Quick Designer. Change-Id: I4a1d739aa303adfd799df33eb00fb8cd513304c3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: port python debug test to python 3David Schulz2017-10-241-5/+5
| | | | | Change-Id: I1e546b8c151f59432292118a0a6b4d913196e79b Reviewed-by: hjk <hjk@qt.io>
* QMake: Fix build with b884f6fdbc1f and BUILD_TESTS enabledAndre Hartmann2017-10-051-1/+1
| | | | | | | | | | | qchar.h: In member function ‘QMakeEvaluator::VisitReturn QMakeEvaluator::evaluateBuiltinConditional( int, const ProKey&, const ProStringList&)’: qchar.h:562:5: error: ‘QChar::QChar(char)’ is private QChar(char c) Q_DECL_NOTHROW; Change-Id: Idd25b20ecf68a2e801b73e916a5359ff3fc7a86f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Add experimental .clang-formatNikolai Kosjar2017-09-042-0/+694
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a configuration file for clang-format [1] and a test file to demonstrate benefits and current problems with respect to Qt Creator's coding rules [2]. This is based on clang-format from the llvm/clang 5.0 branch, which is about to be released soon in the next days/weeks (already behind schedule). Using clang-format for Qt Creator brings these advantages: * Enforce a bunch of coding rules by a simple tool/shortcut invocation. * Spend less review cycles for authors and reviewers regarding formatting. This helps especially for/with first-time contributors. * clang-format sorts includes and using declarations. * clang-format adds/updates namespace end comments, e.g.: } // namespace Foo See dist/clangformat/README.md for setup instructions und currently known issues. [1] https://clang.llvm.org/docs/ClangFormat.html [2] https://doc-snapshots.qt.io/qtcreator-extending/coding-style.html Task-number: QTCREATORBUG-17643 Change-Id: I87bdd66b8e492e99a360022962b0053f02a33e57 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Tests: Fix instructions to testersRobert Loehning2017-08-151-3/+3
| | | | | Change-Id: Ie22fca7cb68132876f867b57d7e1e5362289e0a4 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Add some hints on how the Python manual test workshjk2017-08-103-1/+6
| | | | | Change-Id: I7a20451739c759510ea2d400493985ae543c6965 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Replace include guards with #pragma onceOrgad Shaneh2017-06-282-8/+2
| | | | | | Change-Id: Ic36cf0e9cac61d4d9a7e4434192944f5301b8aaa Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Eike Ziller <eike.ziller@qt.io>