public void TestGetFolderPath6() { FileEx.GetFolderPaths(@"\\servername\folder1\foo") .Should().Equal(new object[] { @"\\servername\folder1\foo", @"\\servername\folder1\", @"\\servername\" }); }
public void TestGetFolderPaths4() { FileEx.GetFolderPaths(@"C:\foo\bar\stuff\") .Should().Equal(new object[] { @"C:\foo\bar\stuff\", @"C:\foo\bar\", @"C:\foo\", @"C:\" }); }
public void TestGetFolderPaths5() { FileEx.GetFolderPaths(@"\\servername").Should().Equal(new object[] { @"\\servername" }); }
public void TestGetFolderPaths1() { FileEx.GetFolderPaths(null).Should().BeEmpty(); FileEx.GetFolderPaths("").Should().BeEmpty(); }