C# Class System.Xml.Tests.XsltApiTestCaseBase

Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Свойство Type Description
retObj object
szDefaultNS String
szEmpty String
szInvalid String
szLongNS String
szLongString String
szSimple String
szWhiteSpace String[]
szXslNS String

Protected Properties

Свойство Type Description
_isInProc bool
_strOutFile string
m_xsltArg System.Xml.Xsl.XsltArgumentList
xrXSLT XmlReader
xslt System.Xml.Xsl.XslTransform

Méthodes publiques

Méthode Description
CallTransform ( XslTransform xslt, String szFullFilename, String _strOutFile ) : void
CallTransform ( XslTransform xslt, String szFullFilename, String _strOutFile, XmlResolver resolver ) : void
CheckExpectedError ( Exception ex, string assembly, string res, string strParams ) : void
CheckExpectedError ( Exception ex, string assembly, string res, string strParams, LineInfo lInfo ) : void
CheckResult ( double szExpResult ) : int
FullFilePath ( String szFile ) : String
FullFilePath ( String szFile, bool normalizeToLower ) : String
FullHttpPath ( String szFile ) : String
GetDefaultCredResolver ( ) : XmlUrlResolver
GetDocType ( String s ) : DocType
GetInputType ( String s ) : InputType
GetReaderType ( String s ) : ReaderType
GetTransformType ( String s ) : TransformType
Init ( object objParam ) : void
InitStringValue ( String str ) : String
LoadXML ( String strFileLocation, DocType _docType ) : IXPathNavigable
LoadXSL ( String _strXslFile ) : int
LoadXSL ( String _strXslFile, InputType inputType ) : int
LoadXSL_Resolver ( String _strXslFile, XmlResolver xr ) : int
MyDocType ( ) : DocType
MyInputType ( ) : InputType
MyReaderType ( ) : ReaderType
MyTransformType ( ) : TransformType
Transform ( String szXmlFile ) : int
Transform ( String szXmlFile, bool errorCase ) : int
TransformResolver ( String szXmlFile, XmlResolver xr ) : int
TransformResolver ( String szXmlFile, XmlResolver xr, bool errorCase ) : int
Transform_ArgList ( String szXmlFile ) : int
Transform_ArgList ( String szXmlFile, bool errorCase ) : int
VerifyResult ( string expectedValue ) : void
XsltApiTestCaseBase ( ITestOutputHelper output ) : Xunit

Method Details

CallTransform() public méthode

public CallTransform ( XslTransform xslt, String szFullFilename, String _strOutFile ) : void
xslt System.Xml.Xsl.XslTransform
szFullFilename String
_strOutFile String
Résultat void

CallTransform() public méthode

public CallTransform ( XslTransform xslt, String szFullFilename, String _strOutFile, XmlResolver resolver ) : void
xslt System.Xml.Xsl.XslTransform
szFullFilename String
_strOutFile String
resolver System.Xml.XmlResolver
Résultat void

CheckExpectedError() public méthode

public CheckExpectedError ( Exception ex, string assembly, string res, string strParams ) : void
ex System.Exception
assembly string
res string
strParams string
Résultat void

CheckExpectedError() public méthode

public CheckExpectedError ( Exception ex, string assembly, string res, string strParams, LineInfo lInfo ) : void
ex System.Exception
assembly string
res string
strParams string
lInfo LineInfo
Résultat void

CheckResult() public méthode

public CheckResult ( double szExpResult ) : int
szExpResult double
Résultat int

FullFilePath() public méthode

public FullFilePath ( String szFile ) : String
szFile String
Résultat String

FullFilePath() public méthode

public FullFilePath ( String szFile, bool normalizeToLower ) : String
szFile String
normalizeToLower bool
Résultat String

FullHttpPath() public méthode

public FullHttpPath ( String szFile ) : String
szFile String
Résultat String

GetDefaultCredResolver() public méthode

public GetDefaultCredResolver ( ) : XmlUrlResolver
Résultat System.Xml.XmlUrlResolver

