Пример #1
0
 internal void CopyActuals(UserDataCollection from)
 {
     foreach (var key in ActualOrder)
     {
         if (from._dictionary.ContainsKey(key))
         {
             _dictionary[key] = from._dictionary[key];
         }
         if (from._actuals.ContainsKey(key))
         {
             _actuals[key] = from._actuals[key];
         }
     }
 }
Пример #2
0
 public TestFailure(TestMatcherName name)
 {
     _name    = name;
     UserData = new UserDataCollection();
 }
Пример #3
0
 internal TestFailure(TestMatcherName name, object matcher)
 {
     _name    = name;
     UserData = new UserDataCollection(matcher);
 }