Lines Matching refs:count

47 						  bigtime_t interval = 0, int32 count = 0)
54 CHK(runnerCount == count);
59 status_t SetCount(int32 count)
60 @case 1 object is not properly initialized, count > 0
71 int32 count = 0;
72 BMessageRunner runner(target, &message, interval, count);
82 status_t SetCount(int32 count)
84 all its messages and thus became unusable, count > 0
95 int32 count = 1;
96 BMessageRunner runner(target, &message, interval, count);
98 check_message_runner_info(runner, B_OK, interval, count);
99 snooze(count * interval + 10000);
100 // set new count
108 status_t SetCount(int32 count)
110 to deliver, count > 0
113 GetInfo() should return B_OK and the new count.
114 The timer is NOT reset. count messages should arrive.
123 int32 count = 5;
124 BMessageRunner runner(target, &message, interval, count);
128 check_message_runner_info(runner, B_OK, interval, count);
129 snooze((count - 1) * interval + 10000);
130 CHK(looper->CheckMessages(startTime, interval, count - 1));
131 CHK(app.CountReplies() == count - 1);
132 // set new count
138 startTime += (count - 1) * interval;
140 CHK(looper->CheckMessages(count - 1, startTime, interval, newCount));
141 CHK(app.CountReplies() == count - 1 + newCount);
145 status_t SetCount(int32 count)
147 to deliver, count > 0
150 GetInfo() should return B_OK and the new count.
151 The timer is NOT reset. count messages should arrive.
160 int32 count = 5;
161 BMessageRunner runner(target, &message, interval, count);
165 check_message_runner_info(runner, B_OK, interval, count);
169 // set new count
181 status_t SetCount(int32 count)
183 number of messages to deliver, count > 0
186 GetInfo() should return B_OK and the new count.
187 The timer is NOT reset. count messages should arrive.
196 int32 count = -1;
197 BMessageRunner runner(target, &message, interval, count);
201 check_message_runner_info(runner, B_OK, interval, count);
205 // set new count
217 status_t SetCount(int32 count)
219 to deliver, count == 0
222 R5: GetInfo() should return B_OK and count 0!
234 int32 count = 5;
235 BMessageRunner runner(target, &message, interval, count);
239 check_message_runner_info(runner, B_OK, interval, count);
243 // set new count
262 status_t SetCount(int32 count)
264 to deliver, count < 0
267 GetInfo() should return B_OK and the new count.
277 int32 count = 5;
278 BMessageRunner runner(target, &message, interval, count);
282 check_message_runner_info(runner, B_OK, interval, count);
286 // set new count