C# Class System.Xml.Tests.XsltApiTestCaseBase

显示文件 Open project: dotnet/corefx

Public Properties

Property Type Description
retObj object
szDefaultNS String
szEmpty String
szInvalid String
szLongNS String
szLongString String
szSimple String
szWhiteSpace String[]
szXslNS String

Protected Properties

Property Type Description
_isInProc bool
_strOutFile string
m_xsltArg System.Xml.Xsl.XsltArgumentList
xrXSLT XmlReader
xslt System.Xml.Xsl.XslTransform

Public Methods

Method 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 method

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

CallTransform() public method

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

CheckExpectedError() public method

public CheckExpectedError ( Exception ex, string assembly, string res, string strParams ) : void
ex System.Exception
assembly string
res string
strParams string
return void

CheckExpectedError() public method

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

CheckResult() public method

public CheckResult ( double szExpResult ) : int
szExpResult double
return int

FullFilePath() public method

public FullFilePath ( String szFile ) : String
szFile String
return String

FullFilePath() public method

public FullFilePath ( String szFile, bool normalizeToLower ) : String
szFile String
normalizeToLower bool
return String

FullHttpPath() public method

public FullHttpPath ( String szFile ) : String
szFile String
return String

GetDefaultCredResolver() public method

public GetDefaultCredResolver ( ) : XmlUrlResolver
return System.Xml.XmlUrlResolver

GetDocType() public method

public GetDocType ( String s ) : DocType
s String
return DocType

GetInputType() public method

public GetInputType ( String s ) : InputType
s String
return InputType

GetReaderType() public method

public GetReaderType ( String s ) : ReaderType
s String
return ReaderType

GetTransformType() public method

public GetTransformType ( String s ) : TransformType
s String
return TransformType

Init() public method

public Init ( object objParam ) : void
objParam object
return void

InitStringValue() public method

public InitStringValue ( String str ) : String
str String
return String

LoadXML() public method

public LoadXML ( String strFileLocation, DocType _docType ) : IXPathNavigable
strFileLocation String
_docType DocType
return IXPathNavigable

LoadXSL() public method

public LoadXSL ( String _strXslFile ) : int
_strXslFile String
return int

LoadXSL() public method

public LoadXSL ( String _strXslFile, InputType inputType ) : int
_strXslFile String
inputType InputType
return int

LoadXSL_Resolver() public method

public LoadXSL_Resolver ( String _strXslFile, XmlResolver xr ) : int
_strXslFile String
xr System.Xml.XmlResolver
return int

MyDocType() public method

public MyDocType ( ) : DocType
return DocType

MyInputType() public method

public MyInputType ( ) : InputType
return InputType

MyReaderType() public method

public MyReaderType ( ) : ReaderType
return ReaderType

MyTransformType() public method

public MyTransformType ( ) : TransformType
return TransformType

Transform() public method

public Transform ( String szXmlFile ) : int
szXmlFile String
return int

Transform() public method

public Transform ( String szXmlFile, bool errorCase ) : int
szXmlFile String
errorCase bool
return int

TransformResolver() public method

public TransformResolver ( String szXmlFile, XmlResolver xr ) : int
szXmlFile String
xr System.Xml.XmlResolver
return int

TransformResolver() public method

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

Transform_ArgList() public method

public Transform_ArgList ( String szXmlFile ) : int
szXmlFile String
return int

Transform_ArgList() public method

public Transform_ArgList ( String szXmlFile, bool errorCase ) : int
szXmlFile String
errorCase bool
return int

VerifyResult() public method

public VerifyResult ( string expectedValue ) : void
expectedValue string
return void

XsltApiTestCaseBase() public method

public XsltApiTestCaseBase ( ITestOutputHelper output ) : Xunit
output ITestOutputHelper
return Xunit

Property Details

_isInProc protected_oe property

protected bool _isInProc
return bool

_strOutFile protected_oe property

protected string _strOutFile
return string

m_xsltArg protected_oe property

protected XsltArgumentList,System.Xml.Xsl m_xsltArg
return System.Xml.Xsl.XsltArgumentList

retObj public_oe property

public object retObj
return object

szDefaultNS public_oe property

public String szDefaultNS
return String

szEmpty public_oe property

public String szEmpty
return String

szInvalid public_oe property

public String szInvalid
return String

szLongNS public_oe property

public String szLongNS
return String

szLongString public_oe property

public String szLongString
return String

szSimple public_oe property

public String szSimple
return String

szWhiteSpace public_oe property

public String[] szWhiteSpace
return String[]

szXslNS public_oe property

public String szXslNS
return String

xrXSLT protected_oe property

protected XmlReader xrXSLT
return XmlReader

xslt protected_oe property

protected XslTransform,System.Xml.Xsl xslt
return System.Xml.Xsl.XslTransform