//-------- public NetworkStreamTimeoutTests(StreamOpTest testType) { if (testType == StreamOpTest.Write) { _theStreamOperation = TheWriteOperationUnderTest; _theBeginVersionOfTheStreamOperation = TheBeginVersionOfTheWriteOperation; _theReleaseOperation = ReleaseWriteOperation; _setTimeoutPi = typeof(Stream).GetProperty("WriteTimeout"); } else { _theStreamOperation = TheReadOperationUnderTest; _theBeginVersionOfTheStreamOperation = TheBeginVersionOfTheReadOperation; _theReleaseOperation = ReleaseReadOperation; _setTimeoutPi = typeof(Stream).GetProperty("ReadTimeout"); } }
public SocketsTimeoutTests(StreamOpTest testType) : base(testType) { }
public WidcommCommsTimeoutTests(StreamOpTest testType) : base(testType) { }