Summary description for SamePathConstraint.
Inheritance: PathConstraint
Exemplo n.º 1
0
 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"
     };
 }
Exemplo n.º 2
0
 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/file.tmp").RespectCase;
     expectedDescription = @"Path matching ""/folder1/file.tmp""";
     stringRepresentation = @"<samepath ""/folder1/file.tmp"" 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>";
 }
Exemplo n.º 5
0
 public void SetUp()
 {
     theConstraint        = new SamePathConstraint(@"/folder1/file.tmp").RespectCase;
     expectedDescription  = @"Path matching ""/folder1/file.tmp""";
     stringRepresentation = @"<samepath ""/folder1/file.tmp"" respectcase>";
 }
Exemplo n.º 6
0
 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>";
 }