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: Text10.dat /main/7 1995/07/13 19:25:52 drk $"
*/
/* test case for PIR 3317 */
@) Two text widgets were created using the helvetica1 font.
#) Click on the helvetica2 font to change both widgets to the larger font.
Both widgets should grow in width but their columns should remain
unchanged.  The width and column data is displayed in the stdout window.
#) Click on the helvetica1 font to change the widgets back to the
smaller font.  Both widgets should shrink in width and keep the
same column count.
/* end of test case for PIR 3317 */
C)
/*
 * PIR CLOSED, test case invalid
 * test case for PIR 3753 *
#) Press and hold MB1 on the helvetica2 ToggleButton.  While it is 
being held, the font should change for the text widget.
#) Without moving the mouse, release MB1.  Confirm that the ToggleButton
indicator for the helvetica2 button appears depressed and all other
ToggleButtons do not.
#) Press and hold MB1 on the helvetica3 ToggleButton.  While it is
being held, the font should change again for the text widget.
#) Move the pointer outside the test window and release the MB1.
The ToggleButton indicator for the helvetica2 button should still appear
depressed and the indicator for helvetica3 should not.
 * end of test case for PIR 3753 *
C)
*/
/* test case for PIR 2648 */
@) A resizable Text widget is displayed. 
@) The following resources have been set:
!)     XmNrows = 3
!)     XmNcolumns = 20

@) The text displayed in the widget should consist of, one row of numbers, 
one row of the letter "m" and one row of the number "0". 

#) Select the first fontname in the radiobox.
#) Verify that there are at least twenty characters displayed in the
text widget. This can be done by clicking MB1 at the beginning of
a row of text and then clicking KRight counting each of characters
until the end of the row.
#) Repeat the above test for each of the fonts in the radiobox.
/* end of test case for PIR 2648 */
E)