Exemple #1
0
        public void GetProxiesTest()
        {
            var proxies = ProxyRepository.GetProxies();

            Assert.IsNotNull(proxies);
            Assert.IsTrue(proxies.Count > 0);
        }
Exemple #2
0
        public ProxySwitcherController()
        {
            mProxySwitcherViewModel.Proxies   = new ObservableCollection <Proxy>(ProxyRepository.GetProxies());
            mProxySwitcherControl.DataContext = mProxySwitcherViewModel;

            mDispatcher = mProxySwitcherControl.Dispatcher;
        }
Exemple #3
0
        public void GetProxyTest()
        {
            for (int i = 0; i < ProxyRepository.GetProxies().Count; i++)
            {
                var proxy = ProxyRepository.GetProxy();

                Assert.IsNotNull(proxy);
            }
        }