# $XConsortium: Container1l.scr /main/4 1995/07/17 20:14:44 drk $ # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # HISTORY # #) This is the Container1 Test run with option "-I Container1l.Dat -u l". # C) # # #) The container widget should be displayed in its LARGE_ICON view, # with a DETAIL layoutType. # #) There should not be any column header. # There should be only one column displayed. # #) There should be 4 rows of IconGadgets. # #) Each row should display pixmap-label combination of an IconGadget # in the first column, with the pixmap displaying the letter "L" on # a black background and the label text should display "IconGad1", # "IconGad2", "IconGad3" and "IconGad4" respectively. # #) The first row is selected with an aquamarine color. # #) Move the pointer into the "Container1" window. The first row should have # the focus, highlighted with a red dashed border around it. # C) Continue CompareVisual Container1l LocatePointer Container1l CompareVisual Container1l Continue # #) The selectionPolicy is MULTIPLE_SELECT. Row 1 is already selected. # #) Click BSelect on row 1. Row 1 should get deselected. # #) Press BSelect on row 1 and drag to row 3. # #) As soon as you press BSelect on row 1, row 1 should get selected. # #) As you drag the pointer over each item, that item should get selected # #) Release BSelect on row 3. Rows 1, 2 and 3 should be selected. # #) Also, you should see the following message on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 3 # Names of items selected: IconGad1 IconGad2 IconGad3 # # #) The location cursor should stay on row 1. # #) Now click BSelect on row 3. Location cursor should move to row 3 # and row 3 should get deselected. # #) Also, you should see the following message on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 2 # Names of items selected: IconGad1 IconGad2 # C) LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container1l PressMB Btn1 CompareVisual Container1l LocatePointer IconGad3 ReleaseMB Btn1 CompareVisual Container1l ClickMB Btn1 CompareVisual Container1l Continue # #) Click BSelect on row 1. Row 1 should get deselected and you should # see the following message on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 1 # Names of items selected: IconGad2 # # #) Click BSelect on row 2. Row 2 should get deselected and you should # see the following message on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 0 # Names of items selected: # # #) Click BSelect on row 1. Location cursor should move to row 1, row 1 # should get selected and you should see the following message on the # term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 1 # Names of items selected: IconGad1 # # #) Move the pointer over row 3. With key pressed, click BSelect. # #) Rows 1, 2 and 3 should get selected and you should # see the following message on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 3 # Names of items selected: IconGad1 IconGad2 IconGad3 # # #) The location cursor should move to row 3. # C) LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container1l LocatePointer IconGad2 ClickMB Btn1 CompareVisual Container1l LocatePointer IconGad1 ClickMB Btn1 CompareVisual Container1l LocatePointer IconGad3 ClickMB Btn1 CompareVisual Container1l Continue # #) Click BSelect on each of the selected items. Each item should # get deselected. # #) Now press BSelect on row 1. Location cursor should move to row 1 and # row 1 should get selected. # #) With BSelect pressed, drag the pointer over to row 4. # #) As you drag over each of the rows 2, 3, and 4, that row should get # selected. # #) With BSelect pressed still, drag the pointer back over rows 4, 3, 2 # back to 1. # #) As you drag over each of the rows 4, 3, and 2, that row should get # deselected. # #) With pointer over row 1, release BSelect. # #) Only row 1 should get selected and you should see the following message # on the term window: # !) # Reason for SelectionCallback: CR_MULTIPLE_SELECT # Number of items selected: 1 # Names of items selected: IconGad1 # C) LocatePointer IconGad1 ClickMB Btn1 LocatePointer IconGad2 ClickMB Btn1 LocatePointer IconGad3 ClickMB Btn1 CompareVisual Container1l LocatePointer IconGad1 PressMB Btn1 CompareVisual Container1l LocatePointer IconGad4 CompareVisual Container1l LocatePointer IconGad1 ReleaseMB Btn1 CompareVisual Container1l Continue # E) Exit