C# Класс SIL.FieldWorks.TE.KeyTermsTests

Наследование: SIL.FieldWorks.TE.TeTestBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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