@@ -96,8 +96,7 @@ public async Task ShouldDetectFileChanges()
96
96
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
97
97
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
98
98
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
99
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
100
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
99
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
101
100
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
102
101
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
103
102
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -155,8 +154,7 @@ public async Task ShouldAddAndCommitFiles()
155
154
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
156
155
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
157
156
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
158
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
159
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
157
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
160
158
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
161
159
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
162
160
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -181,8 +179,7 @@ await RepositoryManager
181
179
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
182
180
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
183
181
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
184
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
185
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
182
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
186
183
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
187
184
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
188
185
repositoryManagerListener . Received ( ) . OnLocalBranchUpdated ( expectedLocalBranch ) ;
@@ -232,8 +229,7 @@ public async Task ShouldAddAndCommitAllFiles()
232
229
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
233
230
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
234
231
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
235
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
236
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
232
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
237
233
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
238
234
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
239
235
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -258,8 +254,7 @@ await RepositoryManager
258
254
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
259
255
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
260
256
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
261
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
262
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
257
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
263
258
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
264
259
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
265
260
repositoryManagerListener . Received ( ) . OnLocalBranchUpdated ( expectedLocalBranch ) ;
@@ -299,8 +294,7 @@ public async Task ShouldDetectBranchChange()
299
294
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
300
295
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
301
296
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
302
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
303
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
297
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
304
298
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
305
299
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
306
300
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -355,8 +349,7 @@ public async Task ShouldDetectBranchDelete()
355
349
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
356
350
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
357
351
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
358
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
359
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
352
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
360
353
repositoryManagerListener . Received ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
361
354
repositoryManagerListener . Received ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
362
355
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -409,8 +402,7 @@ public async Task ShouldDetectBranchCreate()
409
402
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
410
403
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
411
404
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
412
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
413
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
405
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
414
406
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
415
407
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
416
408
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -459,8 +451,7 @@ public async Task ShouldDetectBranchCreate()
459
451
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
460
452
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
461
453
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
462
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
463
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
454
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
464
455
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
465
456
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
466
457
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -551,8 +542,7 @@ public async Task ShouldDetectChangesToRemotes()
551
542
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
552
543
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
553
544
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
554
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
555
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
545
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
556
546
repositoryManagerListener . Received ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
557
547
repositoryManagerListener . Received ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
558
548
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -586,8 +576,7 @@ public async Task ShouldDetectChangesToRemotes()
586
576
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
587
577
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
588
578
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
589
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
590
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
579
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
591
580
repositoryManagerListener . Received ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
592
581
repositoryManagerListener . Received ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
593
582
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -677,8 +666,7 @@ await RepositoryManager.CreateBranch("branch2", "another/master")
677
666
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
678
667
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
679
668
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
680
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
681
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
669
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
682
670
repositoryManagerListener . Received ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
683
671
repositoryManagerListener . Received ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
684
672
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -736,8 +724,7 @@ await RepositoryManager.SwitchBranch("branch2")
736
724
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
737
725
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
738
726
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
739
- repositoryManagerListener . Received ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
740
- repositoryManagerListener . Received ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
727
+ repositoryManagerListener . Received ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
741
728
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
742
729
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
743
730
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -808,8 +795,7 @@ public async Task ShouldDetectGitPull()
808
795
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
809
796
repositoryManagerListener . Received ( ) . OnStatusUpdated ( Args . GitStatus ) ;
810
797
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
811
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
812
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
798
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
813
799
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
814
800
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
815
801
repositoryManagerListener . Received ( ) . OnLocalBranchUpdated ( Args . String ) ;
@@ -897,8 +883,7 @@ public async Task ShouldDetectGitFetch()
897
883
repositoryManagerListener . Received ( ) . OnIsBusyChanged ( Args . Bool ) ;
898
884
repositoryManagerListener . DidNotReceive ( ) . OnStatusUpdated ( Args . GitStatus ) ;
899
885
repositoryManagerListener . DidNotReceive ( ) . OnLocksUpdated ( Args . EnumerableGitLock ) ;
900
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchUpdated ( Arg . Any < ConfigBranch ? > ( ) ) ;
901
- repositoryManagerListener . DidNotReceive ( ) . OnCurrentRemoteUpdated ( Arg . Any < ConfigRemote ? > ( ) ) ;
886
+ repositoryManagerListener . DidNotReceive ( ) . OnCurrentBranchAndRemoteUpdated ( Arg . Any < ConfigBranch ? > ( ) , Arg . Any < ConfigRemote ? > ( ) ) ;
902
887
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchListUpdated ( Arg . Any < Dictionary < string , ConfigBranch > > ( ) ) ;
903
888
repositoryManagerListener . DidNotReceive ( ) . OnRemoteBranchListUpdated ( Arg . Any < Dictionary < string , ConfigRemote > > ( ) , Arg . Any < Dictionary < string , Dictionary < string , ConfigBranch > > > ( ) ) ;
904
889
repositoryManagerListener . DidNotReceive ( ) . OnLocalBranchUpdated ( Args . String ) ;
0 commit comments