示例#1
0
        public RemoteRepository TryGetRepository(string name)
        {
            RemoteRepository rep;

            ConfiguredRemotes.TryGetValue(name, out rep);
            return(rep);
        }
 public void remote_is_added_to_the_list()
 {
     ConfiguredRemotes.ContainsKey("iron-hills").ShouldBeTrue();
 }
示例#3
0
 public void the_remote_repository_is_removed()
 {
     ConfiguredRemotes.ContainsKey("esgaroth").ShouldBeFalse();
 }
示例#4
0
 public void repository_with_old_name_removed()
 {
     ConfiguredRemotes.ContainsKey("secundus").ShouldBeFalse();
 }