public void FixtureCleanup()
        {
            Settings.Instance = backupSettings;
            
            CloseBrowser();

            accountMain = null;
            accountToSync = null;
            _monitor = null;
        }
        public void FixtureSetup()
        {
            backupSettings = Settings.Clone();
			//Settings.Instance = new StealthSettings();

            Framework.Inst.Configure4Tests();

            accountMain = Framework.Inst.MainAccount = CreateBossaMock();
            _monitor = Framework.Inst.Monitor = new MonitorWww();
        }
Example #3
0
 public void AddAccountToSync(AccountBase account)
 {
     if(!AccountsList.Exists( 
         (acc) => (account.Credentials.AccountId == acc.Credentials.AccountId)))
     {
         AccountsList.Add(account);
     }
     else
     {
         //throw new Exception("Account alredy added!");
     }
 }
 public Account2UserCtrl(AccountBase account)
 {
     InitializeComponent();
     this.account = account;
 }