public void matches()
        {
            var match = new ExactFileMatch(FileChangeCategory.AppDomain, "web.config");

            match.Matches("web.config").ShouldBeTrue();
            match.Matches("Web.config").ShouldBeTrue();
            match.Matches("foo.config").ShouldBeFalse();
            match.Matches("bar.config").ShouldBeFalse();
        }
Beispiel #2
0
 protected bool Equals(ExactFileMatch other)
 {
     return(_category == other._category && string.Equals(_file, other._file));
 }
Beispiel #3
0
 protected bool Equals(ExactFileMatch other)
 {
     return _category == other._category && string.Equals(_file, other._file);
 }