diff options
author | Wang Fei <wangfeia@uniontech.com> | 2021-10-13 09:37:43 +0800 |
---|---|---|
committer | Wang Fei <wangfeia@uniontech.com> | 2021-11-03 00:42:50 +0800 |
commit | 62c2d990f90ec999de694c5ccf7c7e14d8965052 (patch) | |
tree | b9fe68fa1a2151c2317a47e3ab099439b88463bc /tests/auto/corelib/io | |
parent | d39b5f376db85a18b163e31bd25a8c9dc4a5292c (diff) |
Rename LinkName to AbsoluteLinkTarget
The existing symLinkTarget() always resolves the symlink
target to an absolute path; It will be clearer to change
LinkName to AbsoluteLinkTarget. It is ready for the commit
about add symLinkPath() to read the raw link path.
Fixes: QTBUG-96761
Change-Id: I8da7e23b066c9ac1a16abb691aa1c4a5f1ff8361
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Wang Fei <wangfeia@uniontech.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp b/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp index f85742354e..a6dabe1f6b 100644 --- a/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp +++ b/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp @@ -265,8 +265,8 @@ public: return QLatin1String("AbsoluteName"); case AbsolutePathName: return QLatin1String("AbsolutePathName"); - case LinkName: - return QLatin1String("LinkName"); + case AbsoluteLinkTarget: + return QLatin1String("AbsoluteLinkTarget"); case CanonicalName: return QLatin1String("CanonicalName"); case CanonicalPathName: |