aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove QML import version numbersBernd Weimer2022-08-0817-51/+51
| | | | | Change-Id: I2810c412a595b2b5729fd57f8c4a3a1a2356c363 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Port to Qt 6.2Robert Griebl2022-07-011-1/+1
| | | | | | | | | | | - Build is warning free on Linux - Still using qmake - Custom fragmenShaders in the cluster are not ported yet - Qt 3D models are rendered, but the Studio 3D integration is untested Change-Id: I0e410a932d6461ba29e7c945cb5e9750d6df8964 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Bramastyo Harimukti Santoso <bram.harimukti@gmail.com>
* [sysui] replace onFoo handlers for ConnectionsEgor Nemtsev2020-07-221-1/+1
| | | | | | | | | | - Connections { target: someTarget; onFoo: {} } is now deprecated and warning is generated. onFoo should be changed to 'function onFoo(params)' Fixes: AUTOSUITE-1597 Change-Id: I87d93939fa821c53bdf26478baa5444387b1b20e Reviewed-by: Grigorii Zimin <gzimin@luxoft.com>
* [tests] fix import styles for testsEgor Nemtsev2020-03-033-0/+17
| | | | | | | | | | | | - Qt Test allow only to import paths. Neptune components require Styles to work. Styles can only be set via env variables. In Neptune's qmlscene we add extra arguments: --style-conf and --styles-path. For testrunner we initialize evn varibles from defined in pro file paths pointing to build dir. We set QT_QUICK_CONTROLS_CONF and QT_QUICK_CONTROLS_STYLE_PATH Task-number: AUTOSUITE-1497 Change-Id: I1304063bc7628bb921c7c6ee9f7562202d3efbce Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
* [license] remove "ivi" and leave Neptune 3 UI as its project nameBramastyo Harimukti2019-08-0812-12/+12
| | | | | | Change-Id: I857ccffbeb584c05f74d35bd36e948dff9970073 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com> Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
* [middleware] rename dataprovider back to remotesettingsBramastyo Harimukti2019-05-161-1/+1
| | | | | | | | | - as discussed, it is better to keep "remotesettings" than having an intermediate name for 5.13 release Change-Id: I37fd3f21dc5faf8dbad98b38674f6ed711617069 Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com> Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [simulationbackend] refactor and split the interfacesBramastyo Harimukti2019-05-131-1/+1
| | | | | | | | | | - rename the general settings into dataprovider temporarily - split cluster interfaces to drivedata - rename the control app into companion app Task-number: AUTOSUITE-948 Change-Id: Ie363c4b1c31cc9d047e83c41ec9b11f8f4658be3 Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [tests] rename the harness pro file into app-specific harnessesBramastyo Harimukti2019-03-267-2/+2
| | | | | Change-Id: I89f4fc980f6e1e4b6d12fa02a20d50a57ae00cbb Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [harness] add vehicle app harness wrapperBramastyo Harimukti2019-03-253-0/+5
| | | | | Change-Id: I473407ffdddd0967e0414e08ebbc92f7f7912f32 Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [harness] improve the cluster harness by moving them back to testsBramastyo Harimukti2019-03-256-7/+154
| | | | | | | | - this way the app folder are not polluted by unnecessary files when it is built Change-Id: Ie91c4d00b93a45111f070aeb53ec3124c417270c Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [harness] initial harness wrapperBramastyo Harimukti2019-03-221-115/+0
| | | | | | | | | | -introduces the harness wrapper that runs qmllive and load the cluster harness workspace to support rapid UI development Change-Id: Ib139c6ab4387cf815e5552fabf210c8637c44518 Reviewed-by: Grigorii Zimin <gzimin@luxoft.com> Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
* [tests] make qml tests work againv5.12.0_QtASBramastyo Harimukti2018-12-203-8/+8
| | | | | | | Task-number: AUTOSUITE-723 Change-Id: I436ea779925f9bec1cf1c84b65701f3933e7354e Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* [appman] update appman imports in neptune 3 to 2.0Bramastyo Harimukti2018-12-182-2/+2
| | | | | Change-Id: Iafbdb80c5a306386559e12418ddd763c3e2431f2 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-1419-11/+31
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I648d3c8a37df2567c48e3d4386546290997e3369 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [qmltests] Make tests work again in CISamuli Piippo2018-11-271-2/+2
| | | | | Change-Id: Iace33d4cbe4c8ea910393e3597bbde85cead9b5a Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [style] Style.image() replaces Config.gfx() and Config.symbol()Daniel d'Andrada2018-11-225-5/+5
| | | | | | | | It's style and theme sensitive without requiring to have the theme value being passed as a parameter Change-Id: I9a4e79b03644d0939805b652872f7dd5c3d11b9f Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [style] Rename BasicStyle to StyleDaniel d'Andrada2018-11-225-14/+14
| | | | | | | Now that this name is no longer taken (the old Style was renamed to Config) Change-Id: Ic12377da76aad9873c877b97998c051f6de015af Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [vehicle] add the view harness for the vehicle applicationBramastyo Harimukti Santoso2018-11-211-0/+61
| | | | | Change-Id: I21478ff7c605d5ccde82ba3cb5e7314fe5281975 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [utils] rename Style to ConfigBramastyo Harimukti Santoso2018-11-214-4/+4
| | | | | | | | | - Style is not hosting any style related properties anymore as they are moved to the BasicStyle. It hosts some configuration properties instead. Hence, it should be called Config and not Style anymore. Change-Id: I57276c6e56f2d113328dfb5c5b0e42e75134dd05 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [style] Add BasicStyle for style-agnostic propertiesDaniel d'Andrada2018-11-204-12/+12
| | | | | | | | | | BasicStyle is always present, therefore code can depend on it and still not be tied to any specific style It replaces the NeptuneStyle attached property. Change-Id: Ifed6f28a3c392827d97b780ceab87a303beb3c65 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [calendar] add calendar view harnessBramastyo Harimukti2018-11-201-0/+78
| | | | | Change-Id: I7ba980132d59191a9b5c896629d07d8d3308c665 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [cluster] introduce cluster harness as part of the coreui principleBramastyo Harimukti Santoso2018-11-131-0/+114
| | | | | Change-Id: Icf8cedadfdee1fe7ea7412a6a26a3dbafc1d9290 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [cluster] add dialspeed and dialpower harnessesBramastyo Harimukti Santoso2018-11-132-0/+168
| | | | | Change-Id: I6fba8ef1bbeaae4916b7ea311437b1372c6a446b Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [tests] Update mocks in qml tests according to current APIsDaniel d'Andrada2018-11-093-4/+27
| | | | | Change-Id: I0c894659474692c4bc948b19ad2c112fb9252e20 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [qmltests] Update the dummy Qt Application Manager modulesDaniel d'Andrada2018-11-0510-7/+7
| | | | | Change-Id: I52bae69f1d161f299d180b5fbec56c76f0306498 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [qmltests] Make tests work againDaniel d'Andrada2018-10-293-2/+43
| | | | | Change-Id: I7e94debf02a75b21be8dd38f6c7e933b287c2938 Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [systemui] a lot of refactoring in the system uiBramastyo Harimukti Santoso2018-09-282-2/+2
| | | | | | | | | | | | | | | | | | | | | - in order to make a better and clear separation between application and system ui imports, a new application folder is created to store basic components to be used by only applications. - change the import mechanism to only use the root import folder and user will need to specify whether he wants to use the application, system or shared import - add a basic NeptuneWindowItem to be the basic class of window items in the center console - add ApplicationCCWindowItem for the center console applications and ApplicationICWindowItem for the instrument cluster applications - rename primary window and secondary window to be the ApplicationCCWindow and ApplicationICWindow to align with the window item naming in the system ui - setting window property should be done in the window item itself and not from the application info Change-Id: I62cf151fec21c9ac574873c5c226021843c6e598 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [systemui]renaming display to center consoleBramastyo Harimukti Santoso2018-09-111-1/+1
| | | | | | | | display can easily mislead someone to understand that it is actually the center console content Change-Id: I3b9f23aafd79bc10e09fb7db8d1b926717c8e1e6 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* [tests] avoid warning about missing propertyBramastyo Harimukti Santoso2018-05-291-0/+1
| | | | | Change-Id: I9c9d8d705e06b8e8ee8cb7ba70bbde4163c4ccab Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [codecleanup] Some updates to avoid type coercionBramastyo Harimukti Santoso2018-05-161-1/+1
| | | | | Change-Id: Id8d1f658a5519403514d73abe971096bc7b28836 Reviewed-by: Alexandra Betouni <ABetouni@luxoft.com>
* Fix the qmltest environment when running the autotestDominik Holland2018-04-261-0/+10
| | | | | | | | | | | | 'make check' uses a target_wrapper.bat which defines the environment. This needst to be modified to also contain the PATH to the neptune3 installation folder as we need to load the libRemoteSettings.dll from there Task-number: QTAUTO-1041 Change-Id: I926b665b7389f6d9904d6f5501b7c58dc58e9f0c Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Make tests also look for modules in the installation directoryDaniel d'Andrada2018-04-241-1/+10
| | | | | | | | | | | Qt's CI like to run the tests separately, from a clean checkout, without building the rest of project and after having built and installed the project in a previous step. Task-number: QTAUTO-1033 Change-Id: Ie515e2ff6eee3f8bef11b5ae57d1e6298f66cb17 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* Remove deprecated (and now unused) Style.*span() APIDaniel d'Andrada2018-04-202-8/+0
| | | | | | | | And the supporting cellWidth and cellHeight properties Change-Id: Ibffe923b4099b1462cfd43637dbb137903fd639e Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
* [test] License updateBramastyo Harimukti2018-04-161-18/+8
| | | | | | | | | Neptune 3 should be using GPL3 license instead. Task-number: QTAUTO-985 Change-Id: Ide39e8b541811e6951f875276e80a894b7170dc1 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com>
* [tests] Update licenses of dummy importsBramastyo Harimukti2018-04-096-108/+48
| | | | | | | | | Neptune 3 should be using GPL3 license instead. Task-number: QTAUTO-985 Change-Id: I13f88db844354a5ce2142ea2e6239f307cf0afe9 Reviewed-by: Lukáš Tinkl <ltinkl@luxoft.com> Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* Replace "Triton" occurrences with "Neptune"Bramastyo Harimukti2018-03-0611-16/+16
| | | | | | | | - replace all Triton occurrences with Neptune as project name is now changed to Neptune 3 Change-Id: Ia4b2ab7dbee849aec6da86a0223471293a9f8c95 Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
* Add missing license headersDaniel d'Andrada2018-02-282-0/+62
|
* Update tst_WidgetGridDaniel d'Andrada2018-02-282-43/+60
| | | | "make check" and "make tryWidgetGrid" now work again
* Use the touch emulation functionality in the application-managerRobert Griebl2018-02-282-19/+0
| | | | | The touch emulation code was moved to the application-manager with commit 9a67912, so we can remove the code from Neptune now.
* Add support for a rotated sysuiDaniel d'Andrada2018-02-282-0/+13
|
* Hide home page when there's a maximized application covering itDaniel d'Andrada2018-02-281-0/+1
| | | | Also fix home page startup: don't animate widget geometry at this stage
* WidgetGrid: Proper animations when widgets are added or removed etcDaniel d'Andrada2018-02-281-16/+18
| | | | | | | | | | | | | | | | | | | To make that possible a major refactoring was needed. Had to ditch Column{} and go for a full custom implementation. Tried to use ListView but it didn't work well as widget additions and removals also affected sizes and positions of other items in the list and ListView wasn't designed for that. There's also the case that when there's a single item in the list it should be centered and have a certain size, and I would have to torture ListView quite a lot to get this implemented. Now WidgetListModel is an integral part of WidgetGrid and thus was moved inside it. The model and the qml code work hand in hand. Removed all header dependencies from WidgetListModel and put it into a plugin so that WidgetGrid could still be used in qml tests and be fed with a model fully written in qml. Also removed appman dependencies in ApplicationInfo.
* Only enable the touchemulation if xcb is availableDominik Holland2018-02-281-1/+1
|
* Fix bug in WidgetDrawer where it would not return a valid rest positionDaniel d'Andrada2018-02-281-5/+29
| | | | And include a regression test
* Add some written instructions on the code review procedureDaniel d'Andrada2018-02-281-1/+1
| | | | And fix a qml test.
* Proper implementation of the "add widget" popupDaniel d'Andrada2018-02-281-1/+1
| | | | | | | Also moved all home page components into their own separate module now that the number of them is significant enough. Change-Id: I940539396c53db25a6b15700e8f4c91b01723296
* Initial support for adding and removing widgets on the home screenDaniel d'Andrada2018-02-282-7/+13
| | | | | | | | Root item in the scene has to be an ApplicationWindow so that a Popup can work properly. Nuked the old Main.qml in the process as it wasn't doing anything useful. UI and animations are not looking good but that's just the first step.
* Proper model implementation and dependency injection instead of singletonsDaniel d'Andrada2018-02-281-1/+6
| | | | | | | | | | | | - Have a proper implementation of the applications model used in triton - Also use a dependency injection approach, where components get the needed models as properties instead of importing singletons themselves. That makes testing easier (no need to come up with fake implementations of qml modules exporting fake singletons) as you can just directly assign a mock to the model property and also makes the dependencies absolutely clear in the code (you can see the models being passed down to the children that use them).
* Write the first automated qml test for HomePageDaniel d'Andrada2018-02-282-3/+162
|
* Improve widget resizingDaniel d'Andrada2018-02-281-5/+22
| | | | | | | | - Consider all widgets while dragging a handle and not just those immediately above and below it - Make it follow the users finger but still snap at the proper places both during drag and upon release