C# Class SIL.FieldWorks.Discourse.LogicTest

Inheritance: SIL.FieldWorks.FDO.FDOTests.InDatabaseFdoTestBase
显示文件 Open project: sillsdev/FieldWorks

Protected Methods

Method Description
CreateTestData ( ) : void

Private Methods

Method Description
AssertMergeAfter ( bool expectedState, IConstituentChartCellPart cellPart, string message ) : void
AssertMergeBefore ( bool expectedState, IConstituentChartCellPart cellPart, string message ) : void
AssertUsedAnalyses ( AnalysisOccurrence allParaOccurrences, int removedAnalyses ) : void

Verifies that the specified number of analyses have been removed from the start of the original list.

ChangeColumn ( ) : void
ChangeRow ( ) : void
DeleteCellParts ( ) : void
InsertAndRemoveMarker ( ) : void
MakeAnalysesUsedN ( int nUsedAnalyses ) : AnalysisOccurrence[]

Call MakeAnalyses, then cache all but the first nUsedAnalyses of them as the value of the OccurrenceList.

MakeDepClause ( ) : void
MakeMovedEmptyChart ( ) : void
MakeMovedOnSameRow ( ) : void
MakeMovedTextMarker ( IConstChartRow row, int icol, IConstChartWordGroup target, bool fPreposed ) : IConstChartMovedTextMarker
MakeMovedWithCollidingMarker ( ) : void
MakeRow ( string lineNo ) : IConstChartRow
MakeThreeDepClauses ( ) : void
MakeWordGroup ( IConstChartRow row, int icol, AnalysisOccurrence begPoint, AnalysisOccurrence endPoint ) : IConstChartWordGroup
MergeLeft ( ) : void
MoveFirstOccurrenceToCol1 ( ) : void
MoveSecondWordToSameCol ( ) : void
MoveWithNoSelectionAvailable ( ) : void
MoveWordToSameRowLaterColBeforeMtm ( ) : void
VerifyChangeColumn ( IEnumerable cellPartsToMove, ICmPossibility column, string message ) : void
VerifyChangeRow ( IConstChartRow rowSrc, IEnumerable cellPartsToMove, IConstChartRow rowDst, string message, int ihvoDest ) : void
VerifyDependentClause ( int irow, int icellPart, ICmPossibility column, IConstChartRow depClauses ) : void

Verify that there is a row with the specified index that has a cell part (subclass ConstChartClauseMarker) with the specified index which belongs to the specified column and points to the specified array of ConstChartRows.

VerifyInsertMarker ( ICmPossibility marker ) : void
VerifyMakeDepClause ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMakeMovedEmptyChart ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMakeMovedOnSameRow ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMakeMovedWithCollidingMarker ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMakeThreeDepClauses ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMoveFirstOccurrenceToCol1 ( AnalysisOccurrence allParaOccurrences, int cSelectExpected ) : void
VerifyMoveOccurrenceToSameRowLaterColBeforeMtm ( AnalysisOccurrence allParaOccurrences, IConstChartWordGroup wGrp01, int cExpectCSelect ) : void
VerifyMoveSecondOccurrenceToSameCol ( AnalysisOccurrence allParaOccurrences, int cExpectCSelect ) : void
VerifyMovedText ( int irow, int icellPart, ICmPossibility column, IConstChartWordGroup wordGrp, bool fPrepose ) : void

Verify that there is a row with the specified index that has a cell part (subclass ConstChartMovedTextMarker) with the specified index which belongs to the specified column and points to the specified WordGroup object in the right direction.

VerifyRemovedMarker ( AnalysisOccurrence allParaOccurrences ) : void
VerifyRow ( int index, string rowNumber, int cAppliesTo ) : void

Verify that the specified row of the chart exists and has the expected row-number comment and number of rows. Also that it is a ChartRow.

VerifyTag ( int irow, int icellPart, ICmPossibility column, ICmPossibility tagPoss ) : void

Verify that there is a row with the specified index that has a cell with the specified index which belongs to the specified column and has a ConstChartTag of the specified possibility.

VerifyWordGroup ( int irow, int icellPart, ICmPossibility column, List words ) : void

Verify that there is a row with the specified index that has a cell with the specified index which belongs to the specified column possibility and contains cells with the specified words.

Method Details

CreateTestData() protected method

protected CreateTestData ( ) : void
return void