StructureAlignCenters
                        7/15/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Structure -> Align -> Centers.

 

  0 selected Drawing

  Components.

 

Don’t crash

Error range

Pass.

2

Structure -> Align -> Centers

 

  1 selected text item.

 

Do nothing.

One

This has some rather peculiar behavior,

I’m not sure what it’s aligning to.

 

3

Structure -> Align -> Centers.

 

Selected:

  A Line

  A Multiline

  A Curve

  Text: “HI Dave”

Align based on each Drawing Components center point.

 

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 -> Centers.

 

Selected:

  3 Line

  3 Multiline

  Curve

   Ellipse

   Rectangle

   Text: “HI DAVE”

 

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

I’m not to sure about the criteria for center point. 

 

Additionally, some objects can be truncated from the left of the screen based on the current implementation of centerpoint aligning.

 

 

 

5

Structure -> Align -> Centers.

 

  0 selected  Components.

 

Don’t crash

Error range

 

6

Structure -> Align -> Centers

 

  1 selected textbox.

 

Do nothing.

One

 

7

Structure -> Align -> Centers.

 

Selected:

  A Textbox

  A Button

Fail.  A RadioButton

 

Some

Fail.

8

Structure -> Align -> Centers.

 

Selected:

  3 Textbox

  3 Button

  3 RadioButton 

  3 Checkboxes

  3 Tables

  A Scrollbar

  A Slider

 

A bunch

Fail.

9

Structure -> Align -> Centers.

 

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.