summaryrefslogtreecommitdiffstats
path: root/tests/auto/installer
Commit message (Collapse)AuthorAgeFilesLines
* Remove local filetime.Niels Weber2013-05-071-0/+3
| | | | | | | | | | | | This leads to time being wrong by a couple of hours depending on usage of local time vs UTC. This has been deemed acceptable for now. Also skip the test failing because of that difference. Needs to be re-enabled when all time functionality has been rewritten. Change-Id: I23d78371df65878d16e0e428c9fca9387e29a908 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* add installerscriptengine autotestTim Jenssen2013-05-077-1/+282
| | | | | Change-Id: I662c22ea8fc1276c78abedd037f51f4afb08271f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add 7z facade auto test and fix bug in out stream.kh12013-05-066-1/+196
| | | | | | Change-Id: Idd046e09da0ee0fe49eb305296181f969b42e393 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Rewrote extract operation test in preparation for lzma update.kh12013-05-026-1/+116
| | | | | Change-Id: I719aaeaad3c213b3767c4c6ecd40b89a35bc81ca Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Make messageboxhandler test compile with Qt5.Niels Weber2013-04-261-0/+1
| | | | | Change-Id: I23db9a24a84ddb2b53173e5962c03cb77dd84aef Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* reduce the time which it takes to run the messageboxhandler testTim Jenssen2013-04-241-2/+11
| | | | | Change-Id: I116fbc546cbc54ed5f5cb37a86a75393a7719cff Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* fix messageboxhandler with help of new autotestsTim Jenssen2013-04-233-1/+115
| | | | | | | | - fix setDefaultAction (use std::reverse directly) - fix missing Ok MessageBox value in script context Change-Id: I82fa5a06d83b6c8659c60a3e56a1d4bd91e70c14 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Merge remote-tracking branch 'origin/1.3'Tim Jenssen2013-04-111-1/+1
|\ | | | | | | Change-Id: Iabd77388834a27ace28587ded37c66b4c9a9cbd3
| * show the error string not the empty errorStringTim Jenssen2013-04-111-1/+1
| | | | | | | | | | | | | | | | Change autotest accordingly. Change-Id: Ia818cd822954f7022f965f0b504414db9fd56830 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Merge remote-tracking branch 'origin/1.3'Tim Jenssen2013-04-044-9/+25
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: installerfw.pri src/libs/installer/settings.cpp tests/auto/installer/settings/tst_settings.cpp Change-Id: Idb89f22fe940a730ed03a7d10f11e1b5fa655b49
| * Cleanup.kh12013-03-261-7/+5
| | | | | | | | | | Change-Id: I36406e3e32b04f7817ce049f9fa37910070688ce Reviewed-by: Niels Weber <niels.weber@digia.com>
| * For some reason QString include is now required to compile.kh12013-03-263-1/+4
| | | | | | | | | | Change-Id: I6717e985d1f3ba5559df3e250297373be9f9b7d5 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
| * Add strict and relaxed parsing to Settings class.kh12013-03-262-2/+17
| | | | | | | | | | | | | | | | | | | | | | * StrictParseMode -> creating binaries and repositories * RelaxedParseMode -> running the installer/updater itself Introduced parse modes to be able to use old settings (existing ones on user systems) with new binaries. Add and adjust autotest. Change-Id: I3f7c7357325661a1197400d8d8dc2a5ca8bed184 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Export private classes. We need it in some auto tests.kh12013-03-261-1/+0
| | | | | | | | | | | | Change-Id: I8014b4cfc1b3deff0b815dc8105b969d1a5d2947 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Add banner pixmap to the wizard.Niels Weber2013-03-252-0/+2
| | | | | | | | | | Change-Id: Ic786efe56f0d74740cf23fc5f9b691f88df59d35 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Remove previously deprecated Pages config.xml element.Niels Weber2013-03-212-123/+0
| | | | | | | | | | Change-Id: I909c81896186ef5191d1dac799296da26e37072f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Deprecate Icon, introduce replacements.Niels Weber2013-03-212-0/+9
| | | | | | | | | | | | | | | | | | | | InstallerApplicationIcon is used on Mac and Windows for a custom icon of the installer. InstallerWindowIcon is used to set the window icon of the installer on all platforms. Change-Id: I1f555441875b96e4d8e4ca9a808cf18b3a566c3c Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Compile (Qt5 shared).kh12013-03-201-1/+1
| | | | | | | | | | Change-Id: I4a85275c6538a2b40cc51abf243af7a9cc3557af Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Merge remote-tracking branch 'origin/1.3'Tim Jenssen2013-03-182-2/+0
|\ \ | |/ | | | | Change-Id: I36a907cf2ee075eace35dcc42317f4202c1f5569
| * Remove LogoSmall as it never did anything anyway.Niels Weber2013-03-182-2/+0
| | | | | | | | | | Change-Id: Ib3f2e2cdc44c06fe8f3c98ce3ddc7c72811eb8da Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Add component model behavior auto test and fix broken model.kh12013-03-155-0/+625
| | | | | | | | | | | | | | | | | | | | Task-number: QTIFW-84 Task-number: QTIFW-213 Change-Id: I8fc9035ba3b14c2c12a1672b74869bece68c8ee9 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Add RunProgramArgumentsAurindam Jana2013-03-042-0/+2
|/ | | | | | | | | | | The common case that the called application needs arguments wasn't implemented. Change-Id: I60b2d149399b4036c4fc30b55b0d17997993d8bd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Fix wrong check for running application.kh12013-02-283-1/+86
| | | | | | | | | | Add auto test. Reuse already existing code in package manager core. Change-Id: I4346333882e37c8edba9a2eb85a9cdd56ae5917e Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add repository class auto test and fix missing operator export.kh12013-02-273-1/+127
| | | | | Change-Id: Ie7b490fa66c20ddd59788f00a75e363d7bb80697 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* fix the tst_settings.cppTim Jenssen2013-02-211-4/+4
| | | | | | | Forgot to change the ignoreMessage string. Change-Id: Ia8dae1d92d0a21fc89e4bb56cb9deaf9d4ea4d23 Reviewed-by: Niels Weber <niels.weber@digia.com>
* no warning output if exception error is createdTim Jenssen2013-02-211-4/+4
| | | | | | | | handling that exception and showing a warning belongs to the higher level of the code. Change-Id: If529cfc5a010fa7043053ca97c33dfb554c519de Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Autotest: Fix execution on macKai Koehne2013-02-211-0/+1
| | | | | | | | | | | Fix test failing with 'Qt internal error: qt_menu.nib could not be loaded.' on Mac OS X Change-Id: Ic10ee4b0e218611e27df786372752278e5e1e599 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Mark <Pages> element as deprecated.Kai Koehne2013-02-211-0/+1
| | | | | | | Change-Id: I4c3e4d3903d65d326dd35e16ccdee0c8d2dde31b Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Hide warnings in settings autotestKai Koehne2013-02-201-0/+9
| | | | | Change-Id: I087003da9da37be2379bf07f8494612167c8dba3 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Fix auto test for WinChristian Stenger2013-02-191-0/+6
| | | | | Change-Id: I412168bd4787c141d8d4680300df8a81ef75483a Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Remove SigningCertificate from config.xmlKai Koehne2013-02-142-4/+0
| | | | | | | | The files aren't used any more. Change-Id: I5b5becea08ebd56609241ab9db16f65b6e0fbf95 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Make loading of config.xml more strictKai Koehne2013-02-136-5/+229
| | | | | | | | | Explicitly check for unknown elements & attributes when loading config.xml. Change-Id: I31e6997b2f7d504e15dd24df2f4ae4005209168f Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add auto-test for QInstaller::SettingsKai Koehne2013-02-136-0/+124
Change-Id: I693f051636a81c395b3c75701a803ea7593a1fc1 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>