StructureAlignRight_to_left
                        7/15/03

Case

No.

Inputs

Expected Outputs

Remarks

Result

1

Structure -> Align -> Right_to_left.

 

  0 selected Drawing

  Components.

 

Don’t crash

Error range

Pass.

2

Structure -> Align -> Right_to_left

 

  1 selected text item.

 

Do nothing.

One

Pass.

3

Structure -> Align -> Right_to_left.

 

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.

 

I couldn’t find any specification that says how the alignment is done based on the order of items selected.

Some

So far, so good w/o explicit specification.

4

Structure -> Align -> Right_to_left.

 

Selected:

  3 Line

  3 Multiline

  Curve

   Ellipse

   Rectangle

   Text: “HI DAVE”

 

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

So far, so good w/o explicit specification.

 

 

 

5

Structure -> Align -> Right_to_left.

 

  0 selected  Components.

 

Don’t crash

Error range

 

6

Structure -> Align -> Right_to_left

 

  1 selected textbox.

 

Do nothing.

One

 

7

Structure -> Align -> Right_to_left.

 

Selected:

  A Textbox

  A Button

  A RadioButton

 

Some

Fail.

8

Structure -> Align -> Right_to_left.

 

Selected:

  3 Textbox

  3 Button

  3 RadioButton 

  3 Checkboxes

  3 Tables

  A Scrollbar

  A Slider

 

A bunch

Fail.

9

Structure -> Align -> Right_to_left.

 

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.