1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
|
15|499 3.3-lite 29|TCM Start
520|499 0 00009602 1 1|REPORT: Parameter XT_DISPLAYHOST had an empty value
400|499 1 1 18:52:49|IC Start
200|499 1 18:52:49|TP Start
520|499 1 00009602 1 1|VSW5TESTSUITE PURPOSE 1
520|499 1 00009602 1 2|Assertion XAllowEvents-1.(A)
520|499 1 00009602 1 3|When the specified time is earlier than the last-grab time
520|499 1 00009602 1 4|of the most recent active grab for the client or later than
520|499 1 00009602 1 5|the current X server time, then a call to XAllowEvents has
520|499 1 00009602 1 6|no effect.
520|499 1 00009602 1 7|METH: Grab and freeze pointer with a given time.
520|499 1 00009602 1 8|METH: Call XAllowEvents with earlier time and AsyncPointer.
520|499 1 00009602 1 9|METH: Verify that the pointer is still frozen.
520|499 1 00009602 1 10|METH: Get current server time.
520|499 1 00009602 1 11|METH: Call XAllowEvents with a later time.
520|499 1 00009602 1 12|METH: Verify that the pointer is still frozen.
220|499 1 0 18:52:53|PASS
410|499 1 1 18:52:53|IC End
400|499 2 1 18:52:53|IC Start
200|499 2 18:52:53|TP Start
520|499 2 00009602 1 1|VSW5TESTSUITE PURPOSE 2
520|499 2 00009602 1 2|Assertion XAllowEvents-2.(A)
520|499 2 00009602 1 3|When the event_mode argument is AsyncPointer and the
520|499 2 00009602 1 4|pointer is frozen by the client, then pointer event
520|499 2 00009602 1 5|processing is resumed.
520|499 2 00009602 1 6|METH: Freeze pointer.
520|499 2 00009602 1 7|METH: Call XAllowEvents with event_mode AsyncPointer.
520|499 2 00009602 1 8|METH: Verify that pointer is not frozen.
220|499 2 0 18:52:53|PASS
410|499 2 1 18:52:53|IC End
400|499 3 1 18:52:53|IC Start
200|499 3 18:52:53|TP Start
520|499 3 00009602 1 1|VSW5TESTSUITE PURPOSE 3
520|499 3 00009602 1 2|Assertion XAllowEvents-3.(A)
520|499 3 00009602 1 3|When the event_mode argument is AsyncPointer and the
520|499 3 00009602 1 4|pointer is frozen twice by the client on behalf of two
520|499 3 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 3 00009602 1 6|grabs.
520|499 3 00009602 1 7|METH: Freeze pointer with XGrabPointer.
520|499 3 00009602 1 8|METH: Freeze pointer with XGrabKeyboard.
520|499 3 00009602 1 9|METH: Call XAllowEvents with event_mode AsyncPointer.
520|499 3 00009602 1 10|METH: Verify that pointer is not frozen.
220|499 3 0 18:52:53|PASS
410|499 3 1 18:52:53|IC End
400|499 4 1 18:52:53|IC Start
200|499 4 18:52:53|TP Start
520|499 4 00009602 1 1|VSW5TESTSUITE PURPOSE 4
520|499 4 00009602 1 2|Assertion XAllowEvents-4.(A)
520|499 4 00009602 1 3|When the event_mode argument is AsyncPointer and the
520|499 4 00009602 1 4|pointer is not frozen by the client, then a call to
520|499 4 00009602 1 5|XAllowEvents has no effect.
520|499 4 00009602 1 6|METH: Call XAllowEvents with event_mode AsyncPointer.
520|499 4 00009602 1 7|METH: Verify pointer is not frozen.
220|499 4 0 18:52:53|PASS
410|499 4 1 18:52:53|IC End
400|499 5 1 18:52:53|IC Start
200|499 5 18:52:53|TP Start
520|499 5 00009602 1 1|VSW5TESTSUITE PURPOSE 5
520|499 5 00009602 1 2|Assertion XAllowEvents-5.(B)
520|499 5 00009602 1 3|When the event_mode argument is SyncPointer and the pointer
520|499 5 00009602 1 4|is frozen and actively grabbed by the client, then pointer
520|499 5 00009602 1 5|event processing is resumed normally until the next
520|499 5 00009602 1 6|ButtonPress or ButtonRelease event is reported to the
520|499 5 00009602 1 7|client, at which time the pointer again appears to freeze,
520|499 5 00009602 1 8|unless the reported event causes the pointer grab to be
520|499 5 00009602 1 9|released.
520|499 5 00009602 1 10|Reason for omission: There is no known reliable test method for this assertion
520|499 5 00009602 1 11|METH: Grab and freeze the pointer.
520|499 5 00009602 1 12|METH: Call XAllowEvents with event_mode SyncPointer.
520|499 5 00009602 1 13|METH: Verify that pointer is not frozen.
520|499 5 00009602 1 14|METH: If test extension available:
520|499 5 00009602 1 15|METH: Press a button.
520|499 5 00009602 1 16|METH: Verify that the pointer is frozen.
520|499 5 00009602 1 17|REPORT: Pointer was not re-frozen by a button press
220|499 5 1 18:52:53|FAIL
410|499 5 1 18:52:53|IC End
400|499 6 1 18:52:53|IC Start
200|499 6 18:52:53|TP Start
520|499 6 00009602 1 1|VSW5TESTSUITE PURPOSE 6
520|499 6 00009602 1 2|Assertion XAllowEvents-6.(A)
520|499 6 00009602 1 3|When the event_mode argument is SyncPointer and the pointer
520|499 6 00009602 1 4|is not frozen by the client or the pointer is not grabbed by
520|499 6 00009602 1 5|the client, then a call to XAllowEvents has no effect.
520|499 6 00009602 1 6|METH: Call XAllowEvents with event_mode SyncPointer.
520|499 6 00009602 1 7|METH: Verify pointer is not frozen.
220|499 6 0 18:52:53|PASS
410|499 6 1 18:52:53|IC End
400|499 7 1 18:52:53|IC Start
200|499 7 18:52:53|TP Start
520|499 7 00009602 1 1|VSW5TESTSUITE PURPOSE 7
520|499 7 00009602 1 2|Assertion XAllowEvents-7.(A)
520|499 7 00009602 1 3|When the event_mode argument is SyncPointer and the pointer
520|499 7 00009602 1 4|is frozen twice by the client on behalf of two separate
520|499 7 00009602 1 5|grabs, then a call to XAllowEvents thaws for both grabs.
520|499 7 00009602 1 6|METH: Freeze pointer with XGrabPointer.
520|499 7 00009602 1 7|METH: Freeze pointer with XGrabKeyboard.
520|499 7 00009602 1 8|METH: Call XAllowEvents with event_mode SyncPointer.
520|499 7 00009602 1 9|METH: Verify that pointer is not frozen.
220|499 7 0 18:52:53|PASS
410|499 7 1 18:52:53|IC End
400|499 8 1 18:52:53|IC Start
200|499 8 18:52:53|TP Start
520|499 8 00009602 1 1|VSW5TESTSUITE PURPOSE 8
520|499 8 00009602 1 2|Assertion XAllowEvents-8.(B)
520|499 8 00009602 1 3|When the event_mode argument is ReplayPointer and the
520|499 8 00009602 1 4|pointer is actively grabbed by the client and is frozen as
520|499 8 00009602 1 5|the result of an event having been sent to the client, then
520|499 8 00009602 1 6|the pointer grab is released and the event is completely
520|499 8 00009602 1 7|reprocessed as though any passive grabs at or above the grab
520|499 8 00009602 1 8|window of the grab just released were not present.
520|499 8 00009602 1 9|Reason for omission: There is no known reliable test method for this assertion
520|499 8 00009602 1 10|METH: Touch test for replay pointer.
520|499 8 00009602 1 11|METH: If extensions are available:
520|499 8 00009602 1 12|METH: Create window.
520|499 8 00009602 1 13|METH: Create child of this window.
520|499 8 00009602 1 14|METH: Set passive grabs on both these windows.
520|499 8 00009602 1 15|METH: Warp pointer into child window.
520|499 8 00009602 1 16|METH: Press button to activate the grab.
520|499 8 00009602 1 17|METH: Check that parent window has the grab.
520|499 8 00009602 1 18|METH: Set event_mode to ReplayPointer.
520|499 8 00009602 1 19|METH: Call XAllowEvents.
520|499 8 00009602 1 20|METH: Verify that the child window now has the grab.
520|499 8 00009602 1 21|REPORT: Did not get a button event when trying to activate grab
220|499 8 2 18:52:53|UNRESOLVED
410|499 8 1 18:52:53|IC End
400|499 9 1 18:52:53|IC Start
200|499 9 18:52:53|TP Start
520|499 9 00009602 1 1|VSW5TESTSUITE PURPOSE 9
520|499 9 00009602 1 2|Assertion XAllowEvents-9.(A)
520|499 9 00009602 1 3|When the event_mode argument is ReplayPointer and the
520|499 9 00009602 1 4|pointer is not frozen as a result of an event or the pointer
520|499 9 00009602 1 5|is not grabbed by the client, then a call to XAllowEvents
520|499 9 00009602 1 6|has no effect.
520|499 9 00009602 1 7|METH: Call XAllowEvents with event_mode ReplayPointer.
520|499 9 00009602 1 8|METH: Verify pointer is not frozen.
220|499 9 0 18:52:53|PASS
410|499 9 1 18:52:53|IC End
400|499 10 1 18:52:53|IC Start
200|499 10 18:52:53|TP Start
520|499 10 00009602 1 1|VSW5TESTSUITE PURPOSE 10
520|499 10 00009602 1 2|Assertion XAllowEvents-10.(B)
520|499 10 00009602 1 3|When the event_mode argument is ReplayPointer and the
520|499 10 00009602 1 4|pointer is frozen twice by the client on behalf of two
520|499 10 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 10 00009602 1 6|grabs.
520|499 10 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 10 00009602 1 8|METH: If extensions are available:
520|499 10 00009602 1 9|METH: Freeze pointer with XGrabKeyboard.
520|499 10 00009602 1 10|METH: Set up passive grab.
520|499 10 00009602 1 11|METH: Freeze pointer by activating grab with a button press.
520|499 10 00009602 1 12|METH: Call XAllowEvents with event_mode of ReplayPointer.
520|499 10 00009602 1 13|METH: Verify that pointer was released.
220|499 10 0 18:52:53|PASS
410|499 10 1 18:52:53|IC End
400|499 11 1 18:52:53|IC Start
200|499 11 18:52:53|TP Start
520|499 11 00009602 1 1|VSW5TESTSUITE PURPOSE 11
520|499 11 00009602 1 2|Assertion XAllowEvents-11.(B)
520|499 11 00009602 1 3|When the event_mode argument is AsyncKeyboard and the
520|499 11 00009602 1 4|keyboard is frozen by the client, then keyboard event
520|499 11 00009602 1 5|processing is resumed.
520|499 11 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 11 00009602 1 7|METH: If no extensions:
520|499 11 00009602 1 8|METH: Touch test for AsyncKeyboard.
520|499 11 00009602 1 9|METH: else
520|499 11 00009602 1 10|METH: Grab and freeze Keyboard.
520|499 11 00009602 1 11|METH: Call XAllowEvents with event_mode AsyncKeyboard.
520|499 11 00009602 1 12|METH: Verify that the keyboard is released.
220|499 11 0 18:52:53|PASS
410|499 11 1 18:52:53|IC End
400|499 12 1 18:52:53|IC Start
200|499 12 18:52:53|TP Start
520|499 12 00009602 1 1|VSW5TESTSUITE PURPOSE 12
520|499 12 00009602 1 2|Assertion XAllowEvents-12.(B)
520|499 12 00009602 1 3|When the event_mode argument is AsyncKeyboard and the
520|499 12 00009602 1 4|keyboard is frozen twice by the client on behalf of two
520|499 12 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both.
520|499 12 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 12 00009602 1 7|METH: If extensions available:
520|499 12 00009602 1 8|METH: Freeze keyboard with XGrabPointer.
520|499 12 00009602 1 9|METH: Freeze keyboard with XGrabKeyboard.
520|499 12 00009602 1 10|METH: Call XAllowEvents with AsyncKeyboard.
520|499 12 00009602 1 11|METH: Verify that keyboard is released.
220|499 12 0 18:52:53|PASS
410|499 12 1 18:52:53|IC End
400|499 13 1 18:52:53|IC Start
200|499 13 18:52:53|TP Start
520|499 13 00009602 1 1|VSW5TESTSUITE PURPOSE 13
520|499 13 00009602 1 2|Assertion XAllowEvents-13.(B)
520|499 13 00009602 1 3|When the event_mode argument is AsyncKeyboard and the
520|499 13 00009602 1 4|keyboard is not frozen by the client, then a call to
520|499 13 00009602 1 5|XAllowEvents has no effect.
520|499 13 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 13 00009602 1 7|METH: If extensions available:
520|499 13 00009602 1 8|METH: Call XAllowEvents with AsyncKeyboard.
520|499 13 00009602 1 9|METH: Verify that keyboard is not frozen.
220|499 13 0 18:52:53|PASS
410|499 13 1 18:52:53|IC End
400|499 14 1 18:52:53|IC Start
200|499 14 18:52:53|TP Start
520|499 14 00009602 1 1|VSW5TESTSUITE PURPOSE 14
520|499 14 00009602 1 2|Assertion XAllowEvents-14.(B)
520|499 14 00009602 1 3|When the event_mode argument is SyncKeyboard and the
520|499 14 00009602 1 4|keyboard is frozen and actively grabbed by the client, then
520|499 14 00009602 1 5|keyboard event processing is resumed normally until the next
520|499 14 00009602 1 6|KeyPress or KeyRelease event is reported to the client, at
520|499 14 00009602 1 7|which time the keyboard again appears to freeze unless the
520|499 14 00009602 1 8|reported event causes the keyboard grab to be released.
520|499 14 00009602 1 9|Reason for omission: There is no known reliable test method for this assertion
520|499 14 00009602 1 10|METH: If no extensions:
520|499 14 00009602 1 11|METH: Touch test for SyncKeyboard.
520|499 14 00009602 1 12|METH: else
520|499 14 00009602 1 13|METH: Freeze keyboard.
520|499 14 00009602 1 14|METH: Call XAllowEvents with event_mode of SyncKeyboard.
520|499 14 00009602 1 15|METH: Verify that keyboard is not frozen.
520|499 14 00009602 1 16|METH: Press key.
520|499 14 00009602 1 17|METH: Verify that keyboard is frozen.
220|499 14 0 18:52:53|PASS
410|499 14 1 18:52:53|IC End
400|499 15 1 18:52:53|IC Start
200|499 15 18:52:53|TP Start
520|499 15 00009602 1 1|VSW5TESTSUITE PURPOSE 15
520|499 15 00009602 1 2|Assertion XAllowEvents-15.(B)
520|499 15 00009602 1 3|When the event_mode argument is SyncKeyboard and the
520|499 15 00009602 1 4|keyboard is not frozen by the client or the keyboard is not
520|499 15 00009602 1 5|grabbed by the client, then a call to XAllowEvents has no
520|499 15 00009602 1 6|effect.
520|499 15 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 15 00009602 1 8|METH: If extensions available:
520|499 15 00009602 1 9|METH: Call XAllowEvents with event_mode of SyncKeyboard.
520|499 15 00009602 1 10|METH: Verify that keyboard is not frozen.
520|499 15 00009602 1 11|METH: Press key.
520|499 15 00009602 1 12|METH: Verify that keyboard is not frozen.
220|499 15 0 18:52:53|PASS
410|499 15 1 18:52:53|IC End
400|499 16 1 18:52:53|IC Start
200|499 16 18:52:53|TP Start
520|499 16 00009602 1 1|VSW5TESTSUITE PURPOSE 16
520|499 16 00009602 1 2|Assertion XAllowEvents-16.(B)
520|499 16 00009602 1 3|When the event_mode argument is SyncKeyboard and the
520|499 16 00009602 1 4|keyboard is frozen twice by the client on behalf of two
520|499 16 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 16 00009602 1 6|grabs.
520|499 16 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 16 00009602 1 8|METH: If extensions available:
520|499 16 00009602 1 9|METH: Freeze keyboard with XGrabPointer.
520|499 16 00009602 1 10|METH: Freeze keyboard with XGrabKeyboard.
520|499 16 00009602 1 11|METH: Call XAllowEvents with event_mode of SyncKeyboard.
520|499 16 00009602 1 12|METH: Verify that keyboard is not frozen.
220|499 16 0 18:52:53|PASS
410|499 16 1 18:52:53|IC End
400|499 17 1 18:52:53|IC Start
200|499 17 18:52:53|TP Start
520|499 17 00009602 1 1|VSW5TESTSUITE PURPOSE 17
520|499 17 00009602 1 2|Assertion XAllowEvents-17.(B)
520|499 17 00009602 1 3|When the event_mode argument is ReplayKeyboard and the
520|499 17 00009602 1 4|keyboard is actively grabbed by the client and is frozen as
520|499 17 00009602 1 5|the result of an event having been sent to the client, then
520|499 17 00009602 1 6|the keyboard grab is released and the event is completely
520|499 17 00009602 1 7|reprocessed as though any passive grabs at or above the grab
520|499 17 00009602 1 8|window of the grab just released were not present.
520|499 17 00009602 1 9|Reason for omission: There is no known reliable test method for this assertion
520|499 17 00009602 1 10|METH: If no extensions:
520|499 17 00009602 1 11|METH: Touch test for ReplayKeyboard.
520|499 17 00009602 1 12|METH: else
520|499 17 00009602 1 13|METH: Create window.
520|499 17 00009602 1 14|METH: Create child of that window.
520|499 17 00009602 1 15|METH: Enable key events on windows.
520|499 17 00009602 1 16|METH: Place passive grab with GrabModeSync on each window.
520|499 17 00009602 1 17|METH: Warp pointer to child window.
520|499 17 00009602 1 18|METH: Press key.
520|499 17 00009602 1 19|METH: Check that the parent window has the grab.
520|499 17 00009602 1 20|METH:
520|499 17 00009602 1 21|METH: Call XAllowEvents with ReplayKeyboard.
520|499 17 00009602 1 22|METH: Verify that child window has grab.
220|499 17 0 18:52:53|PASS
410|499 17 1 18:52:53|IC End
400|499 18 1 18:52:53|IC Start
200|499 18 18:52:53|TP Start
520|499 18 00009602 1 1|VSW5TESTSUITE PURPOSE 18
520|499 18 00009602 1 2|Assertion XAllowEvents-18.(B)
520|499 18 00009602 1 3|When the event_mode argument is ReplayKeyboard and the
520|499 18 00009602 1 4|keyboard is not frozen as a result of an event or the
520|499 18 00009602 1 5|keyboard is not grabbed by the client, then a call to
520|499 18 00009602 1 6|XAllowEvents has no effect.
520|499 18 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 18 00009602 1 8|METH: If extensions available:
520|499 18 00009602 1 9|METH: Create window.
520|499 18 00009602 1 10|METH: Create child of that window.
520|499 18 00009602 1 11|METH: Place passive grab with GrabModeAsync on each window.
520|499 18 00009602 1 12|METH: Warp pointer to child window.
520|499 18 00009602 1 13|METH: Press key.
520|499 18 00009602 1 14|METH: Check that the parent window has the grab.
520|499 18 00009602 1 15|METH:
520|499 18 00009602 1 16|METH: Call XAllowEvents with ReplayKeyboard.
520|499 18 00009602 1 17|METH: Verify that no key event was received on the child.
220|499 18 0 18:52:53|PASS
410|499 18 1 18:52:53|IC End
400|499 19 1 18:52:53|IC Start
200|499 19 18:52:53|TP Start
520|499 19 00009602 1 1|VSW5TESTSUITE PURPOSE 19
520|499 19 00009602 1 2|Assertion XAllowEvents-19.(B)
520|499 19 00009602 1 3|When the event_mode argument is ReplayKeyboard and the
520|499 19 00009602 1 4|keyboard is frozen twice by the client on behalf of two
520|499 19 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 19 00009602 1 6|grabs.
520|499 19 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 19 00009602 1 8|METH: If extensions available:
520|499 19 00009602 1 9|METH: Freeze keyboard with XGrabButton.
520|499 19 00009602 1 10|METH: Freeze keyboard with XGrabKey.
520|499 19 00009602 1 11|METH: Call XAllowEvents with event_mode of ReplayKeyboard.
520|499 19 00009602 1 12|METH: Verify that keyboard is not frozen.
220|499 19 0 18:52:53|PASS
410|499 19 1 18:52:53|IC End
400|499 20 1 18:52:53|IC Start
200|499 20 18:52:53|TP Start
520|499 20 00009602 1 1|VSW5TESTSUITE PURPOSE 20
520|499 20 00009602 1 2|Assertion XAllowEvents-20.(B)
520|499 20 00009602 1 3|When the event_mode argument is SyncBoth and both pointer
520|499 20 00009602 1 4|and keyboard are frozen by the client, then event processing
520|499 20 00009602 1 5|for both devices continues normally until the next
520|499 20 00009602 1 6|ButtonPress, ButtonRelease, KeyPress, or KeyRelease event
520|499 20 00009602 1 7|is reported to the client for a grabbed device at which time
520|499 20 00009602 1 8|both devices again appear to freeze, unless the reported
520|499 20 00009602 1 9|event causes the grab to be released.
520|499 20 00009602 1 10|Reason for omission: There is no known reliable test method for this assertion
520|499 20 00009602 1 11|METH: If no extensions:
520|499 20 00009602 1 12|METH: Touch test for SyncBoth.
520|499 20 00009602 1 13|METH: else
520|499 20 00009602 1 14|METH: Create grabwindow.
520|499 20 00009602 1 15|METH: Select events on grab window.
520|499 20 00009602 1 16|METH: Freeze and grab all devices by calling XGrabPointer.
520|499 20 00009602 1 17|METH: Freeze and grab all devices by calling XGrabKeyboard.
520|499 20 00009602 1 18|METH: Check that pointer is frozen.
520|499 20 00009602 1 19|METH:
520|499 20 00009602 1 20|METH: Call XAllowEvents with event_mode of SyncBoth.
520|499 20 00009602 1 21|METH: Verify that pointer has been released.
520|499 20 00009602 1 22|METH:
520|499 20 00009602 1 23|METH: Press button.
520|499 20 00009602 1 24|METH: Verify that pointer is frozen.
520|499 20 00009602 1 25|METH: Verify that keyboard is frozen.
520|499 20 00009602 1 26|METH:
520|499 20 00009602 1 27|METH: Call XAllowEvents with event_mode of SyncBoth.
520|499 20 00009602 1 28|METH: Check pointer released.
520|499 20 00009602 1 29|METH: Release button.
520|499 20 00009602 1 30|METH: Verify that pointer is frozen.
520|499 20 00009602 1 31|METH: Verify that keyboard is frozen.
520|499 20 00009602 1 32|METH:
520|499 20 00009602 1 33|METH: Call XAllowEvents with event_mode of SyncBoth.
520|499 20 00009602 1 34|METH: Check pointer released.
520|499 20 00009602 1 35|METH: Press key.
520|499 20 00009602 1 36|METH: Verify that pointer is frozen.
520|499 20 00009602 1 37|METH: Verify that keyboard is frozen.
520|499 20 00009602 1 38|METH:
520|499 20 00009602 1 39|METH: Call XAllowEvents with event_mode of SyncBoth.
520|499 20 00009602 1 40|METH: Check pointer released.
520|499 20 00009602 1 41|METH: Release key.
520|499 20 00009602 1 42|METH: Verify that pointer is frozen.
520|499 20 00009602 1 43|METH: Verify that keyboard is frozen.
520|499 20 00009602 1 44|REPORT: ndevices(4)
520|499 20 00009602 1 45|REPORT: ndevices(4)
520|499 20 00009602 1 46|REPORT: ndevices(4)
520|499 20 00009602 1 47|REPORT: ndevices(4)
220|499 20 0 18:52:53|PASS
410|499 20 1 18:52:53|IC End
400|499 21 1 18:52:53|IC Start
200|499 21 18:52:53|TP Start
520|499 21 00009602 1 1|VSW5TESTSUITE PURPOSE 21
520|499 21 00009602 1 2|Assertion XAllowEvents-21.(B)
520|499 21 00009602 1 3|When the event_mode argument is SyncBoth and an event has
520|499 21 00009602 1 4|caused the grab on one device to be released and a
520|499 21 00009602 1 5|subsequent event is reported for the other device that does
520|499 21 00009602 1 6|not cause the grab to be released, then both devices are
520|499 21 00009602 1 7|again frozen.
520|499 21 00009602 1 8|Reason for omission: There is no known reliable test method for this assertion
520|499 21 00009602 1 9|METH: If extension available:
520|499 21 00009602 1 10|METH: Grab and freeze Keyboard with XGrabKeyboard.
520|499 21 00009602 1 11|METH: Set passive grab on button with pointer_mode GrabModeSync.
520|499 21 00009602 1 12|METH: Activate pointer grab.
520|499 21 00009602 1 13|METH:
520|499 21 00009602 1 14|METH: Call XAllowEvents with event_mode SyncBoth.
520|499 21 00009602 1 15|METH: Release button to release pointer grab.
520|499 21 00009602 1 16|METH: Check pointer not frozen.
520|499 21 00009602 1 17|METH:
520|499 21 00009602 1 18|METH: Press key.
520|499 21 00009602 1 19|METH: Verify that pointer and keyboard are frozen.
220|499 21 0 18:52:53|PASS
410|499 21 1 18:52:53|IC End
400|499 22 1 18:52:53|IC Start
200|499 22 18:52:53|TP Start
520|499 22 00009602 1 1|VSW5TESTSUITE PURPOSE 22
520|499 22 00009602 1 2|Assertion XAllowEvents-22.(B)
520|499 22 00009602 1 3|When the event_mode argument is SyncBoth and the pointer or
520|499 22 00009602 1 4|keyboard is frozen twice by the client on behalf of two
520|499 22 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 22 00009602 1 6|grabs.
520|499 22 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 22 00009602 1 8|METH: If extensions are available:
520|499 22 00009602 1 9|METH: Grab and freeze pointer.
520|499 22 00009602 1 10|METH: Grab keyboard and freeze pointer.
520|499 22 00009602 1 11|METH:
520|499 22 00009602 1 12|METH: Call XAllowEvents with event_mode of SyncBoth.
520|499 22 00009602 1 13|METH: Verify that pointer and keyboard are thawed.
220|499 22 0 18:52:53|PASS
410|499 22 1 18:52:53|IC End
400|499 23 1 18:52:53|IC Start
200|499 23 18:52:53|TP Start
520|499 23 00009602 1 1|VSW5TESTSUITE PURPOSE 23
520|499 23 00009602 1 2|Assertion XAllowEvents-23.(B)
520|499 23 00009602 1 3|When the event_mode argument is SyncBoth and either the
520|499 23 00009602 1 4|keyboard or pointer is not frozen by the client or neither
520|499 23 00009602 1 5|are grabbed by the client, then a call to XAllowEvents has
520|499 23 00009602 1 6|no effect.
520|499 23 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 23 00009602 1 8|METH: If extensions available:
520|499 23 00009602 1 9|METH: Call XAllowEvents with SyncBoth.
520|499 23 00009602 1 10|METH: Press button.
520|499 23 00009602 1 11|METH: Verify that pointer and keyboard are not frozen.
220|499 23 0 18:52:53|PASS
410|499 23 1 18:52:53|IC End
400|499 24 1 18:52:53|IC Start
200|499 24 18:52:53|TP Start
520|499 24 00009602 1 1|VSW5TESTSUITE PURPOSE 24
520|499 24 00009602 1 2|Assertion XAllowEvents-24.(B)
520|499 24 00009602 1 3|When the event_mode argument is AsyncBoth and the pointer
520|499 24 00009602 1 4|and the keyboard are frozen by the client, then event
520|499 24 00009602 1 5|processing for both devices is resumed normally.
520|499 24 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 24 00009602 1 7|METH: If no extensions:
520|499 24 00009602 1 8|METH: Touch test for AsyncBoth.
520|499 24 00009602 1 9|METH: else
520|499 24 00009602 1 10|METH: Grab and freeze all devices.
520|499 24 00009602 1 11|METH: Call XAllowEvents with AsyncBoth.
520|499 24 00009602 1 12|METH: Verify that pointer is released.
520|499 24 00009602 1 13|METH: Verify that keyboard is released.
520|499 24 00009602 1 14|REPORT: ndevices(4)
220|499 24 0 18:52:53|PASS
410|499 24 1 18:52:53|IC End
400|499 25 1 18:52:53|IC Start
200|499 25 18:52:53|TP Start
520|499 25 00009602 1 1|VSW5TESTSUITE PURPOSE 25
520|499 25 00009602 1 2|Assertion XAllowEvents-25.(B)
520|499 25 00009602 1 3|When the event_mode argument is AsyncBoth and either the
520|499 25 00009602 1 4|keyboard or the pointer is not frozen by the client, then a
520|499 25 00009602 1 5|call to XAllowEvents has no effect.
520|499 25 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 25 00009602 1 7|METH: If extensions available:
520|499 25 00009602 1 8|METH: Grab and freeze pointer.
520|499 25 00009602 1 9|METH: Call XAllowEvents with AsyncBoth.
520|499 25 00009602 1 10|METH: Verify that pointer is not released.
220|499 25 0 18:52:53|PASS
410|499 25 1 18:52:53|IC End
400|499 26 1 18:52:53|IC Start
200|499 26 18:52:53|TP Start
520|499 26 00009602 1 1|VSW5TESTSUITE PURPOSE 26
520|499 26 00009602 1 2|Assertion XAllowEvents-26.(B)
520|499 26 00009602 1 3|When the event_mode argument is AsyncBoth and the pointer
520|499 26 00009602 1 4|or keyboard is frozen twice by the client on behalf of two
520|499 26 00009602 1 5|separate grabs, then a call to XAllowEvents thaws for both
520|499 26 00009602 1 6|grabs.
520|499 26 00009602 1 7|Reason for omission: There is no known reliable test method for this assertion
520|499 26 00009602 1 8|METH: If extensions available:
520|499 26 00009602 1 9|METH: Freeze pointer and keyboard by calling XGrabPointer.
520|499 26 00009602 1 10|METH: Freeze pointer and keyboard again by calling XGrabKeyboard.
520|499 26 00009602 1 11|METH:
520|499 26 00009602 1 12|METH: Call XAllowEvents with AsyncBoth.
520|499 26 00009602 1 13|METH: Verify that pointer and keyboard are not frozen.
220|499 26 0 18:52:53|PASS
410|499 26 1 18:52:53|IC End
400|499 27 1 18:52:53|IC Start
200|499 27 18:52:53|TP Start
520|499 27 00009602 1 1|VSW5TESTSUITE PURPOSE 27
520|499 27 00009602 1 2|Assertion XAllowEvents-27.(B)
520|499 27 00009602 1 3|When the event_mode argument is AsyncPointer, SyncPointer,
520|499 27 00009602 1 4|or ReplayPointer, then a call to XAllowEvents has no effect
520|499 27 00009602 1 5|on the processing of keyboard events.
520|499 27 00009602 1 6|Reason for omission: There is no known reliable test method for this assertion
520|499 27 00009602 1 7|METH: If extensions are available:
520|499 27 00009602 1 8|METH: Grab and freeze the keyboard.
520|499 27 00009602 1 9|METH: For each event_mode AsyncPointer SyncPointer ReplayPointer
520|499 27 00009602 1 10|METH: Call XAllowEvents.
520|499 27 00009602 1 11|METH: Verify that keyboard is still frozen.
220|499 27 0 18:52:53|PASS
410|499 27 1 18:52:53|IC End
400|499 28 1 18:52:53|IC Start
200|499 28 18:52:53|TP Start
520|499 28 00009602 1 1|VSW5TESTSUITE PURPOSE 28
520|499 28 00009602 1 2|Assertion XAllowEvents-28.(A)
520|499 28 00009602 1 3|When the event_mode argument is AsyncKeyboard,
520|499 28 00009602 1 4|SyncKeyboard, or ReplayKeyboard, then a call to
520|499 28 00009602 1 5|XAllowEvents has no effect on the processing of pointer
520|499 28 00009602 1 6|events.
520|499 28 00009602 1 7|METH: Grab and freeze pointer.
520|499 28 00009602 1 8|METH: For each event_mode AsyncKeyboard SyncKeyboard ReplayKeyboard
520|499 28 00009602 1 9|METH: Call XAllowEvents.
520|499 28 00009602 1 10|METH: Verify that pointer is still frozen.
220|499 28 0 18:52:53|PASS
410|499 28 1 18:52:53|IC End
400|499 29 1 18:52:53|IC Start
200|499 29 18:52:53|TP Start
520|499 29 00009602 1 1|VSW5TESTSUITE PURPOSE 29
520|499 29 00009602 1 2|Assertion XAllowEvents-29.(A)
520|499 29 00009602 1 3|When the value of event_mode is other than AsyncPointer,
520|499 29 00009602 1 4|SyncPointer, AsyncKeyboard, SyncKeyboard, ReplayPointer,
520|499 29 00009602 1 5|ReplayKeyboard, AsyncBoth or SyncBoth, then a BadValue
520|499 29 00009602 1 6|error occurs.
520|499 29 00009602 1 7|METH: Obtain a sequence of values which are not in the list specified by VALUE_LIST.
520|499 29 00009602 1 8|METH: For each value:
520|499 29 00009602 1 9|METH: Call test function with this value in the VALUE_ARG argument.
520|499 29 00009602 1 10|METH: Verify that a BadValue error occurs.
220|499 29 0 18:52:53|PASS
410|499 29 1 18:52:53|IC End
|