예제 #1
0
        public void FixtureCleanup()
        {
            Settings.Instance = backupSettings;
            
            CloseBrowser();

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

            Framework.Inst.Configure4Tests();

            accountMain = Framework.Inst.MainAccount = CreateBossaMock();
            _monitor = Framework.Inst.Monitor = new MonitorWww();
        }
예제 #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!");
     }
 }
예제 #4
0
 public Account2UserCtrl(AccountBase account)
 {
     InitializeComponent();
     this.account = account;
 }