예제 #1
0
        /// <exception cref="System.Exception"></exception>
        private void AssertReadClose(Socket4Adapter socketToBeClosed, ICodeBlock codeBlock
                                     )
        {
            var thread = new CatchAllThread
                             (codeBlock);

            thread.EnsureStarted();
            socketToBeClosed.Close();
            thread.Join();
            Assert.IsInstanceOf(typeof(Db4oIOException), thread.Caught());
        }
 public _IRunnable_126(CatchAllThread _enclosing)
 {
     this._enclosing = _enclosing;
 }
예제 #3
0
 /// <exception cref="System.Exception"></exception>
 private void AssertReadClose(Socket4Adapter socketToBeClosed, ICodeBlock codeBlock
     )
 {
     var thread = new CatchAllThread
         (codeBlock);
     thread.EnsureStarted();
     socketToBeClosed.Close();
     thread.Join();
     Assert.IsInstanceOf(typeof (Db4oIOException), thread.Caught());
 }
예제 #4
0
 public _IRunnable_126(CatchAllThread _enclosing)
 {
     this._enclosing = _enclosing;
 }