Skip to content

Commit

Permalink
HandleDelay integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsm committed May 10, 2022
1 parent 0f04899 commit 7fab49e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public void GetAndSetPropertiesTest()
//HandleDelay
Assert.IsFalse(mdf.HandleDelay);
mdf.HandleDelay = true;
//Assert.IsTrue(mdf.HandleDelay);

//Delay
_ = mdf.Delay;
Expand All @@ -57,6 +56,10 @@ public void GetAndSetPropertiesTest()
Assert.AreEqual(-1, mdf.FileDescriptor);
Assert.IsTrue(mdf.Connect(GetTestRunParameter("host")));
Assert.AreNotEqual(-1, mdf.FileDescriptor);

using Message message = new Message();
LogOn(mdf, message);
Assert.IsTrue(mdf.HandleDelay);
mdf.Disconnect();

//ErrorCode
Expand Down

0 comments on commit 7fab49e

Please sign in to comment.