Ejemplo n.º 1
0
        public void GetProxiesTest()
        {
            var proxies = ProxyRepository.GetProxies();

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

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

                Assert.IsNotNull(proxy);
            }
        }