StructureArrangeBring_to_front
                                   7/20/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Structure -> Align -> Bring_to_front.

 

  0 selected Drawing

  Components.

 

All cases were tested with overlapping components in the same layer only.

 

Don’t crash

Error range, none

Pass.

2

Structure -> Align -> Bring_to_front

 

  1 selected Rectangle.

 

Do nothing.

One

Pass.

3

Structure -> Align -> Bring_to_front.

 

Unselected:

  A Rectangle

 

Selected:

  A Line

 

Used colored objects to ensure that the selected component, when partially hidden by the unselected component, would appear to be on top of the unselected component after the command.

The basic, most common case.

Pass.

4

Structure -> Align -> Bring_to_front.

 

(The order listed is reverse depth, the line is on top of the ellipse, which is on top of the rectangle)

 

Unselected:

  A Line

  An Ellipse 

 

Selected:

  A Rectangle

 

 

A few

Pass.

5

Structure -> Align -> Bring_to_front.

 

Selected: (Ungrouped)

  A Rectangle

  An Ellipse

  A Polygon

  A Shape

   

Unselected:

  A Line

  An Ellipse

  A Polygon

  A Shape

 

 

A bunch

There’s some weirdness here. It doesn’t appear to be treating multiply selected objects as a group.

6

Structure -> Align -> Bring_to_front.

 

  0 selected  Components.

 

Don’t crash

Error range

Fail

7

Structure -> Align -> Bring_to_front

 

  1 selected textbox.

 

Do nothing.

One

Fail

8

Structure -> Align -> Bring_to_front.

 

Selected:

  A Textbox

 

Unselected:

  A Button

 

The basic, most common case.

Fail

9

Structure -> Align -> Bring_to_front.

 

Selected:

  A Textbox

  A Button

 

Selected:

  A RadioButton

 

A few

Fail

10

Structure -> Align -> Bring_to_front.

 

Selected:

  3 Textbox

  3 Button

  3 RadioButton 

 

Unselected:

  A table

  A Button

  2 Checkbox

 

 

A bunch

Fail