Esempio n. 1
0
 private void PlaceholderDataShouldMatch(IPlaceholderData expected, IPlaceholderData actual)
 {
     actual.Path.ShouldEqual(expected.Path);
     actual.IsFolder.ShouldEqual(expected.IsFolder);
     actual.IsExpandedFolder.ShouldEqual(expected.IsExpandedFolder);
     actual.IsPossibleTombstoneFolder.ShouldEqual(expected.IsPossibleTombstoneFolder);
     actual.Sha.ShouldEqual(expected.Sha);
 }
 public void AddPlaceholderData(IPlaceholderData data)
 {
     if (data.IsFolder)
     {
         if (data.IsExpandedFolder)
         {
             this.AddExpandedFolder(data.Path);
         }
         else if (data.IsPossibleTombstoneFolder)
         {
             this.AddPossibleTombstoneFolder(data.Path);
         }
         else
         {
             this.AddPartialFolder(data.Path, data.Sha);
         }
     }
     else
     {
         this.AddFile(data.Path, data.Sha);
     }
 }
Esempio n. 3
0
 public void AddPlaceholderData(IPlaceholderData data)
 {
     throw new NotImplementedException();
 }