ToolsPropertyEditor-Checkbox
                       7/11/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Tools -> PropertyEditor

   Selected Checkbox.

The proper editor dialog for each component should appear.  Each input on that dialog is tested in the appropriate section for the component type.

 

 

2

Tools -> PropertyEditor

   Selected Checkbox

Proper editor appears

 

 

3

Tools -> PropertyEditor

   CheckboxEditor

   Name: new chckbox

   Visible Selected

   Update button pressed.

Rename the Checkbox in the editor.

Name field

Pass

(Although the tab is not renamed until the dialog is closed and then re-opened).

4

Tools -> PropertyEditor

   CheckboxEditor

   X:  20

   Y:  50

   Visible Selected

   Update button pressed.

Checkbox moved to absolute position of pixels indicated.

Component location

Pass

 

5

Tools -> PropertyEditor

   CheckboxEditor

   X:  -5

   Y:  50

   Visible Selected

   Update button pressed.

Checkbox moved according to pixels indicated.

X: negative

Y: positve

Pass

(I don’t believe this is related to the object going out of focus if the mouse is dragged off of the current canvas window, see SCO’s 7/8/03)

6

Tools -> PropertyEditor

   CheckboxEditor

   X:  5

   Y:  -50

   Visible Selected

   Update button pressed.

 

X: positive

Y: negative

 

 

Pass

(I don’t believe this is related to the object going out of focus if the mouse is dragged off of the current canvas window, see SCO’s 7/8/03)

7

Tools -> PropertyEditor

   CheckboxEditor

   X:  -5

   Y:  -50

   Visible Selected

   Update button pressed.

 

Component location

X, Y negative

Pass

(I don’t believe this is related to the object going out of focus if the mouse is dragged off of the current canvas window, see SCO’s 7/8/03)

 

8

Tools -> PropertyEditor

   CheckboxEditor

   Height:  30

   Width:   100

   Visible Selected

   Update button pressed.

Checkbox resized to 30, 100

Make it smaller

Original size:

H: 52

W: 273

The height is not adjustable.

9

Tools -> PropertyEditor

   CheckboxEditor

   Height:  200

   Width:   230

   Visible Selected

   Update button pressed.

Checkbox resized to 200, 230

Make it bigger

Original size:

H: 52

W: 100

The height is not adjustable.

10

Tools -> PropertyEditor

   CheckboxEditor

   Height:  500

   Width:   500

   Visible Selected

   Update button pressed.

Checkbox resized to 500, 500

Make it really big

Original size:

H: 52

W: 230

The height is not adjustable.

11

   Tools -> PropertyEditor

   CheckboxEditor

   Height:  25

   Width:   25

   Visible Selected

   Update button pressed.

Checkbox resized to 25, 25

Make it really small

Original size:

H: 500

W: 500

The height is not adjustable.

 

Can make it absurdly small.

12

Tools -> PropertyEditor

   TextboxEditor

   Height:  -25

   Width:   -25

   Visible Selected

   Update Textbox pressed.

 

Illegal negative

dimensions

It will let you give the button negative size, but it is recoverable through the property editor dialog.

13

Tools -> PropertyEditor

   TextboxEditor

   Height:  0

   Width:   0

   Visible Selected

   Update Textbox pressed.

 

Don’t crash on zero

Pass

14

Tools -> PropertyEditor

   CheckboxEditor

   Visible UnSelected

Checkbox removed from canvas

window.

Visibility

Pass

15

Tools -> PropertyEditor

   CheckboxEditor

   Visible Selected

Get the Checkbox back

 

Pass

 

16

Tools -> PropertyEditor

   CheckboxEditor

   Enabled: off

   Visible Selected

   Update Textbox pressed.

   

    Edit Mode: Run

 

 

Make sure the script

will not be activated

in ‘Run’ mode, when

The component is t

not ‘Enabled’

 

17

Tools -> PropertyEditor

   CheckboxEditor

   Visible Selected

Get the enabled Checkbox back

 

 

18

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox2  

 

   Select and remove both

   Checkbox labels

 

   Visible Selected

   Update button pressed.

An empty check list

Check lists –Remove

operations.

These don’t make much sense, but you never know what someone will do. 

 

There’s a Component according to the Component counter, but it doesn’t seem to be recoverable.

19

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox2  

 

   Select and remove chkbox2

 

   Visible Selected

   Update button pressed

A check list with Checkbox1

 

The rendering of the bottom of the box is missing.

20

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox2  

 

   Highlighted member:

            Checkbox2

   Add to list Checkbox4”

 

   Visible Selected

   Update button pressed

A check list with the added labels placed below the highlighted list member.

 

A check list:

   Checkbox1

   Checkbox2

   Checkbox4

Check lists –Add

operations.

 

 

Add to end of list

Pass

 

 

 

21

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox2

           Checkbox4  

 

   Highlighted member:

            Checkbox2

   Add to list “Checkbox 3”

 

   Visible Selected

   Update button pressed

A check list:

   Checkbox1

   Checkbox2

   Checkbox3

   Checkbox4

Add to middle of list

Pass

 

 

22

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

         Checkbox1

         Checkbox2

         Checkbox3

         Checkbox4

 

   Add to list “Checkbox0”

 

   Visible Selected

   Update button pressed

A check list:

   Checkbox0

   Checkbox1

   Checkbox2

   Checkbox3

   Checkbox4

Add to beginning of list.

Not supported.

23

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox2  

 

   Highlighted member:

            Checkbox2

   Add to list “Checkbox 3”

   Remove Checkbox2 from list

 

   Visible Selected

A check list:

   Checkbox1

   Checkbox3

Interleave Add and remove operations.

Pass

 

 

 

 

24

Tools -> PropertyEditor

   CheckboxEditor

   Check list:

           Checkbox1

           Checkbox3  

 

   Remove Checkbox1 from list

   Highlighted member:

            Checkbox3

   Add to list “Checkbox 4”

  

   Highlighted member:

            Checkbox3

    Add to list “Checkbox5”

 

    Remove Checkbox3

  

A check list:

   Checkbox5

   Checkbox4

 

Pass

25

Tools -> PropertyEditor

   CheckboxEditor

   Icon Choose Button

   Visible Selected

   Update button pressed.

Cant seem to find how this is supposed to work

 

No response

26

Tools -> PropertyEditor

   ButtonEditor

   Change all values of

   Component.

        Name: Dave

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: off

       Visible: off

        Check list:

           Checkbox1

           Checkbox2

           Checkbox3

       Icon: none

 

   Reset Button pressed

   Visible Selected

   Update button pressed.

The Components attributes are returned to what they previously were.

 

Name: Checkbox Group 5

X: 128

Y: 136

Height: 52

Width: 290

Enabled: on

Visible: on

Check list:

           Checkbox1

           Checkbox2

Icon: none

Base

Pass

27

Tools -> PropertyEditor

   CheckboxEditor

   Change all values of

   Component.

        Name: button2

        X: 7

        Y: 45

        Height: 80

       Width: 200

       Enabled: on

       Visible: off

       Check list:

           Checkbox1

           Checkbox2

           Checkbox3

       Icon: none

 

   Update button pressed.

   Reset Button pressed

   Visible Selected

   Update button pressed.

The Components attributes can be returned to what they previously were despite an update.

 

X: 128

Y: 136

Height: 52

Width: 290

Enabled: on

Visible: on

Check list:

           Checkbox1

           Checkbox2

Icon: none

Interleave

Pass