Blame tests/Toolkit/PanedWin/PanedWin9.scr

Packit b099d7
# $XConsortium: PanedWin9.scr /main/4 1995/07/17 20:33:34 drk $
Packit b099d7
# Motif
Packit b099d7
#
Packit b099d7
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
#
Packit b099d7
# These libraries and programs are free software; you can
Packit b099d7
# redistribute them and/or modify them under the terms of the GNU
Packit b099d7
# Lesser General Public License as published by the Free Software
Packit b099d7
# Foundation; either version 2 of the License, or (at your option)
Packit b099d7
# any later version.
Packit b099d7
#
Packit b099d7
# These libraries and programs are distributed in the hope that
Packit b099d7
# they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
# PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
# details.
Packit b099d7
#
Packit b099d7
# You should have received a copy of the GNU Lesser General Public
Packit b099d7
# License along with these librararies and programs; if not, write
Packit b099d7
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
# Floor, Boston, MA 02110-1301 USA
Packit b099d7
# 
Packit b099d7
# HISTORY
Packit b099d7
Packit b099d7
# Note: seemingly random resizings (that don't reflect the instructions)
Packit b099d7
# are an attempt to return the panes to reasonable sizes after 
Packit b099d7
# resizings that obey the instructions.
Packit b099d7
Packit b099d7
#  A client with a Paned Window with three pushbuttons will appear.
Packit b099d7
#  The panes should be 100 pixels wide and 50 pixels high.
Packit b099d7
#  No constraints have been set, so all possible resizings should
Packit b099d7
#  be allowed.
Packit b099d7
#  Return the panes to reasonable sizes and continue for more testing. 
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 50
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The maximum size of the first pane has been set to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The maximum size of the first pane has been reset to the default
Packit b099d7
#  while the maximum of the second has been set to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum size of the second pane has been reset to the default
Packit b099d7
#  while the maximum of the third has been set to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 50
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum size of the third pane has been reset to the default.
Packit b099d7
#  The minimum value of the first pane has been reset to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The minimum size of the first pane has been reset to the default
Packit b099d7
#  while the minimum of the second has been set to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum size of the second pane has been reset to the default
Packit b099d7
#  while the maximum of the third has been set to 100 pixels.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 100
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 50
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 50
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The minimum size of the third pane has been reset to the default.
Packit b099d7
#  An attempt was made to set the minimum of the first pane to a 
Packit b099d7
#  value less than zero.  An error message should have been displayed
Packit b099d7
#  on the xterm window and the minimum set to the default value.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 100
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 50
Packit b099d7
CompareVisual PW
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 50
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
# An attempt was made to set the minimum of the second pane to a 
Packit b099d7
# value less than zero.  An error message should have been displayed
Packit b099d7
# on the xterm window and the minimum set to the default value.
Packit b099d7
# Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 50
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 50
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  An attempt was made to set the minimum of the third pane to a 
Packit b099d7
#  value less than zero.  An error message should have been displayed
Packit b099d7
#  on the xterm window and the minimum set to the default value.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 100
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 50
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for the first pane were set to 200 pixels
Packit b099d7
#  and 100 pixels respectively.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 200
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for the first pane were reset to their
Packit b099d7
#  default values.
Packit b099d7
#  The maximum and minimum for the second pane were set to 200 pixels
Packit b099d7
#  and 100 pixels respectively.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 200
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The maximum and minimum for the second pane were reset to their
Packit b099d7
#  default values.
Packit b099d7
#  The maximum and minimum for the third pane were set to 200 pixels
Packit b099d7
#  and 100 pixels respectively.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 200
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for the third pane were reset to their
Packit b099d7
#  default values.
Packit b099d7
#  An attempt was made to set the maximum and minimum of the first
Packit b099d7
#  pane to 100 pixels and 200 pixels respectively.  An error message
Packit b099d7
#  should have been displayed on the xterm window and the maximum
Packit b099d7
#  and minimum set to their default values.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 200
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
Packit b099d7
#  An attempt was made to set the maximum and minimum of the second
Packit b099d7
#  pane to 100 pixels and 200 pixels respectively.  An error message
Packit b099d7
#  should have been displayed on the xterm window and the maximum
Packit b099d7
#  and minimum set to their default values.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 200
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
Packit b099d7
#  An attempt was made to set the maximum and minimum of the third
Packit b099d7
#  pane to 100 pixels and 200 pixels respectively.  An error message
Packit b099d7
#  should have been displayed on the xterm window and the maximum
Packit b099d7
#  and minimum set to their default values.
Packit b099d7
#  Verify this by resizing the panes.
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 300
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for the first pane were both set to 100 
Packit b099d7
#  pixels.  There should be no sash on the seperator at the bottom of
Packit b099d7
#  this pane.
Packit b099d7
#  Verify that this pane cannot be resized.
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for the first pane were reset to their
Packit b099d7
#  default values.
Packit b099d7
#  The maximum and minimum for the second pane were both set to 100 
Packit b099d7
#  pixels.  There should be no sash on the seperator at the bottom of
Packit b099d7
#  this pane.
Packit b099d7
#  Verify that this pane cannot be resized.
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 0
Packit b099d7
DragXYRelative Down 300
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
#  The maximum and minimum for the second pane were reset to their
Packit b099d7
#  default values.
Packit b099d7
#  The maximum and minimum for the third pane were both set to 100 
Packit b099d7
#  pixels.
Packit b099d7
#  Verify that this pane cannot be resized.
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Up 150
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
LocatePointer PW RSash 1
Packit b099d7
DragXYRelative Down 300
Packit b099d7
CompareVisual PW
Packit b099d7
Packit b099d7
Continue
Packit b099d7
Packit b099d7
Packit b099d7
#  The maximum and minimum for all the panes have been set to 100 
Packit b099d7
#  pixels.  There should be no sash on any of the seperators.
Packit b099d7
#  Verify that no panes can be resized.
Packit b099d7
Packit b099d7
CompareVisual PW
Packit b099d7
Exit
Packit b099d7