コード例 #1
0
        public void GetsDatabasesForAllClientNames()
        {
            var tc    = new TeamCitySharpClient(Host, UserName, Password);
            var rs    = new RestSharpHelper(Host, UserName, Password);
            var names = tc.GetAllClientNames();
            var bds   = new List <string>();

            names.ForEach(x => bds.Add(rs.GetDatabase(x)));
            Assert.IsTrue(bds.Count > 1);
        }