コード例 #1
0
 public void RollbackTo(TrackableTestContainerTracker tracker)
 {
     if (PersonTracker != null)
     {
         PersonTracker.RollbackTo(tracker.PersonTracker);
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.RollbackTo(tracker.MissionsTracker);
     }
     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 (AliasesTracker != null)
     {
         AliasesTracker.RollbackTo(trackable.Aliases);
     }
 }
コード例 #3
0
 public void Clear()
 {
     if (PersonTracker != null)
     {
         PersonTracker.Clear();
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.Clear();
     }
     if (AliasesTracker != null)
     {
         AliasesTracker.Clear();
     }
 }
コード例 #4
0
 public void ApplyTo(TrackableTestContainerTracker tracker)
 {
     if (PersonTracker != null)
     {
         PersonTracker.ApplyTo(tracker.PersonTracker);
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.ApplyTo(tracker.MissionsTracker);
     }
     if (TagsTracker != null)
     {
         TagsTracker.ApplyTo(tracker.TagsTracker);
     }
     if (AliasesTracker != null)
     {
         AliasesTracker.ApplyTo(tracker.AliasesTracker);
     }
 }
コード例 #5
0
 public void ApplyTo(ITestContainer trackable)
 {
     if (PersonTracker != null)
     {
         PersonTracker.ApplyTo(trackable.Person);
     }
     if (MissionsTracker != null)
     {
         MissionsTracker.ApplyTo(trackable.Missions);
     }
     if (TagsTracker != null)
     {
         TagsTracker.ApplyTo(trackable.Tags);
     }
     if (AliasesTracker != null)
     {
         AliasesTracker.ApplyTo(trackable.Aliases);
     }
 }