コード例 #1
0
ファイル: TestServer.cs プロジェクト: zhangrl/http2-katana
        public void ServerTestThreadProc()
        {
            // Run synchronous tests
            SyncServerTests tests = new SyncServerTests(this);

            tests.BasicServerTest();
        }
コード例 #2
0
ファイル: TestServer.cs プロジェクト: zhangrl/http2-katana
        public void ClientTestThreadProc()
        {
            Thread.Sleep(500);              // Ensure that the server is ready!
            // Run synchronous tests
            SyncServerTests tests = new SyncServerTests(this);

            tests.BasicClientTest();
        }
コード例 #3
0
        public void ServerTestThreadProc()
        {
            // Run synchronous tests
            SyncServerTests tests = new SyncServerTests(this);

            tests.BasicServerTest();
            tests.IntermediateServerTest();
            tests.AdvancedServerTest();

            // Run asynchronous tests
            AsyncServerTests asyncTests = new AsyncServerTests(this);

            asyncTests.BasicAsyncServerTest();
            asyncTests.IntermediateAsyncServerTest();
            asyncTests.AdvancedAsyncServerTest();
        }
コード例 #4
0
        public void ClientTestThreadProc()
        {
            Thread.Sleep(500);              // Ensure that the server is ready!
            // Run synchronous tests
            SyncServerTests tests = new SyncServerTests(this);

            tests.BasicClientTest();
            Thread.Sleep(200);
            tests.IntermediateClientTest();
            Thread.Sleep(200);
            tests.AdvancedClientTest();

            // Run asynchronous tests
            AsyncServerTests asyncTests = new AsyncServerTests(this);

            asyncTests.BasicAsyncClientTest();
            Thread.Sleep(200);
            asyncTests.IntermediateAsyncClientTest();
            Thread.Sleep(200);
            asyncTests.AdvancedAsyncClientTest();
        }
コード例 #5
0
ファイル: TestServer.cs プロジェクト: challal/scallion
		public void ClientTestThreadProc() {
			Thread.Sleep(500);  // Ensure that the server is ready!
			// Run synchronous tests
			SyncServerTests tests = new SyncServerTests(this);
			tests.BasicClientTest();
			Thread.Sleep(200);
			tests.IntermediateClientTest();
			Thread.Sleep(200);
			tests.AdvancedClientTest();

			// Run asynchronous tests
			AsyncServerTests asyncTests = new AsyncServerTests(this);
			asyncTests.BasicAsyncClientTest();
			Thread.Sleep(200);
			asyncTests.IntermediateAsyncClientTest();
			Thread.Sleep(200);
			asyncTests.AdvancedAsyncClientTest();

		}
コード例 #6
0
ファイル: TestServer.cs プロジェクト: challal/scallion
		public void ServerTestThreadProc() {
			// Run synchronous tests
			SyncServerTests tests = new SyncServerTests(this);
			tests.BasicServerTest();
			tests.IntermediateServerTest();
			tests.AdvancedServerTest();

			// Run asynchronous tests
			AsyncServerTests asyncTests = new AsyncServerTests(this);
			asyncTests.BasicAsyncServerTest();
			asyncTests.IntermediateAsyncServerTest();
			asyncTests.AdvancedAsyncServerTest();
		}
コード例 #7
0
ファイル: TestServer.cs プロジェクト: Nangal/http2-katana
		public void ClientTestThreadProc() {
			Thread.Sleep(500);  // Ensure that the server is ready!
			// Run synchronous tests
			SyncServerTests tests = new SyncServerTests(this);
			tests.BasicClientTest();
		}
コード例 #8
0
ファイル: TestServer.cs プロジェクト: Nangal/http2-katana
		public void ServerTestThreadProc() {
			// Run synchronous tests
			SyncServerTests tests = new SyncServerTests(this);
			tests.BasicServerTest();
		}