Пример #1
0
        public LiveServerTests(LiveServerTestsFixture liveServerTestsFixture)
        {
            LiveServerTestsFixture = liveServerTestsFixture;

            TorHttpPool = new(new TorTcpConnectionFactory(Common.TorSocks5Endpoint));
            TorManager  = new(Common.TorSettings);
        }
        public LiveServerTests(LiveServerTestsFixture liveServerTestsFixture)
        {
            LiveServerTestsFixture = liveServerTestsFixture;

            var torManager = new TorProcessManager(Global.Instance.TorSocks5Endpoint, Global.Instance.TorLogsFile);

            torManager.Start(ensureRunning: true, dataDir: Path.GetFullPath(AppContext.BaseDirectory));
            Task.Delay(3000).GetAwaiter().GetResult();
        }
Пример #3
0
 public LiveServerTests(LiveServerTestsFixture liveServerTestsFixture)
 {
     LiveServerTestsFixture = liveServerTestsFixture;
 }
Пример #4
0
 public LiveServerTests(SharedFixture sharedFixture, LiveServerTestsFixture liveServerTestsFixture)
 {
     SharedFixture          = sharedFixture;
     LiveServerTestsFixture = liveServerTestsFixture;
 }