Exemple #1
0
 public void Incoming_RepositoryWithNoDefaultDestination_ThrowsMercurialExecutionException()
 {
     Repo2.Init();
     Assert.Throws <MercurialExecutionException>(() => Repo2.Incoming());
 }
Exemple #2
0
 public void Push_WithNullOrEmptyDestination_ThrowsMercurialExecutionException(string destination)
 {
     Assert.Throws <ArgumentNullException>(() => Repo2.Push(destination));
 }
Exemple #3
0
 public void Outgoing_UninitializedRepository_ThrowsMercurialExecutionException()
 {
     Assert.Throws <MercurialExecutionException>(() => Repo2.Outgoing());
 }
Exemple #4
0
 public override void SetUp()
 {
     base.SetUp();
     Repo1.Init();
     Repo2.Init();
 }