コード例 #1
0
        public void RemoveTfsServer()
        {
            TeamServerManagementService service = new TeamServerManagementService();
            int code = service.DeleteTeamServer(2);

            Assert.IsTrue(code != 0);
        }
コード例 #2
0
        public void ValidLoginCheck()
        {
            TeamServerManagementService service = new TeamServerManagementService();
            bool success = service.Authenticate(Settings.tfsUrl, "jchakraborty", "jchakraborty", "ids");

            Assert.IsTrue(success);
        }
コード例 #3
0
        public void ReAddTfsServer()
        {
            TeamServerManagementService service = new TeamServerManagementService();
            int id = service.AddTeamServer("TFS OLD", Settings.tfsUrl, 8080);

            Assert.IsTrue(id != 0);
        }
コード例 #4
0
        public void ReAddTfsServer()
        {
            TeamServerManagementService service = new TeamServerManagementService();
            int id = service.AddTeamServer("TFS OLD", "http://10.4.0.198:8080/tfs/LegacyCollection", 8080);

            Assert.IsTrue(id != 0);
        }
コード例 #5
0
        public void InvalidLoginCheck()
        {
            string url = "http://10.4.0.198:8080/tfs/LegacyCollection";
            TeamServerManagementService service = new TeamServerManagementService();

            service.Authenticate(url, "jchakraborty", "jchakraborty1", "ids");
        }
コード例 #6
0
        public void InvalidDomainLoginCheck()
        {
            string url = "http://10.4.0.198:8080/tfs/LegacyCollection";
            TeamServerManagementService service = new TeamServerManagementService();

            service.Authenticate(url, "jchakraborty", "jchakraborty", "ids1");
            //Assert.ThrowsException<TFSAuthenticationException>(() => { });
        }
コード例 #7
0
        public void ValidLoginCheck()
        {
            string url = "http://10.4.0.198:8080/tfs/LegacyCollection";
            TeamServerManagementService service = new TeamServerManagementService();
            bool success = service.Authenticate(url, "jchakraborty", "jchakraborty", "ids");

            Assert.IsTrue(success);
        }
コード例 #8
0
        public void InvalidLoginCheck()
        {
            TeamServerManagementService service = new TeamServerManagementService();

            service.Authenticate(Settings.tfsUrl, "jchakraborty", "jchakraborty1", "ids");
        }