Blob Blame History Raw
/* $XConsortium: XmeResolvePO.dat /main/4 1995/07/17 10:14:37 drk $ */
/*
 * 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
 */


	This test checks the XmeResolvePartOffsets function.  The
ExmTabButton widget has been modified to use offsets.  For each test case
the resource "OpenSide" has been modified.  The validation exists of
instantiating the widget and checking the visual effect of the resource
on the widget.

#) The "OpenSide" resource effects the specified side of the button by
omitting the shadow for that side.  The visual check to be performed is
simply making sure that no shadow is present for the specified side.  
(Note that by clicking on the button the shadow colors will alternate to
make this check more obvious.)

#) This first test validates the default value of the resource.  The
default value is XmLEFT.  Check that the left side of the button has no
shadow.

#) Make sure that no error messages are printed in the xterm window.


C)  This test validates the setting of the resource to the 
value of XmTOP.  Check that the top side of the button has no
shadow.

#) Make sure that no error messages are printed in the xterm window.

C)  This test validates the setting of the resource to the 
value of XmRIGHT.  Check that the right side of the button has no
shadow.

#) Make sure that no error messages are printed in the xterm window.

C)
	 Press Exit to end the test.  
         Goodbye.
E)