GetDocType() public méthode

public GetDocType ( String s ) : DocType
s String
Résultat DocType

GetInputType() public méthode

public GetInputType ( String s ) : InputType
s String
Résultat InputType

GetReaderType() public méthode

public GetReaderType ( String s ) : ReaderType
s String
Résultat ReaderType

GetTransformType() public méthode

public GetTransformType ( String s ) : TransformType
s String
Résultat TransformType

Init() public méthode

public Init ( object objParam ) : void
objParam object
Résultat void

InitStringValue() public méthode

public InitStringValue ( String str ) : String
str String
Résultat String

LoadXML() public méthode

public LoadXML ( String strFileLocation, DocType _docType ) : IXPathNavigable
strFileLocation String
_docType DocType
Résultat IXPathNavigable

LoadXSL() public méthode

public LoadXSL ( String _strXslFile ) : int
_strXslFile String
Résultat int

LoadXSL() public méthode

public LoadXSL ( String _strXslFile, InputType inputType ) : int
_strXslFile String
inputType InputType
Résultat int

LoadXSL_Resolver() public méthode

public LoadXSL_Resolver ( String _strXslFile, XmlResolver xr ) : int
_strXslFile String
xr System.Xml.XmlResolver
Résultat int

MyDocType() public méthode

public MyDocType ( ) : DocType
Résultat DocType

MyInputType() public méthode

public MyInputType ( ) : InputType
Résultat InputType

MyReaderType() public méthode

public MyReaderType ( ) : ReaderType
Résultat ReaderType

MyTransformType() public méthode

public MyTransformType ( ) : TransformType
Résultat TransformType

Transform() public méthode

public Transform ( String szXmlFile ) : int
szXmlFile String
Résultat int

Transform() public méthode

public Transform ( String szXmlFile, bool errorCase ) : int
szXmlFile String
errorCase bool
Résultat int

TransformResolver() public méthode

public TransformResolver ( String szXmlFile, XmlResolver xr ) : int
szXmlFile String
xr System.Xml.XmlResolver
Résultat int

TransformResolver() public méthode

public TransformResolver ( String szXmlFile, XmlResolver xr, bool errorCase ) : int
szXmlFile String
xr System.Xml.XmlResolver
errorCase bool
Résultat int

Transform_ArgList() public méthode

public Transform_ArgList ( String szXmlFile ) : int
szXmlFile String
Résultat int

Transform_ArgList() public méthode

public Transform_ArgList ( String szXmlFile, bool errorCase ) : int
szXmlFile String
errorCase bool
Résultat int

VerifyResult() public méthode

public VerifyResult ( string expectedValue ) : void
expectedValue string
Résultat void

XsltApiTestCaseBase() public méthode

public XsltApiTestCaseBase ( ITestOutputHelper output ) : Xunit
output ITestOutputHelper
Résultat Xunit

Property Details

_isInProc protected_oe property

protected bool _isInProc
Résultat bool

_strOutFile protected_oe property

protected string _strOutFile
Résultat string

m_xsltArg protected_oe property

protected XsltArgumentList,System.Xml.Xsl m_xsltArg
Résultat System.Xml.Xsl.XsltArgumentList

retObj public_oe property

public object retObj
Résultat object

szDefaultNS public_oe property

public String szDefaultNS
Résultat String

szEmpty public_oe property

public String szEmpty
Résultat String

szInvalid public_oe property

public String szInvalid
Résultat String

szLongNS public_oe property

public String szLongNS
Résultat String

szLongString public_oe property

public String szLongString
Résultat String

szSimple public_oe property

public String szSimple
Résultat String

szWhiteSpace public_oe property

public String[] szWhiteSpace
Résultat String[]

szXslNS public_oe property

public String szXslNS
Résultat String

xrXSLT protected_oe property

protected XmlReader xrXSLT
Résultat XmlReader

xslt protected_oe property

protected XslTransform,System.Xml.Xsl xslt
Résultat System.Xml.Xsl.XslTransform