summaryrefslogtreecommitdiffstats
path: root/tests/shared/filesystem.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily disable tests that use createNtfsJunction()"Zeno Albisser2010-05-041-3/+0
| | | | This reverts commit 498786a2ab27680b27f8e57b422ff8f32f0c3790.
* Temporarily disable tests that use createNtfsJunction()Zeno Albisser2010-04-291-0/+3
| | | | | | | | This function uses to/fromWCharArray() which uses wchar_t pointer in its signature. This currently makes the CI system complain about unresolved symbols when using vs2005. Reviewed-by: TrustMe
* Fix for missing wchar_t pointer casts in filesystem.hZeno Albisser2010-04-261-4/+8
| | | | | | | | | | | | Further a dummy row has been added to ntfsJunctionPointsAndSymlinks_data to make sure the test will not fail in case the _data function gets skipped. This was cause by previous commit 242845a50410e7b97206f6374408a2e53b5c29fb Reviewed-by: Joao
* Added support for symlinks and junction points on WindowsZeno Albisser2010-04-231-0/+58
| | | | | | | | | | | | | | | | | Since ntfs symlinks (not .lnk files) can use relative paths to targets, support for relative links needed to be added. Directory junctions can also be used to mount another filesystem directly into an existing folder. Such junctions in that case use the volume id of the target volume for the link path. Therefor this commit also includes an implementation for resolving volume ids. To be independent of existing directories in test code i added a function to create own junction points. Reviewed-by: Joao Task-number: QTBUG-9009, QTBUG-7036
* QDir fix issues with (shared) cached listsJoão Abecasis2010-02-031-0/+97
With 2964718224c0ed356511335742368d4fc421c6bd, QDir started really using the cached file lists. However, these were not being properly updated on setNameFilters, setFilter and setSorting. QDir::refresh, on the other hand, would invalidate the lists without first detaching, thus breaking the copy-on-write promise. Summarizing, shared data must be detached and cached lists invalidated, so they get regenerated. Reviewed-by: Olivier Goffart Reviewed-by: Ritt Konstantin