C# Class System.Xml.Tests.CXmlSchemaValidatorTestCase

Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Свойство Type Description
ErrorInnerExceptionSet bool
WarningInnerExceptionSet bool
bErrorCallback bool
bWarningCallback bool
errorCount int
warningCount int

Méthodes publiques

Méthode Description
CXmlSchemaValidatorTestCase ( ITestOutputHelper output ) : System
Initialize ( ) : void
StringGetter ( string resStr ) : XmlValueGetter
ValidateSchemaSet ( XmlSchemaSet ss, int schCount, bool isCompiled, int countGT, int countGE, int countGA, string str ) : void
ValidateWithSchemaInfo ( XmlSchemaSet ss ) : void
ValidateWithXmlReader ( XmlSchemaSet schemas, string xml, string xsd ) : void
ValidationCallback ( object sender, ValidationEventArgs args ) : void

Méthodes protégées

Méthode Description
CreateSchemaSet ( string targetNamespace, string XsdContent ) : XmlSchemaSet
CreateSchemaSetFromXml ( string XmlContent ) : XmlSchemaSet
CreateValidator ( XmlSchemaSet schemas ) : XmlSchemaValidator
CreateValidator ( XmlSchemaSet schemas, IXmlNamespaceResolver nsRes, XmlSchemaValidationFlags flags ) : XmlSchemaValidator
CreateValidator ( XmlSchemaSet schemas, XmlSchemaValidationFlags flags ) : XmlSchemaValidator
CreateValidator ( string xsdFilename ) : XmlSchemaValidator
CreateValidator ( string xsdFilename, string targetNamespace ) : XmlSchemaValidator
CreateValidator ( string xsdFilename, string targetNamespace, XmlSchemaValidationFlags flags ) : XmlSchemaValidator

Private Methods

Méthode Description
stringGetterHandle ( ) : string

Method Details

CXmlSchemaValidatorTestCase() public méthode

public CXmlSchemaValidatorTestCase ( ITestOutputHelper output ) : System
output ITestOutputHelper
Résultat System

CreateSchemaSet() protected méthode

protected CreateSchemaSet ( string targetNamespace, string XsdContent ) : XmlSchemaSet
targetNamespace string
XsdContent string
Résultat System.Xml.Schema.XmlSchemaSet

CreateSchemaSetFromXml() protected méthode

protected CreateSchemaSetFromXml ( string XmlContent ) : XmlSchemaSet
XmlContent string
Résultat System.Xml.Schema.XmlSchemaSet

CreateValidator() protected méthode

protected CreateValidator ( XmlSchemaSet schemas ) : XmlSchemaValidator
schemas System.Xml.Schema.XmlSchemaSet
Résultat System.Xml.Schema.XmlSchemaValidator

CreateValidator() protected méthode

protected CreateValidator ( XmlSchemaSet schemas, IXmlNamespaceResolver nsRes, XmlSchemaValidationFlags flags ) : XmlSchemaValidator
schemas System.Xml.Schema.XmlSchemaSet
nsRes IXmlNamespaceResolver
flags XmlSchemaValidationFlags
Résultat System.Xml.Schema.XmlSchemaValidator

CreateValidator() protected méthode

protected CreateValidator ( XmlSchemaSet schemas, XmlSchemaValidationFlags flags ) : XmlSchemaValidator
schemas System.Xml.Schema.XmlSchemaSet
flags XmlSchemaValidationFlags
Résultat System.Xml.Schema.XmlSchemaValidator

CreateValidator() protected méthode

protected CreateValidator ( string xsdFilename ) : XmlSchemaValidator
xsdFilename string
Résultat System.Xml.Schema.XmlSchemaValidator

CreateValidator() protected méthode

protected CreateValidator ( string xsdFilename, string targetNamespace ) : XmlSchemaValidator
xsdFilename string
targetNamespace string
Résultat System.Xml.Schema.XmlSchemaValidator

CreateValidator() protected méthode

protected CreateValidator ( string xsdFilename, string targetNamespace, XmlSchemaValidationFlags flags ) : XmlSchemaValidator
xsdFilename string
targetNamespace string
flags XmlSchemaValidationFlags
Résultat System.Xml.Schema.XmlSchemaValidator

Initialize() public méthode

public Initialize ( ) : void
Résultat void

StringGetter() public méthode

public StringGetter ( string resStr ) : XmlValueGetter
resStr string
Résultat XmlValueGetter

ValidateSchemaSet() public méthode

public ValidateSchemaSet ( XmlSchemaSet ss, int schCount, bool isCompiled, int countGT, int countGE, int countGA, string str ) : void
ss System.Xml.Schema.XmlSchemaSet
schCount int
isCompiled bool
countGT int
countGE int
countGA int
str string
Résultat void

ValidateWithSchemaInfo() public méthode

public ValidateWithSchemaInfo ( XmlSchemaSet ss ) : void
ss System.Xml.Schema.XmlSchemaSet
Résultat void

ValidateWithXmlReader() public méthode

public ValidateWithXmlReader ( XmlSchemaSet schemas, string xml, string xsd ) : void
schemas System.Xml.Schema.XmlSchemaSet
xml string
xsd string
Résultat void

ValidationCallback() public méthode

public ValidationCallback ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
Résultat void

Property Details

ErrorInnerExceptionSet public_oe property

public bool ErrorInnerExceptionSet
Résultat bool

WarningInnerExceptionSet public_oe property

public bool WarningInnerExceptionSet
Résultat bool

bErrorCallback public_oe property

public bool bErrorCallback
Résultat bool

bWarningCallback public_oe property

public bool bWarningCallback
Résultat bool

errorCount public_oe property

public int errorCount
Résultat int

warningCount public_oe property

public int warningCount
Résultat int