C# Class SIL.FieldWorks.FDO.FDOTests.InterlinearTestBase.ParagraphValidator

This abstract class can be used to validate any paragraph structure against an existing IStTxtPara structure.
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ValidateParagraphs ( XmlNode expectedParaInfo, IStTxtPara actualParaInfo ) : void

Méthodes protégées

Méthode Description
GetActualSegmentForms ( ISegment actualSegment ) : IList

GetExpectedSegmentForms ( object expectedSegment ) : ArrayList

GetExpectedSegments ( XmlNode expectedParaInfo ) : List

GetParagraphContext ( object expectedParaInfo ) : string

ParagraphValidator ( ) : System

ValidateParagraphSegments ( XmlNode expectedParaInfo, IStTxtPara actualParaInfo, string paraContext ) : void

Validate the actual analysis of the paragraph against what is expected, indicated by the expectedParaInfo, which is an XmlNode from our test data file for an StTxtPara.

ValidateSegFormOuterElements ( object expectedSegForm, IAnalysis actualSegForm, string segFormContext ) : void

ValidateSegForms ( object expectedSegForm, IAnalysis actualSegForm, string segFormContext ) : void

ValidateSegmentOuterElements ( object expectedSegment, ISegment actualSegment, string segmentContext ) : void

ValidateSegmentSegForms ( object expectedSegment, ISegment actualSegment, string segmentContext ) : void

Method Details

GetActualSegmentForms() abstract protected méthode

abstract protected GetActualSegmentForms ( ISegment actualSegment ) : IList
actualSegment ISegment
Résultat IList

GetExpectedSegmentForms() abstract protected méthode

abstract protected GetExpectedSegmentForms ( object expectedSegment ) : ArrayList
expectedSegment object
Résultat System.Collections.ArrayList

GetExpectedSegments() abstract protected méthode

abstract protected GetExpectedSegments ( XmlNode expectedParaInfo ) : List
expectedParaInfo System.Xml.XmlNode
Résultat List

GetParagraphContext() abstract protected méthode

abstract protected GetParagraphContext ( object expectedParaInfo ) : string
expectedParaInfo object
Résultat string

ParagraphValidator() protected méthode

protected ParagraphValidator ( ) : System
Résultat System

ValidateParagraphSegments() protected méthode

Validate the actual analysis of the paragraph against what is expected, indicated by the expectedParaInfo, which is an XmlNode from our test data file for an StTxtPara.
protected ValidateParagraphSegments ( XmlNode expectedParaInfo, IStTxtPara actualParaInfo, string paraContext ) : void
expectedParaInfo System.Xml.XmlNode
actualParaInfo IStTxtPara
paraContext string
Résultat void

ValidateParagraphs() public méthode

public ValidateParagraphs ( XmlNode expectedParaInfo, IStTxtPara actualParaInfo ) : void
expectedParaInfo System.Xml.XmlNode
actualParaInfo IStTxtPara
Résultat void

ValidateSegFormOuterElements() protected méthode

protected ValidateSegFormOuterElements ( object expectedSegForm, IAnalysis actualSegForm, string segFormContext ) : void
expectedSegForm object
actualSegForm IAnalysis
segFormContext string
Résultat void

ValidateSegForms() protected méthode

protected ValidateSegForms ( object expectedSegForm, IAnalysis actualSegForm, string segFormContext ) : void
expectedSegForm object
actualSegForm IAnalysis
segFormContext string
Résultat void

ValidateSegmentOuterElements() protected méthode

protected ValidateSegmentOuterElements ( object expectedSegment, ISegment actualSegment, string segmentContext ) : void
expectedSegment object
actualSegment ISegment
segmentContext string
Résultat void

ValidateSegmentSegForms() protected méthode

protected ValidateSegmentSegForms ( object expectedSegment, ISegment actualSegment, string segmentContext ) : void
expectedSegment object
actualSegment ISegment
segmentContext string
Résultat void