Example #1
0
 public void build_exact_match()
 {
     FileMatcher.Build("web.config=AppDomain")
     .ShouldEqual(new ExactFileMatch(FileChangeCategory.AppDomain, "web.config"));
 }
Example #2
0
 public void build_extension_match()
 {
     FileMatcher.Build("*.spark=Content")
     .ShouldEqual(new ExtensionMatch(FileChangeCategory.Content, "*.spark"));
 }
Example #3
0
 public void build_ends_with_match()
 {
     FileMatcher.Build("*.asset.config=Application")
     .ShouldEqual(new EndsWithPatternMatch(FileChangeCategory.Application, "*.asset.config"));
 }