Blob Blame History Raw
# $XConsortium: SpinBox1a.scr /main/4 1995/07/17 20:39:12 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 should have been run with the flag "-u 1".
# #) A SpinBox with 2 Text children will appear on your screen. One will
#    be STRING and one NUMERIC.
#    The item displayed in the STRING child should be "B".
# #) The item displayed in the NUMERIC child should be 0.03.

CompareVisual TextF1 
CompareVisual TextF2 

# #) The two arrows should be to the left of the Text widgets, and horizontally
#     adjacent to each other.
CompareVisual SpinBox1

# #) Set focus to the STRING child. Only the decrement (left) arrow should be
# sensitive.

LocatePointer TextF1
ClickMB Btn1
CompareVisual SpinBox1

# #) Set focus to the NUMERIC child. Only the increment (right) arrow should be
# sensitive.
LocatePointer TextF2
ClickMB Btn1
CompareVisual SpinBox1

# #) No warnings should appear on the term window, indicating uninstalled
#    or incorrect resource converters.

# C)
Continue

# E)
Exit