Ejemplo n.º 1
0
        public void DomainCreate()
        {
            Domain newDomain = new Domain();

            newDomain.Name             = "domainiptest.com";
            newDomain.PlanAlias        = "Test";
            newDomain.UserName         = "******";
            newDomain.Password         = "******";
            newDomain.ActiveDomainUser = true;
            newDomain.FirstName        = "domainiptest";
            newDomain.LastName         = "domainiptes";
            newDomain.Email            = "*****@*****.**";

            PanelResult result = panel.DomainCreate(newDomain);

            //TODO:Error kodun kontrol edilmesi daha uygun olacaktır.
            Assert.AreEqual(200, result.Code);
        }
Ejemplo n.º 2
0
        private void btnDomainAdd_Click(object sender, EventArgs e)
        {
            Domain domain = (Domain)bindingSourcePanelApi.Current;

            panel.DomainCreate(domain);
        }