QA/FVT/FVTRefactor

From Apache OpenOffice Wiki
< QA‎ | FVT
Jump to: navigation, search

Target

  1. Remove unused code, like some ignore test method, remove/verify.
  2. Integrate/extract common methods, like save/load.
  3. Integrate/Simplify util classes.
  4. Ensure Before/Before Class/After/After Class method have enough setup/clear invoke.
  5. Integrate/Split classes
  6. Unify Naming Style: Try to use noun to name class, not suggest to use "_" in class/method name.
  7. Assert message is error message on failure, need modify message in the right way.
  8. Add java doc to description method target.


Finish result

FVT type

Total class count

Complete class count

Complete rate

GUI

22

22

100%

UNO

133

19

14%

Util

11




GUI FVT

Editor


Classes

Method Count

Refactor?

Owner

Formula

Catalog

AddDeleteSymbolsFromCatalog

4

Y

WangLifeng



InputCharacterFromCatalogDlg

3

Y

WangLifeng


importexport

CreateFormulaInDifferentWays

4

Y

WangLifeng

SC

Cell

InserCells

1

Y

WangLifeng


Chart

ChartDialogSetting

1

Y

WangLifeng


Datapilot

DataPivotTable

17

Y

WangLifeng


Filter

sFilter

1

Y

WangLifeng


Rowcolumn

InsertRowAndColumn

1

Y

WangLifeng


Sheet

InsertSheet

2

Y

WangLifeng


Sort

SortDialogSetting

11

Y

WangLifeng


Subtotal

SubtotalsFunctions

13

Y

WangLifeng


validity

ValidityDateSupport1024Columns

1

Y

WangLifeng



ValidityDialogDefaultValue

2

Y

WangLifeng



ValidityDialogSetting

12

Y

WangLifeng



ValiditySampleFile

3

Y

WangLifeng

SD

Headerandfooter

HeaderAndFooterSetting

12

Y

WangLifeng



OpenDocumentWithHeaderFooter

2

Y

WangLifeng


shape

ShapeTypes

2

Y

WangLifeng


table

ChangeTableBackgroundProperty

1

Y

WangLifeng



ChangeTableBorderProperty

1

Y

WangLifeng



ChangeTableFontEffectsProperty

1

Y

WangLifeng

SW


TableGeneral

15

Y

WangLifeng


UNO FVT

Editor


Classes

Method Count

Refactor?

Owner

DB


DBAccess

2



SC

cell

CellAlighment

1





CellBorder

1





CellColor

1





CellEffectOverline

1





CellEffectUnderline

1





CellFontSize

1





CellProtected

1





DeleteContents

2





InsertDeleteCells

2




chart

ChartAxis

2





ChartDataLabel

1





ChartGrid

2





ChartLegend

2





ChartMeanValueLine

1





ChartTitle

3





ChartTrendline

1





ChartType

1





ChartYErrorBar

1




data

AdvanceFilter

1





DataSort

4

Y

Terry Yang



StandardFilterOption

6

Y

Terry Yang



StandardFilterTest

1

Y

Terry Yang



SubtotalsForGroup

2





SubtotalsFunction

1





ValidityTypeTest

1

Y

Terry Yang


formula

AddtionOperatorInFormula

1




rowcolumn

CellMerge

1





CreateShowHideEditDeleteComments

2





InsertDeleteRowAndColumn

2





ResizeHideShowRowColumn

2




Sheet

SheetBasicTest

6

Y

Terry Yang

SD

animation

CustomAnimation

1





TextAnimation

1




Bullet

CheckBulletStyle

1





CheckBulletStyle

2





GraphicBulletFromFile

1





NumberingBulletTypes

1





NumberingProperty

11




character

CheckCharacterStyle

5




chart

ChartData

3





ChartProperties

12





ChartTypes

6




file

CheckFileProperties

23




graphic

GraphicPro_Border

2





GraphicPro_Position

1





GraphicPro_Size

1




paragraph

ParagraphStyle

1





ParagraphTextProperty

1




shape

ShapeProperties

10





ShapeTypes

2




slideshow

CustomShow

1





SlideShow

1




textbox

FillProperties

4





LineProperties

2



SW

bookmark

CheckBookmarks

3

Y

DuJing


break

CheckBreaks

2




Crossreference

CheckCrossReference

1




field

CheckDateTimeField

4





PageCountField

2





PageNumberField

2





SubjectField

1





TitleField

1




frame

CheckFrames

1





Insert Frame

1

Y

DuJing



Frame Shadow

5

Y

DuJing




Frame BackColor

1

Y

DuJing



Frame BackGraphic

11

Y

DuJing



Frame Border

1

Y

DuJing



Frame BorderSpacingtoContent

1

Y

DuJing



Frame AnchorType

4

Y

DuJing



Frame Description

1

Y

DuJing



Frame Hyperlink

1

Y

DuJing



Frame position

6

Y

DuJing



Frame Size

1

Y

DuJing



Frame WrapType

6

Y

DuJing


page

CheckBackColor

1





CheckBackGraphic

1





CheckBorder

1





CheckFooterHeader

1





CheckPage

1





CheckPageLayout

1





CheckShadowFormat

1




paragraph

ParagraphAlignment

4





ParagraphBackColor

1





ParagraphBackGraphic

12





ParagraphBorder

1





ParagraphDropcap

1





ParagraphIndentAndSpacing

2





ParagraphInsertBreak

14





ParagraphLineSpacing

7





ParagraphNumberingAndBullet_CharacterBullet

2





ParagraphNumberingAndBullet_Graphic_Alignment

9





ParagraphNumberingAndBullet_Graphic_WidthAndHeight

1





ParagraphNumberingAndBullet_Graphic

1





ParagraphNumberingAndBullet_Number_BeforeAndAfterCharacter

1





ParagraphNumberingAndBullet_Number_StartWith

1





ParagraphNumberingAndBullet_Numbering

8





ParagraphNumberingAndBulletAlignment

3





ParagraphNumberingAndBulletCharacterStyle

26





ParagraphNumberingAndBulletIndentAtAndAlignAt

1






ParagraphNumberingAndBulletTabStop

1





ParagraphOutlineAndNumbering

2





ParagraphShadow

5





ParagraphSpacingtoBorder

1





ParagraphTabs

5





ParagraphTexttoTextAlignment

5




puretext

CharacterBackColor

1





CharacterBlink

1





CharacterChangeCase

1





CharacterColor

1





CharacterEmphasis

1





CharacterFontname

1





CharacterHidden

1





CharacterHyperlink

1





CharacterLocale

1





CharacterOutline

1





CharacterPosition

1





CharacterRelief

1





CharacterRotationAndScaleWidth

3





CharacterShadow

1





CharacterSize

1





CharacterSpacing

3





CharacterStrikeThrough

1





CharacterStyle

1





CharacterUnderline

1





InsertCharacterToTable

1




table

TableBasic

9





TableBorderSpacingtoContent

1





TableCellProtect

1





TableInsertBreak

13





TableName

1





TableVerticalAlignment

3




Document

Document Basic

6

Y

DuJing

UNO Utils(testlib.uno)

Refactor?

Owner

CellInfo



ChartUtil



DBUtil



GraphicUtil



HsqlColumnDescriptor



PageUtil



SCUtil



SDUtil



ShapeUtil



SWUtil



TestUtil



Personal tools