Example #1
0
        public void TryGetServerAndShareNameFromLocation(string test, string serverNameExpected, string shareNameExpected, bool parseResultExpected)
        {
            string serverName, shareName;

            QuickIOPath.TryParseShare(test, QuickIOPathType.Regular, out serverName, out shareName).Should().Be(parseResultExpected);
            serverName.Should().Be(serverNameExpected);
            shareName.Should().Be(shareNameExpected);
        }