summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfilesystementry
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2011.Rohan McGovern2011-03-111-1/+1
| | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* Flagging some more tests as parallelizableJoão Abecasis2010-11-251-0/+1
| | | | | | | These tests have no GUI nor do they depend on network, so let's see what breaks if they're parallelized :-) Reviewed-by: Olivier Goffart
* Differntiate different types of absolute paths on windows.Prasanth Ullattil2010-09-171-8/+39
| | | | | | | | | | | | | | | | | | | | | | QFileSystemEntry now differentiates between various types of absolute paths on Windows and Symbian. The new behavior is shown the table below. Anybody who uses this class should NOT treat that !isRelative() == isAbsolute(). The differentiation is puerly for internal use by the windows and symbian implementations of QFileSystemEngine. |============================================| |Filename isRelative isAbsolute | |============================================| | Somefile.txt 1 0 | | Some/file.txt 1 0 | | a:Somefile.txt 0 0 | | /Somefile.txt 0 0 | | a:/somefile.txt 0 1 | | //abc/somefile.txt 0 1 | |============================================| Reviewed-by: Joao Reviewed-by: Shane Kearns
* Fix tst_QFileSystemEntry::getSetCheck() on windows.Prasanth Ullattil2010-09-151-3/+3
| | | | | | Updated the name of the data field. Reviewed-by: Joao
* Make compile on symbian / armccThomas Zander2010-09-091-1/+1
|
* Various fixes in suffix and other entry methods.Thomas Zander2010-09-091-0/+132
| | | | | | | Added lots of unit tests (inspired from qfileinfo) and found plenty of bugs that I fixed. Reviewed-by: João Abecasis
* Add baseName and completeBaseName gettersThomas Zander2010-09-091-12/+28
| | | | | | | | Using the definition of the concepts from QFileInfo, allow us to use the already calculated indexes to fetch the baseName and the completeBaseName on a QFileSystemEntry. Reviewed-by: João Abecasis
* Updated comment in tst_QFileSystemEntry autotestPrasanth Ullattil2010-09-011-2/+2
|
* Fix tst_QFileSystemEntry auto tests on windowsPrasanth Ullattil2010-09-011-29/+83
| | | | | | | | | While resolving the native path, Windows implementation saves it as long absolute path. The tests are updated for this. This patch also splits the windows & unix code paths. Reviewed-by: Joao
* Breaking changes to QFileSystemEntry's constructorsPrasanth Ullattil2010-09-011-1/+1
| | | | | | | | | | | | | | | Since we are using a QString for the native file path on windows, the constructors we had on other platforms didn't make sense: we can't have two constructors taking a single QString parameter, and it would be error prone to have the two argument constructor (taking two QString parameters, on Windows) change the meaning of the first argument. This patch introduces a typedef for the NativePath type being used; the constructor taking the native path now requires a dummy parameter that makes the intent expliciti; and the order of the arguments on the constructor taking both native and Qt paths had the order switched. Done-with: João Abecasis
* Fix QFileSystemEntry autotests for WindowsPrasanth Ullattil2010-08-251-3/+3
| | | | Reviewed-by: Thomas Zander
* Add unit test for qfilesystementryThomas Zander2010-08-252-0/+161
Reviewed-by: Joao