summaryrefslogtreecommitdiffstats
path: root/tests
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>
* Fix broken jenkins builds after 678d12092.kh12013-05-021-1/+0
| | | | | Change-Id: Idf9e51a3186cb014b3647d0b20161a295da3f897 Reviewed-by: Niels Weber <niels.weber@digia.com>
* Rewrote extract operation test in preparation for lzma update.kh12013-05-0211-398/+65
| | | | | 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>
* Call qmake with -r.Niels Weber2013-04-251-1/+1
| | | | | Change-Id: Ia116d7f318cdb1a76eadc9ae4e41b578de815f21 Reviewed-by: Tim Jenssen <tim.jenssen@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>
* forward make "check" target to autotestsTim Jenssen2013-04-241-1/+6
| | | | | | | | | - now we can use "make check" in the root directory to run a build + run all autotests instead of going down to the autotest directory Change-Id: Ie0ca4ab45cfc7e8a0c204dd1d9d0d800210127eb 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>
* | use humanReadableSize method from ifw libTim Jenssen2013-03-211-21/+4
| | | | | | | | | | Change-Id: I9c084e3dd57848852810dfbcce8245bf66646867 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>
* remove testvm-configs directoryTim Jenssen2013-02-224-23/+0
| | | | | | | These were old unused configs of some testvms. Change-Id: I36649a5ac52aff507999568d84f7829e5e391f68 Reviewed-by: Niels Weber <niels.weber@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>
* Fix compilation of tests on LinuxChristian Stenger2013-02-183-3/+0
| | | | | Change-Id: I97378bf02b077fd239effcaf155be41df61d6750 Reviewed-by: Niels Weber <niels.weber@digia.com>
* Fix compilation of tests on LinuxKai Koehne2013-02-182-2/+0
| | | | | | Change-Id: If2277cb9dcacb1921eb7c01d14593dd5709feee6 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Niels Weber <niels.weber@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-139-0/+147
| | | | | | Change-Id: I693f051636a81c395b3c75701a803ea7593a1fc1 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix create-test-installer.shKai Koehne2013-01-281-1/+1
| | | | | Change-Id: I1c822e34d13cf358937572dfea989d54d1f34113 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-2133-152/+1275
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Follow advice given by Joerg, DEPENDPATH is now deprecated.kh12012-11-206-6/+0
| | | | | Change-Id: I8e08618bcc88cc445c317c79d93cdf9f1f2ca5e8 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* adjust the existing create-test-installer.bat to new syntax of the ifwTim Jenssen2012-06-111-41/+58
| | | | | | | Change-Id: Idedcdb57ef169114ef2974a4a748a86ad88b9739 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Build tools, examples and test as extra target.kh12012-03-231-1/+21
| | | | | | Change-Id: Iae8949b3f938f5c6251a76b4806151e0262300d2 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-197-44/+257
| | | | | Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix formating and build with QT_NO_CAST_FROM_ASCII.kh12012-03-163-19/+22
| | | | | | Change-Id: I00e4b1ec840d976dbfc7f0138726692a770aadba Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Keep common just for the tools.kh12012-03-134-6/+6
| | | | | | | All other files should be in the lib anyway. Fix includes. Change-Id: I654fadf0a77b8d19953a6b47820e6398af11e2df Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* clean up pro filestjenssen2012-03-132-4/+0
| | | | | Change-Id: I46dd8eff3a744099e0827573e6aee253ce149baf Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Move everything releated to testing into tests.kh12012-03-1318-0/+1049
| | | | | Change-Id: I28fc488b3de03a8561888969336f2ebc62a97bb0 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>