Blob Blame History Raw
# @)  This testcase should be run with the option \"-u DROP_DOWN_LIST\". 
# A ComboBox widget of type DROP_DOWN_LIST should be displayed.  
# A ComboBox should display a List widget.

# #) Verify that the ComboBox List displays three strings \"Mother\",
# \"Father\", \"Sister\" are displayed and \"Brother\" is not
# and that the scrollbar slider to the right of the List does not
# fill the trough. (ComboBox8 TP1)
# C)

CompareVisual ComboBox3
Continue

# #) When the last item is programmatically selected with SelectItem, the
# first item is no longer highlit, and the last item is NOT made visible.
# (ComboBox8 TP2)
# C)

CompareVisual ComboBox3
Continue

# #) If you click MB1 on the down arrow of the ComboBox, the list displays the
# last (highlit) item, \"Brother\" and \"Mother\" scrolls off the top of the
# displayed list. (ComboBox TP3)
# C)

LocatePointer ComboBox3 RDownOrRightArrow
ClickMB Btn1
CompareVisual ComboBox3
Continue

# #) If you programmatically call SelectItem with a string that doesn't match
# any in the list, the list is unchanged and a warning appears on stdout.
# (ComboBox TP4)
# C)

CompareVisual ComboBox3
Continue

# #) If you call programatically call XmComboBoxSetItem with an Xm String item
# that matches the second XmString item in the List, it updates the ComboBox
# list by highlighting the set XmString item and displaying it as the first
# item in the List.  No other XmSTring items shouldbe highlighted. (ComboBox8
# TP5)
# C)

CompareVisual ComboBox3
Continue

# #) Calling XmComboBoxSetItem with an XmString item that matches the first
# XmString item in the List scrolls the List upward to display the first
# XmString item as the first item in the List; the first XmString item is
# highlighted and all other items are unhighlighted. (ComboBox8 TP6)
# C)

CompareVisual ComboBox3
Continue

# #) Calling XmComboBoxSetItem with an XmString item that matches the last
# XmString item in the list scrolls the list downward to display the last
# XmString item as the first item in the list; the set XmString item is
# highlighted (ComboBox8 TP7)
# C)

CompareVisual ComboBox3
Continue

# E)
Exit