summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfile
Commit message (Collapse)AuthorAgeFilesLines
* tst_QFile::copyAfterFail fixed on WindowsJoerg Bornemann2009-08-061-0/+1
| | | | | | We cannot remove a file that's still opened. Reviewed-by: ossi
* fix tests for QT_NO_PROCESS and when running tests as rootHarald Fernengel2009-07-211-8/+20
|
* tests: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-011-64/+27
| | | | | Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Merge license header changes from 4.5Volker Hilsheimer2009-06-162-4/+4
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-162-4/+4
| | | | | | | | Reviewed-by: Trust Me
* | Merge branch '4.5'Thiago Macieira2009-05-223-1/+43
|\ \ | |/ | | | | | | Conflicts: src/corelib/kernel/qsharedmemory_unix.cpp
| * Fix auto testJoão Abecasis2009-05-221-1/+8
| | | | | | | | | | | | | | | | | | When copying a resource file to the native file system the (read-only) permissions also get copied. On Windows platforms, this was preventing a test file from being deleted. Reviewed-by: Peter Hartmann Reviewed-by: Thiago
| * QFile::copy: close source file when using fallback mechanismJoão Abecasis2009-05-223-1/+36
| | | | | | | | | | | | | | Also added check in test case for rename fallback. Task-number: 165920 Reviewed-by: Thiago
* | Fixed QFile::copy/rename fail after initial failed attemptJoão Abecasis2009-04-301-0/+59
|/ | | | | | | | | | | | | These functions were checking the error state after calling close(), without first resetting the error state. Turns out close() only resets the error state if isOpen() returns false. Also, the fallback for the copy operation opens the file for reading but wasn't closing it again afterwards. Now fixed. Added autotests to cover these situations. Reviewed-by: MariusSO
* Remove obsolete code from autotests.Jason McDonald2009-04-161-31/+1
| | | | | | | | Each version of Qt has its own set of autotests, therefore preprocessor directives relating to obsolete QT_VERSION's are not necessary. Reviewed-by: Carlos Duclos
* Adding auto-tests for commits a2fcc4a5 and 8d500381João Abecasis2009-04-023-1/+52
| | | | | | | Task-number: 244500 Task-number: 244485 Reviewed-by: ossi Reviewed-by: thiago
* Long live Qt 4.5!Lars Knoll2009-03-2316-0/+2844