C# 클래스 SIL.FieldWorks.TE.KeyTermsTests

상속: SIL.FieldWorks.TE.TeTestBase
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
FixtureSetup ( ) : void

Initializes the tests for testing.

ModifyRunAt ( IStTxtPara para, int ichMin, int ichEnd, string replacement ) : void

Modify the run of the text by the given bounds with the replacement string.

보호된 메소드들

메소드 설명
CreateTestData ( ) : void

비공개 메소드들

메소드 설명
AddBookMark ( ) : IScrBook
AppendMarkOccurrencesToKeyTerm ( IChkTerm keyTerm1 ) : void
AppendRunWithAlternativeVernacularEquivalentForKeyTerm ( IStTxtPara para, string sKeyTerm, string alternative, string verseNumber, int bcv ) : void
ApplyBookFilterToKeyTermsTree ( ) : void
AssignAlternativeRenderingForWordsKeytermInMatthew ( ) : void

Setup "conversation" as an alternative vernacular equivalent to "words"

AssignVernacularEquivalent ( ) : void
AssignVernacularEquivalentForWordsKeytermInMatthew1_1 ( ) : void

Assigns "words" in the draft of Matthew 1:1 to be a vernacular equivalent for "words" keyterm.

AssignVernacularEquivalent_AfterAutoAssign ( ) : void
AssignVernacularEquivalent_AtVerseBridgeEnd ( ) : void
AssignVernacularEquivalent_AtVerseBridgeStart ( ) : void
AssignVernacularEquivalent_MultipleBooks ( ) : void
AssignVernacularEquivalent_WholeWords ( ) : void
AssignVernacularEquivalent_WithFootnoteEmbedded ( ) : void
AssignVernacularEquivalent_WithinVerseBridge ( ) : void
CheckRenderingAndStatus ( string expectedRendering, KeyTermRenderingStatus expectedStatus, IChkRef chkRef ) : void
CheckRenderingsCount ( int expectedCount, TreeNode nodeToSelect ) : void
CreateChkRef ( IChkTerm keyTermPossible, int bcv ) : IChkRef
CreateChkTerm ( string name ) : IChkTerm
CreateSubChkTerm ( IChkTerm parentKeyTerm, string name ) : IChkTerm
LoadRenderingsAndSelectOccurrenceInRenderingCtrl ( IChkTerm term, int iOccurrence ) : IChkRef
ReplaceVerseText ( IStTxtPara para, int bcvToReplace, string replacement, TextSelInfo &tsiBeforeEdit, TextSelInfo &tsiAfterEdit ) : void
SelectTerm ( string sTerm ) : IChkTerm
SelectTermAndOccurrence ( string sTerm, int iOccurrence ) : IChkTerm

Selects the given term in the KT tree and the given occurrence in the list of occurrences.

SelectWordsKeytermInMatthew1_1 ( ) : void
SetCurrentLineInRenderingCtrl ( int index ) : void

SetupKeyTermsForMark ( ) : IChkTerm

Add occurrences to "words" occurrences.

TestTearDown ( ) : void
UpdateKeyTermEquivalents_ChangesForUnassignedOccurrence ( ) : void
UpdateKeyTermEquivalents_ChangesToExplicitlyAssignedOccurrence ( ) : void
UpdateKeyTermEquivalents_ChangesToExplicitlyIgnoredOccurrence ( ) : void
UpdateKeyTermEquivalents_ChangesToImplicitlyAssignedOccurrence ( ) : void
UpdateKeyTermEquivalents_RescanWithNoChanges ( ) : void

메소드 상세

CreateTestData() 보호된 메소드

protected CreateTestData ( ) : void
리턴 void

FixtureSetup() 공개 메소드

Initializes the tests for testing.
public FixtureSetup ( ) : void
리턴 void

ModifyRunAt() 공개 메소드

Modify the run of the text by the given bounds with the replacement string.
public ModifyRunAt ( IStTxtPara para, int ichMin, int ichEnd, string replacement ) : void
para IStTxtPara
ichMin int
ichEnd int
replacement string
리턴 void