Пример #1
0
 public void RollbackTo(TrackableTestContainerTracker tracker)
 {
     if (PersonTracker != null)
     {
         PersonTracker.RollbackTo(tracker.PersonTracker);
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.RollbackTo(tracker.MissionsTracker);
     }
     if (TagsTracker != null)
     {
         TagsTracker.RollbackTo(tracker.TagsTracker);
     }
     if (AliasesTracker != null)
     {
         AliasesTracker.RollbackTo(tracker.AliasesTracker);
     }
 }
Пример #2
0
 public void RollbackTo(ITestContainer trackable)
 {
     if (PersonTracker != null)
     {
         PersonTracker.RollbackTo(trackable.Person);
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.RollbackTo(trackable.Missions);
     }
     if (TagsTracker != null)
     {
         TagsTracker.RollbackTo(trackable.Tags);
     }
     if (AliasesTracker != null)
     {
         AliasesTracker.RollbackTo(trackable.Aliases);
     }
 }