smb: add a unit test for smburl

Authored by sitter on Mar 3 2020, 10:31 AM.

Description

smb: add a unit test for smburl

Summary:
only tests some of the obvious scenarios I can see right now.

::cd() has been changed to only support going up one path element. it's
all we need it for and the previous code was almost certainly incorrect
by calling setUrl with input that is definitely not anywhere near a valid
url

Test Plan: builds and test passes

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: apol, kde-frameworks-devel, kfm-devel

Tags: Dolphin, Frameworks

Differential Revision: https://phabricator.kde.org/D27801

Details

Committed
sitterMar 6 2020, 4:13 PM
Reviewer
ngraham
Differential Revision
D27801: smb: add a unit test for smburl
Parents
R320:d101d916e324: smb: split module into two targets of which one is a static lib
Branches
Unknown
Tags
Unknown