Esempio n. 1
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 EmbargoServer()
        {
            var t2 = new TcpRpcInterop();

            Repeat(20, t2.EmbargoServer);
        }