Esempio n. 1
0
 public BranchMock(bool isCurrentRepositoryHead, bool isRemote, string?remoteName, CommitMock tip, string canonicalName)
 {
     _isCurrentRepositoryHead = isCurrentRepositoryHead;
     _isRemote      = isRemote;
     _remoteName    = remoteName;
     _tip           = tip;
     _canonicalName = canonicalName;
     _reference     = new ReferenceMock(this);
 }
Esempio n. 2
0
 public TagMock(string name, CommitMock target)
 {
     _canonicalName = name;
     _target        = target;
     _reference     = new ReferenceMock(this);
 }