C# Class SIL.FieldWorks.IText.SandboxBaseTests

Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
VerifySelection ( SandboxBase sandbox, bool fPicture, int tagText, int tagObj, int morphIndex ) : void

Private Methods

Method Description
ComboHandler_CreateCoreMorphItemBasedOnSandboxCurrentState_DeletedSense_DoesNotThrow ( ) : void
GetBestGloss ( ) : void
GetComboHandler ( SandboxBase sandbox, int flid, int morphIndex ) : SandboxBase.InterlinComboHandler
GetMsaAndMoForm ( ILexEntry entry, System.Guid slotType, string pos, IMoForm &form ) : IMoMorphSynAnalysis
GetSlotType ( string form ) : System.Guid
HandleTab ( ) : void
LexEntriesComboHandlerForBundleWithSenseAndMsaButNoMorph ( ) : void
LexEntriesComboHandler_IndexOfCurrentInflVariant_InflTypeChosen ( ) : void
LexEntriesComboHandler_IndexOfCurrentInflVariant_NoInflTypeChosen ( ) : void
LexEntriesComboHandler_IndexOfCurrentLexSenseAndMsa ( ) : void
LexEntriesComboHandler_InflTypeOptions_GlossAppendSenseNames_Ordered_PL_PST ( ) : void
LexEntriesComboHandler_InflTypeOptions_GlossAppendSenseNames_Ordered_PST_PL ( ) : void
LexEntriesComboHandler_ItemsInComboForInflVariant ( ) : void
MakeAnalysis ( IWfiWordform wf ) : IWfiAnalysis
MakeAnalysisString ( string content ) : ITsString
MakeBundle ( IWfiAnalysis wa, MakeBundleOptions mbOptions ) : IWfiMorphBundle
MakeBundle ( IWfiAnalysis wa, string form, string gloss, string pos ) : IWfiMorphBundle
MakeBundleDefault ( IWfiAnalysis wa, string form, string gloss, string pos ) : IWfiMorphBundle
MakeDataForNihimbilira ( ) : SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
MakeEntry ( string lf, string pos, System.Guid slotType, IMoMorphSynAnalysis &msa ) : ILexEntry

Make an entry with the specified lexeme form of the specified slot type, a sense with the specified gloss, an MSA with the specified part of speech, and generally hook things up as expected. Assumes all of the required objects need to be created; in general this might not be true, but it works for the test data here.

MakeGloss ( IWfiAnalysis wa, string gloss ) : IWfiGloss
MakePartOfSpeech ( string name ) : IPartOfSpeech
MakeSense ( ILexEntry entry, string gloss, IMoMorphSynAnalysis msa ) : ILexSense
MakeText ( string contents ) : FDO.IText
MakeVernString ( string content ) : ITsString
MakeWordform ( string form ) : IWfiWordform
SetupNihimbilira ( ) : SandboxBase

Make all the stuff we need to display Nihimbilira in the standard way.

SetupSandbox ( Func createDataForSandbox ) : SandboxBase

Method Details

VerifySelection() public method

public VerifySelection ( SandboxBase sandbox, bool fPicture, int tagText, int tagObj, int morphIndex ) : void
sandbox SandboxBase
fPicture bool
tagText int
tagObj int
morphIndex int
return void