public void SetUp() { Matcher = new SamePathConstraint(@"C:\folder1\file.tmp").IgnoreCase; Description = @"Path matching ""C:\folder1\file.tmp"""; GoodValues = new object[] { @"C:\folder1\file.tmp", @"C:\Folder1\File.TMP", @"C:\folder1\.\file.tmp", @"C:\folder1\folder2\..\file.tmp", @"C:\FOLDER1\.\folder2\..\File.TMP", @"C:/folder1/file.tmp" }; BadValues = new object[] { 123, @"C:\folder2\file.tmp", @"C:\folder1\.\folder2\..\file.temp" }; }
public void SetUp() { Matcher = new SamePathConstraint(@"/folder1/file.tmp").RespectCase; Description = @"Path matching ""/folder1/file.tmp"""; GoodValues = new object[] { @"/folder1/file.tmp", @"/folder1/./file.tmp", @"/folder1/folder2/../file.tmp", @"/folder1/./folder2/../file.tmp", @"\folder1\file.tmp" }; BadValues = new object[] { 123, @"/folder2/file.tmp", @"/folder1/./folder2/../file.temp", @"/Folder1/File.TMP", @"/FOLDER1/./folder2/../File.TMP", }; }
public void SetUp() { theConstraint = new SamePathConstraint(@"/folder1/folder2").RespectCase; expectedDescription = @"Path matching ""/folder1/folder2"""; stringRepresentation = @"<samepath ""/folder1/folder2"" respectcase>"; }
public void SetUp() { theConstraint = new SamePathConstraint(@"C:\folder1\file.tmp").IgnoreCase; expectedDescription = @"Path matching ""C:\folder1\file.tmp"""; stringRepresentation = "<samepath \"C:\\folder1\\file.tmp\" ignorecase>"; }
public void SetUp() { theConstraint = new SamePathConstraint( @"C:\folder1\file.tmp" ).IgnoreCase; expectedDescription = @"Path matching ""C:\folder1\file.tmp"""; stringRepresentation = "<samepath \"C:\\folder1\\file.tmp\" ignorecase>"; }