StructureAlignHorizontalcenter
                        7/15/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Structure -> Align -> Horizontalcenter.

 

  0 selected Drawing

  Components.

 

Don’t crash

Error range

Pass.

2

Structure -> Align -> Horizontalcenter

 

  1 selected text item.

 

Do nothing.

One

Pass.

 

3

Structure -> Align -> Horizontalcenter.

 

Selected:

  A Line

  A Multiline

  A Curve

  Text: “HI Dave”

I’m not sure how it’s picking what to align on, but it does a pretty nice job.

 

Don’t Distort or damage

shapes.

Some

There’s an issue with ‘Curves’ as points are left click recorded that are well outside the boundary of the final curve when it’s done.

4

Structure -> Align -> Horizontalcenter.

 

Selected:

  3 Line

  3 Multiline

  Curve

   Ellipse

   Rectangle

   Text: “HI DAVE”

 

A bunch, various positions in the window and varying overlap.

Pass.

 

 

 

5

Structure -> Align -> Horizontalcenter.

 

  0 selected  Components.

 

Don’t crash

Error range

 

6

Structure -> Align -> Horizontalcenter

 

  1 selected textbox.

 

Do nothing.

One

 

7

Structure -> Align -> Horizontalcenter.

 

Selected:

  A Textbox

  A Button

Fail.  A RadioButton

 

Some

Fail.

8

Structure -> Align -> Horizontalcenter.

 

Selected:

  3 Textbox

  3 Button

  3 RadioButton 

  3 Checkboxes

  3 Tables

  A Scrollbar

  A Slider

 

A bunch

Fail.

9

Structure -> Align -> Horizontalcenter.

 

Selected:

  A Textbox

  A Button

  A RadioButton

  A Line

  A Multiline

  A Curve

This should only move the items that are of the type selected with the arrow tool from a particular tool bar.

 

i.e, if the items are selected with the Drawing Toolbar arrow tool, the Drawing Components will be aligned.

Interleave

Components fail.