C# Class SIL.FieldWorks.SharpViews.SharpViewsTests.ParaTests

Inheritance: SIL.FieldWorks.Test.TestUtils.BaseTest
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Private Methods

Method Description
BackgroundAndUnderlinePainting ( ) : void
CheckMultipleRuns ( RootBox root ) : void
FindBoxAt ( ) : void
FirstMockSegment ( RootBox root ) : MockSegment

Assuming the first box in the root is a paragraph, and its first box is a string box with a mock segment, return it.

IchMinOfSecondStringBox ( RootBox root ) : int
PaintParaBox ( ) : void
SecondMockSegment ( RootBox root ) : MockSegment

Assuming the first box in the root is a paragraph, and its second box is a string box with a mock segment, return it.

Setup ( ) : void
SetupFakeRootSite ( RootBox root ) : void
SimpleString ( ) : void
StylesAppliedToEditableRuns ( ) : void
StylesAppliedToRuns ( ) : void
Teardown ( ) : void
TestClick ( ) : void
TopLeftOfSecondStringBox ( RootBox root ) : Point
VerifyCharPlacementCall ( FakeSegment seg1, int ichBase, int ichMin, int ichLim, Rect rcSrc, Rect rcDst, IVwGraphics vg, int cxdMax ) : void
VerifyDraw ( List drawActions, int &position, FakeSegment seg ) : void
VerifyHorzLine ( List drawActions, int &position, int xLeft, int xRight, int y, int dyHeight, int rgdx, int dxStart ) : void
VerifyLine ( List drawActions, int &position, int xLeft, int yTop, int xRight, int yBottom, uint clr ) : void
VerifyNbDraw ( List drawActions, int &position, FakeSegment seg ) : void
VerifyRect ( int x, int y, int width, int height, MockGraphics graphics, int index, Color color ) : void
VerifySimpleRect ( Rect r, int left, int top, int width, int height ) : void