summaryrefslogtreecommitdiff
path: root/xserver-1.8.1/2010-05-11-14:10:08/Xlib15/XGetWMProtocols.log
blob: 7569f6dd7925e0805dcbc1e76baf2fca3f2c20a5 (plain)
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
15|596 3.3-lite 4|TCM Start
520|596 0 00001733 1 1|REPORT: Parameter XT_DISPLAYHOST had an empty value
400|596 1 1 16:13:05|IC Start
200|596 1 16:13:05|TP Start
520|596 1 00001733 1 1|VSW5TESTSUITE PURPOSE 1
520|596 1 00001733 1 2|Assertion XGetWMProtocols-1.(A)
520|596 1 00001733 1 3|When the WM_PROTOCOLS property is set on the window w, is
520|596 1 00001733 1 4|of type ATOM, and is of format 32, then a call to
520|596 1 00001733 1 5|XGetWMProtocols returns the list of atoms stored in the
520|596 1 00001733 1 6|property, which can be freed with XFree, in the
520|596 1 00001733 1 7|protocols_return argument, the number of atoms in the
520|596 1 00001733 1 8|count_return argument and returns non-zero.
520|596 1 00001733 1 9|METH: Create a window using XCreateWindow.
520|596 1 00001733 1 10|METH: Set the WM_PROTOCOLS property using XSetWMProtocols.
520|596 1 00001733 1 11|METH: Obtain the value of the WM_PROTOCOLS property using XGetWMProtocols.
520|596 1 00001733 1 12|METH: Verify that the call did not return False.
520|596 1 00001733 1 13|METH: Verify that the value was correct.
520|596 1 00001733 1 14|METH: Free the allocated memory using XFree.
220|596 1 0 16:13:05|PASS
410|596 1 1 16:13:05|IC End
400|596 2 1 16:13:05|IC Start
200|596 2 16:13:05|TP Start
520|596 2 00001733 1 1|VSW5TESTSUITE PURPOSE 2
520|596 2 00001733 1 2|Assertion XGetWMProtocols-2.(B)
520|596 2 00001733 1 3|When the atom name (lqWM_PROTOCOLS(rq cannot be interned,
520|596 2 00001733 1 4|then a call to XGetWMProtocols does not set the
520|596 2 00001733 1 5|protocols_return or count_return arguments and returns zero.
520|596 2 00001733 1 6|Reason for omission: There is no known portable test method for this assertion
520|596 2 00001733 1 7|METH: Report UNTESTED
220|596 2 5 16:13:05|UNTESTED
410|596 2 1 16:13:05|IC End
400|596 3 1 16:13:05|IC Start
200|596 3 16:13:05|TP Start
520|596 3 00001733 1 1|VSW5TESTSUITE PURPOSE 3
520|596 3 00001733 1 2|Assertion XGetWMProtocols-3.(A)
520|596 3 00001733 1 3|When the WM_PROTOCOLS property is not set on the window w,
520|596 3 00001733 1 4|or is not of type ATOM, or is not of format 32, then a call
520|596 3 00001733 1 5|to XGetWMProtocols does not set the protocols_return or
520|596 3 00001733 1 6|count_return arguments and returns zero.
520|596 3 00001733 1 7|METH: Create a window with XCreateWindow.
520|596 3 00001733 1 8|METH: Insure that the name "WM_PROTOCOLS" is interned using XSetWMProtocols.
520|596 3 00001733 1 9|METH: Obtain the WM_PROTOCOLS atom using XInternAtom.
520|596 3 00001733 1 10|METH:
520|596 3 00001733 1 11|METH: Create a window with XCreateWindow.
520|596 3 00001733 1 12|METH: Initialise the protocols_return and count_return arguments.
520|596 3 00001733 1 13|METH: Obtain the value of the WM_PROTOCOLS property with XGetWMProtocols.
520|596 3 00001733 1 14|METH: Verify that the call returned False.
520|596 3 00001733 1 15|METH: Verify that protocols_return and count_return arguments were unchanged.
520|596 3 00001733 1 16|METH:
520|596 3 00001733 1 17|METH: Create a window with XCreateWindow.
520|596 3 00001733 1 18|METH: Set the WM_PROTOCOLS property with format 16 and type ATOM using XChangeProperty.
520|596 3 00001733 1 19|METH: Initialise the protocols_return and count_return arguments.
520|596 3 00001733 1 20|METH: Obtain the value of the WM_PROTOCOLS property with XGetWMProtocols.
520|596 3 00001733 1 21|METH: Verify that the call returned False.
520|596 3 00001733 1 22|METH: Verify that protocols_return and count_return arguments were unchanged.
520|596 3 00001733 1 23|METH:
520|596 3 00001733 1 24|METH: Create a window with XCreateWindow.
520|596 3 00001733 1 25|METH: Initialise the protocols_return and count_return arguments.
520|596 3 00001733 1 26|METH: Set the WM_PROTOCOLS property with format 32 type STRING using XChangeProperty.
520|596 3 00001733 1 27|METH: Obtain the value of the WM_PROTOCOLS property with XGetWMProtocols.
520|596 3 00001733 1 28|METH: Verify that the call returned False.
520|596 3 00001733 1 29|METH: Verify that protocols_return and count_return arguments were unchanged.
520|596 3 00001733 1 30|METH:
220|596 3 0 16:13:05|PASS
410|596 3 1 16:13:05|IC End
400|596 4 1 16:13:05|IC Start
200|596 4 16:13:05|TP Start
520|596 4 00001733 1 1|VSW5TESTSUITE PURPOSE 4
520|596 4 00001733 1 2|Assertion XGetWMProtocols-4.(A)
520|596 4 00001733 1 3|When a window argument does not name a valid Window, then a
520|596 4 00001733 1 4|BadWindow error occurs.
520|596 4 00001733 1 5|METH: Create a bad window by creating and destroying a window.
520|596 4 00001733 1 6|METH: Call test function using bad window as the window argument.
520|596 4 00001733 1 7|METH: Verify that a BadWindow error occurs.
220|596 4 0 16:13:05|PASS
410|596 4 1 16:13:05|IC End