Blob Blame History Raw
/* 
 * 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: PanedWin9.dat /main/4 1995/07/13 19:08:04 drk $"
*/

#) A client with a Paned Window with three pushbuttons will appear.
   The panes should be 100 pixels wide and 50 pixels high.

#) No constraints have been set, so all possible resizings should
   be allowed.

#) Return the panes to reasonable sizes and continue for more testing. 
C)

#) The maximum size of the first pane has been set to 100 pixels.

#) Verify this by resizing the panes.
C)

#) The maximum size of the first pane has been reset to the default
   while the maximum of the second has been set to 100 pixels.

#) Verify this by resizing the panes.

C)

#) The maximum size of the second pane has been reset to the default
   while the maximum of the third has been set to 100 pixels.

#) Verify this by resizing the panes.

C)

#) The maximum size of the third pane has been reset to the default.

#) The minimum value of the first pane has been reset to 100 pixels.

#) Verify this by resizing the panes.

C)

#) The minimum size of the first pane has been reset to the default
   while the minimum of the second has been set to 100 pixels.

#) Verify this by resizing the panes.

C)


#) The maximum size of the second pane has been reset to the default
   while the maximum of the third has been set to 100 pixels.

#) Verify this by resizing the panes.

C)

#) The minimum size of the third pane has been reset to the default.

#) An attempt was made to set the minimum of the first pane to a 
   value less than zero.  An error message should have been displayed
   on the xterm window and the minimum set to the default value.

#) Verify this by resizing the panes.

C)

#) An attempt was made to set the minimum of the second pane to a 
   value less than zero.  An error message should have been displayed
   on the xterm window and the minimum set to the default value.

#) Verify this by resizing the panes.

C)

#) An attempt was made to set the minimum of the third pane to a 
   value less than zero.  An error message should have been displayed
   on the xterm window and the minimum set to the default value.

#) Verify this by resizing the panes.

C)

#) The maximum and minimum for the first pane were set to 200 pixels
   and 100 pixels respectively.

#) Verify this by resizing the panes.

C)

#) The maximum and minimum for the first pane were reset to their
   default values.

#) The maximum and minimum for the second pane were set to 200 pixels
   and 100 pixels respectively.

#) Verify this by resizing the panes.

C)

#) The maximum and minimum for the second pane were reset to their
   default values.

#) The maximum and minimum for the third pane were set to 200 pixels
   and 100 pixels respectively.

#) Verify this by resizing the panes.

C)

#) The maximum and minimum for the third pane were reset to their
   default values.

#) An attempt was made to set the maximum and minimum of the first
    pane to 100 pixels and 200 pixels respectively.  An error message
    should have been displayed on the xterm window and the maximum
    and minimum set to their default values.

#) Verify this by resizing the panes.

C)


#) An attempt was made to set the maximum and minimum of the second
    pane to 100 pixels and 200 pixels respectively.  An error message
    should have been displayed on the xterm window and the maximum
    and minimum set to their default values.

#) Verify this by resizing the panes.

C)

#) An attempt was made to set the maximum and minimum of the third
    pane to 100 pixels and 200 pixels respectively.  An error message
    should have been displayed on the xterm window and the maximum
    and minimum set to their default values.

#) Verify this by resizing the panes.

C)


#) The maximum and minimum for the first pane were both set to 100 
   pixels.  There should be no sash on the seperator at the bottom of
   this pane.

#) Verify that this pane cannot be resized.

C)

#) The maximum and minimum for the first pane were reset to their
   default values.

#) The maximum and minimum for the second pane were both set to 100 
   pixels.  There should be no sash on the seperator at the bottom of
   this pane.

#) Verify that this pane cannot be resized.

C)

#) The maximum and minimum for the second pane were reset to their
   default values.

#) The maximum and minimum for the third pane were both set to 100 
   pixels.

#) Verify that this pane cannot be resized.

C)

#) The maximum and minimum for all the panes have been set to 100 
   pixels.  There should be no sash on any of the seperators.

#) Verify that no panes can be resized.

E)