summaryrefslogtreecommitdiff
path: root/tests/MT_Reactor_Timer_Test.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-07-08 18:58:46 +0000
committerSteve Huston <shuston@riverace.com>1999-07-08 18:58:46 +0000
commitce9f0c29e7cc9aabf1e484e42a2f0f91b0d3aa73 (patch)
tree129f8586effad85fd1b01aca8408abfebacf1c9e /tests/MT_Reactor_Timer_Test.h
parenta56b9a228295ffda02fe9988cadeb44a12912290 (diff)
downloadATCD-ce9f0c29e7cc9aabf1e484e42a2f0f91b0d3aa73.tar.gz
Added member variables and verification checks to be sure that handler
timeouts, notify, and input events get done correctly.
Diffstat (limited to 'tests/MT_Reactor_Timer_Test.h')
-rw-r--r--tests/MT_Reactor_Timer_Test.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/MT_Reactor_Timer_Test.h b/tests/MT_Reactor_Timer_Test.h
index 6b70c1f1f46..d657a5533a2 100644
--- a/tests/MT_Reactor_Timer_Test.h
+++ b/tests/MT_Reactor_Timer_Test.h
@@ -93,9 +93,17 @@ public:
virtual int handle_exception (ACE_HANDLE);
// Keep track of the number of notifies.
+ int verify_results (void);
+ // Verify that the expected events did happen.
+
private:
ACE_Pipe pipe_;
// Provide something to trigger I/O.
+
+ int input_seen_;
+ int notify_seen_;
+ int timers_fired_;
+
};
#endif /* __MT_REACTOR_TIMER_TEST_H */