File: DiaShell1.dat

package info (click to toggle)
motif 2.3.4-13
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,160 kB
  • ctags: 51,769
  • sloc: ansic: 596,938; cpp: 3,951; yacc: 2,854; makefile: 2,070; csh: 1,199; sh: 1,070; lex: 455
file content (125 lines) | stat: -rw-r--r-- 3,505 bytes parent folder | download | duplicates (3)
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
/* 
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
*/ 
/* 
 * HISTORY
*/ 
/*
static char rcsid[] = "$XConsortium: DiaShell1.dat /main/6 1995/07/13 19:20:02 drk $"
*/

/* Test PIR4340 */
#) A client containing a MessageBox Dialog should appear. The MessageBox
   should have a messageString of \"DialogStyle Unmanaged Test\", the OK 
   button should have a label of \"UnManage\". The dialogStyle will be
   XmDIALOG_SYSTEM_MODAL, which will cause the cursor's symbol to change
   and will disallow input (including focus) in any window on your 
   system other than the Message Dialog.

#) Press MB1 on the Unmanage button of the dialog. The Message Dialog 
   should be Unmanaged and should \"pop down\". You now should be able to
   have focus in any window and the cursor should change back to the 
   default cursor.

C)
/* End test PIR4340 */


#) A client window should appear with three dialog boxes
   stacked on top of each other in the left corner 

C)


#) Move the three dialog boxes so they are not on top
   of each other and not on top of DiaShell1 window. 

#) Iconify the client window. 

#) Normalize the client window.

C)


#) Click MB1 on OK in MessageBox1. MessageBox1 should disappear. 

#) Click MB1 on OK in MessageBox2. MessageBox2 should disappear. 

#) Click MB1 on OK in MessageBox3. MessageBox3 should disappear. 

C) 


#) A dialog shell should appear with several different labels.
   No errors should occur.

C)


#) The dialog shell with different labels should disappear.

#) There should be a control panel with pushbuttons "Create FormDialog1",
   "Manage FormDialog1", "Unmanage FormDialog1".

C)


#) Click MouseBtn1 on "Create FormDialog1".

#) Click MouseBtn1 on "Manage FormDialog1".

#) You should see a formdialog window with the title "FormDialog1" and
   a pushbutton "Post FormDialog2".

#) Move "FormDialog1" window to 200, 200.

#) Click MouseBtn1 on "Post FormDialog2".

#) You should see a new formdialog window with the title "FormDialog2"
   and size 100x100, on top of FormDialog1.

C)


#) Click MouseBtn1 on "Unmanage FormDialog1".

#) Both "FormDialog1" and "FormDialog2" windows should disappear.

#) Click MouseBtn1 on "Manage FormDialog1".

#) Both "FormDialog1" and "FormDialog2" windows should reappear.

#) If only "FormDialog1" reappears, then PIR3006 has not been fixed.
   Click MouseBtn1 on "Post FormDialog2". You should see the message
   "FormDialog2 already managed" on the term window.

/* Test CR5043 */

#) If, after clicking on MouseBtn1, "FormDialog2" reappears and the 
   message "FormDialog2 being managed" on the term window, the PIR5043 
   has been fixed.

C)
/* End Test CR5043 */


E)