public void Embargo()
        {
            var t = new TcpRpcPorted();

            Repeat(100,
                   () =>
                   NewLocalhostTcpTestbed(TcpRpcTestOptions.ClientTracer | TcpRpcTestOptions.ClientFluctStream)
                   .RunTest(Testsuite.EmbargoOnPromisedAnswer));
        }
Example #2
0
        public void Embargo()
        {
            var t = new TcpRpcPorted();

            Repeat(100, t.Embargo);

            var t2 = new TcpRpcInterop();

            Repeat(100, t2.EmbargoServer);
        }
        public void EmbargoNull()
        {
            // Some code paths are really rare during this test, therefore increased repetition count.

            var t = new TcpRpcPorted();

            Repeat(1000, t.EmbargoNull);

            var t2 = new TcpRpcInterop();

            Repeat(100, t2.EmbargoNullServer);
        }
        public void RetainAndRelease()
        {
            var t = new TcpRpcPorted();

            Repeat(100, t.RetainAndRelease);
        }
        public void Cancel()
        {
            var t = new TcpRpcPorted();

            Repeat(1000, t.Cancel);
        }