C# Class SIL.FieldWorks.FDO.FDOTests.ParagraphParserTests

Inheritance: InterlinearTestBase
Afficher le fichier Open project: sillsdev/FieldWorks

Private Methods

Méthode Description
AnalysisReference ( ) : void
BuildTextFromAnnotations ( ) : void
CheckExpectedWordformsAndOccurrences ( IStTxtPara para, int>.Dictionary expectedOccurrences ) : void
CheckValidGuessesAfterInsertNewWord_LT8467 ( ) : void
DoSetupFixture ( ) : void

non-undoable task

FindExampleSentences ( ) : void
FixtureSetup ( ) : void
FixtureTeardown ( ) : void
LT7974_Phrase_MakeAndBreak ( ) : void
MakeSegment ( IStText text, string contents ) : ISegment

Add a segment of text to the paragraph and return the resulting segment. Note that this depends on the code that automatically reparses the paragraph, so the strings added must really produce segments.

MakeText ( string title ) : IStText
MakeWordformAnalysis ( ISegment seg, string form ) : SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
NoAnalyses_NoEdits ( [ paraIdx ) : void
NoAnalyses_NoEdits_ComplexWordformsParagraph ( ) : void
NoAnalyses_NoEdits_MultipleWritingSystemsParagraph_LT5379 ( ) : void
NoAnalyses_NoEdits_PhraseWordforms ( ) : void
NoAnalyses_SimpleEdits_MultipleWritingSystemsParagraph ( ) : void
Phrase_Make ( ) : void
Phrase_MakeAndBreak ( ) : void
Phrase_SimpleEdits_LT6244 ( ) : void
RestoreTextDefn ( ) : void
SegmentInitialUppercaseWordMatchesLowercaseWordform ( ) : void
SetupOldWordformingOverrides ( ) : void

Guarantees that the default vernacular writing system has the single quote and hyphen characters as word-forming (which used to be the default based on the old word-forming overrides XML file).

SimpleAnalyses_SimpleEdits_MultipleWritingSystemsParagraph_LT10147 ( ) : void
SparseAnalyses_NoEdits_MixedCaseWordformsParagraph ( ) : void
SparseAnalyses_NoEdits_SimpleSegmentParagraph ( ) : void
SparseAnalyses_SimpleEdits_SimpleSegmentParagraph_DuplicateWordforms ( ) : void
SparseAnalyses_SimpleEdits_SimpleSegmentParagraph_DuplicateWordforms_AddWhitespace_LT5313 ( ) : void
SparseAnalyses_SimpleEdits_SimpleSegmentParagraph_DuplicateWordforms_RemoveSegment_LT5376 ( ) : void
SparseSegmentAnalyses_FreeformAnnotations_LT7318 ( ) : void
TestSetup ( ) : void
ValidateGuesses ( IList expectedGuesses, IStTxtPara paraWithGuesses ) : void