예제 #1
0
 public void SetUp()
 {
     server        = TestContext.CreateServer();
     peter_domain  = server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
     peter_address = TestContext.CreateRandomMailAddress(peter_domain);
     peter_account = TestContext.GetMailAccount(peter_address.LocalPart, _peterDomainName);
 }
예제 #2
0
 public void Init()
 {
     server               = TestContext.CreateServer();
     peter_domain         = server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
     peter_address        = TestContext.CreateRandomMailAddress(peter_domain);
     peter_second_address = TestContext.CreateRandomMailAddress(peter_domain);
     peter_alias          = TestContext.CreateRandomMailAddress(peter_domain);
     peter_account        = TestContext.GetMailAccount(peter_address.LocalPart, _peterDomainName);
     peter_second_account = TestContext.GetMailAccount(peter_second_address.LocalPart, _peterDomainName);
     peter_mailbox        = server.CreateMailbox(peter_address.LocalPart, PETER_PASSWORD, peter_domain, peter_account, TestContext.ServerFactory);
     peter_second_mailbox = server.CreateMailbox(peter_second_address.LocalPart, PETER_PASSWORD, peter_domain, peter_second_account, TestContext.ServerFactory);
 }
예제 #3
0
 public void Init()
 {
     server               = TestContext.CreateServer();
     peter_domain         = server.CreateWebDomain(_peterDomainName, _isVerified, TestContext.ServerFactory);
     peter_address        = TestContext.CreateRandomMailAddress(peter_domain);
     peter_second_address = TestContext.CreateRandomMailAddress(peter_domain);
     peter_alias          = TestContext.CreateRandomMailAddress(peter_domain);
     peter_account        = TestContext.GetMailAccount(peter_address.LocalPart, _peterDomainName);
     peter_second_account = TestContext.GetMailAccount(peter_second_address.LocalPart, _peterDomainName);
     peter_mailbox        = server.CreateMailbox(peter_address.LocalPart, PeterPassword, peter_domain, peter_account, TestContext.ServerFactory);
     peter_second_mailbox = server.CreateMailbox(peter_second_address.LocalPart, PeterPassword, peter_domain, peter_second_account, TestContext.ServerFactory);
 }
예제 #4
0
        public void Init()
        {
            server                   = TestContext.CreateServer();
            peter_domain             = server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
            peter_mail_group_address = TestContext.CreateRandomMailAddress(peter_domain);
            var peterMailboxAddress = TestContext.CreateRandomMailAddress(peter_domain);
            var peterAccount        = TestContext.GetMailAccount(peterMailboxAddress.LocalPart, _peterDomainName);

            peter_mailbox = server.CreateMailbox(peterAccount.TeamlabAccount.Name, peterMailboxAddress.LocalPart,
                                                 PETER_PASSWORD, peterMailboxAddress.Domain, peterAccount, TestContext.ServerFactory);
            peter_mail_group = server.CreateMailGroup(peter_mail_group_address.LocalPart, peter_mail_group_address.Domain, new List <int> {
                peter_mailbox.Address.Id
            }, TestContext.ServerFactory);
        }
        public void Init()
        {
            server                   = TestContext.CreateServer();
            peter_domain             = server.CreateWebDomain(_peterDomainName, _isVerified, TestContext.ServerFactory);
            peter_mail_group_address = TestContext.CreateRandomMailAddress(peter_domain);
            var peter_mailbox_address = TestContext.CreateRandomMailAddress(peter_domain);
            var peter_account         = TestContext.GetMailAccount(peter_mailbox_address.LocalPart, _peterDomainName);

            peter_mailbox = server.CreateMailbox(peter_mailbox_address.LocalPart, PeterPassword, peter_mailbox_address.Domain, peter_account,
                                                 TestContext.ServerFactory);
            peter_mail_group = server.CreateMailGroup(peter_mail_group_address.LocalPart, peter_mail_group_address.Domain, new List <int> {
                peter_mailbox.Address.Id
            }, TestContext.ServerFactory);
        }
 public void CompareMailboxesWithDifferentDomainsWorks()
 {
     _paulsDomain = _server.CreateWebDomain(_paulsDomainName, IS_VERIFIED, TestContext.ServerFactory);
     _paulAddress = TestContext.CreateRandomMailAddress(_paulsDomain);
     Assert.IsFalse(_peterAddress.Equals(_paulAddress));
 }
 public void Init()
 {
     _server       = TestContext.CreateServer();
     _petersDomain = _server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
     _peterAddress = TestContext.CreateRandomMailAddress(_petersDomain);
 }
예제 #8
0
 public virtual void CreateDuplicateDomain()
 {
     server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
 }
예제 #9
0
 public void Init()
 {
     server       = TestContext.CreateServer();
     peter_domain = server.CreateWebDomain(_peterDomainName, IS_VERIFIED, TestContext.ServerFactory);
 }
 public virtual void CreateDuplicateDomain()
 {
     server.CreateWebDomain(_peterDomainName, _isVerified, TestContext.ServerFactory);
 }
 public void Init()
 {
     server       = TestContext.CreateServer();
     peter_domain = server.CreateWebDomain(_peterDomainName, _isVerified, TestContext.ServerFactory);
 }