Esempio n. 1
0
        public void it_throws_exception_when_no_connection_formed()
        {
            var client = new TeamCityClient("teamcity.codebetter.com");

            string buildConfigId = "Release Build";
            var    builds        = client.SuccessfulBuildsByBuildConfigId(buildConfigId);

            //Assert: Exception
        }
        public void it_throws_exception_when_no_connection_formed()
        {
            var client = new TeamCityClient("localhost:81");

            string buildConfigId = "Local Debug Build";
            var builds = client.SuccessfulBuildsByBuildConfigId(buildConfigId);

            //Assert: Exception
        }
        public void it_throws_exception_when_host_does_not_exist()
        {
            var client = new TeamCityClient("test:81");
            client.Connect("admin", "qwerty");

            string buildConfigId = "Local Debug Build";
            var builds = client.SuccessfulBuildsByBuildConfigId(buildConfigId);

            //Assert: Exception
        }
Esempio n. 4
0
        public void it_throws_exception_when_host_does_not_exist()
        {
            var client = new TeamCityClient("test:81");

            client.Connect("admin", "qwerty");

            string buildConfigId = "Release Build";
            var    builds        = client.SuccessfulBuildsByBuildConfigId(buildConfigId);

            //Assert: Exception
        }
Esempio n. 5
0
        public void it_throws_exception_when_no_connection_formed()
        {
            var client = new TeamCityClient("teamcity.codebetter.com");

            string buildConfigId = "Release Build";
            var builds = client.SuccessfulBuildsByBuildConfigId(buildConfigId);

            //Assert: Exception
        }