summaryrefslogtreecommitdiff
path: root/xc/test/xsuite/xtest/tset/CH08/nexps
diff options
context:
space:
mode:
authorrws <empty>1992-06-11 15:26:22 +0000
committerrws <empty>1992-06-11 15:26:22 +0000
commit7119bb6a712c6a90a34bc9b719b6a67f24fab749 (patch)
tree0270049c8da9aa012abad319784f28b716d718c2 /xc/test/xsuite/xtest/tset/CH08/nexps
parentc3ebc3539110bc7ed3118c49860ca8a5d3ac1a26 (diff)
initial external version
Diffstat (limited to 'xc/test/xsuite/xtest/tset/CH08/nexps')
-rw-r--r--xc/test/xsuite/xtest/tset/CH08/nexps/nexps.m104
1 files changed, 104 insertions, 0 deletions
diff --git a/xc/test/xsuite/xtest/tset/CH08/nexps/nexps.m b/xc/test/xsuite/xtest/tset/CH08/nexps/nexps.m
new file mode 100644
index 000000000..a2e81f39b
--- /dev/null
+++ b/xc/test/xsuite/xtest/tset/CH08/nexps/nexps.m
@@ -0,0 +1,104 @@
+/*
+ * Copyright 1990, 1991 by the Massachusetts Institute of Technology and
+ * UniSoft Group Limited.
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and
+ * its documentation for any purpose is hereby granted without fee,
+ * provided that the above copyright notice appear in all copies and that
+ * both that copyright notice and this permission notice appear in
+ * supporting documentation, and that the names of MIT and UniSoft not be
+ * used in advertising or publicity pertaining to distribution of the
+ * software without specific, written prior permission. MIT and UniSoft
+ * make no representations about the suitability of this software for any
+ * purpose. It is provided "as is" without express or implied warranty.
+ *
+ * $XConsortium$
+ */
+>>TITLE NoExpose CH08
+>>ASSERTION Good A
+There are no assertions in sections 8.1-8.4 for xname events.
+There are already assertions for
+.F XCopyArea
+and
+.F XCopyPlane
+covering xname events.
+>>STRATEGY
+Put out a message explaining that there are no specific assertions for
+xname events in sections 8.1-8.4, and that delivery of xname events is
+covered in XCopyPlane and XCopyArea.
+>>CODE
+
+ report("There are no specific assertions for %s events in sections 8.1-8.4.", TestName);
+ report("Delivery of %s events is covered in XCopyPlane and XCopyArea.", TestName);
+ tet_result(TET_NOTINUSE);
+
+>>#NOTEm >>ASSERTION
+>>#NOTEm When a call to
+>>#NOTEm .F XCopyArea
+>>#NOTEm or
+>>#NOTEm .F XCopyPlane
+>>#NOTEm is made
+>>#NOTEm and a
+>>#NOTEm .S GraphicsExpose
+>>#NOTEm event is not generated
+>>#NOTEm and the graphics-expose attribute
+>>#NOTEm of the graphics context is set to
+>>#NOTEm .S True ,
+>>#NOTEm then ARTICLE xname event is generated.
+>>#NOTEs >>ASSERTION
+>>#NOTEs When ARTICLE xname event is delivered,
+>>#NOTEs then
+>>#NOTEs .M type
+>>#NOTEs is set to
+>>#NOTEs xname.
+>>#NOTEs >>ASSERTION
+>>#NOTEs >>#NOTE The method of expansion is not clear.
+>>#NOTEs When ARTICLE xname event is delivered,
+>>#NOTEs then
+>>#NOTEs .M serial
+>>#NOTEs is set
+>>#NOTEs from the serial number reported in the protocol
+>>#NOTEs but expanded from the 16-bit least-significant bits
+>>#NOTEs to a full 32-bit value.
+>>#NOTEm >>ASSERTION
+>>#NOTEm When ARTICLE xname event is delivered
+>>#NOTEm and the event came from a
+>>#NOTEm .S SendEvent
+>>#NOTEm protocol request,
+>>#NOTEm then
+>>#NOTEm .M send_event
+>>#NOTEm is set to
+>>#NOTEm .S True .
+>>#NOTEs >>ASSERTION
+>>#NOTEs When ARTICLE xname event is delivered
+>>#NOTEs and the event was not generated by a
+>>#NOTEs .S SendEvent
+>>#NOTEs protocol request,
+>>#NOTEs then
+>>#NOTEs .M send_event
+>>#NOTEs is set to
+>>#NOTEs .S False .
+>>#NOTEs >>ASSERTION
+>>#NOTEs When ARTICLE xname event is delivered,
+>>#NOTEs then
+>>#NOTEs .M display
+>>#NOTEs is set to
+>>#NOTEs a pointer to the display on which the event was read.
+>>#NOTEs >>ASSERTION
+>>#NOTEs When ARTICLE xname event is delivered,
+>>#NOTEs then
+>>#NOTEs .M drawable
+>>#NOTEs is set to
+>>#NOTEs the drawable of the destination region on
+>>#NOTEs which the graphics request was performed.
+>>#NOTEs >>ASSERTION
+>>#NOTEs When ARTICLE xname event is delivered,
+>>#NOTEs then
+>>#NOTEs .M major_code
+>>#NOTEs is set to either
+>>#NOTEs .S X_CopyArea
+>>#NOTEs or
+>>#NOTEs .S X_CopyPlane
+>>#NOTEs and
+>>#NOTEs .M minor_code
+>>#NOTEs is set to zero.