C# Class System.Xml.Tests.XsltApiTestCaseBase2

Show file 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
_expectedErrorCode string
_isInProc bool
_standardTests string
_strOutFile string
m_xsltArg System.Xml.Xsl.XsltArgumentList
xrXSLT XmlReader
xslt System.Xml.Xsl.XslCompiledTransform

Public Methods

Method Description
CheckExpectedError ( Exception ex, string assembly ) : void
CheckExpectedError ( Exception ex, string assembly, string res, string strParams ) : void
CheckResult ( double szExpResult ) : int
CheckResult ( string expResult ) : int
FullFilePath ( String szFile ) : String
FullHttpPath ( String szFile ) : String
GetDefaultCredResolver ( ) : XmlUrlResolver
GetDocType ( String s ) : NavType
GetOutputType ( String s ) : OutputType
GetReaderType ( String s ) : ReaderType
GetXslInputType ( String s ) : XslInputType
Init ( object objParam ) : void
InitStringValue ( String str ) : String
LoadXML ( String strFileLocation, NavType _navType ) : IXPathNavigable
LoadXSL ( String _strXslFile ) : int
LoadXSL ( String _strXslFile, XmlResolver xr ) : int
LoadXSL ( String _strXslFile, XslInputType xslInputType, XmlResolver xr ) : int
LoadXSL_Resolver ( String _strXslFile, XmlResolver xr ) : int
MyDocType ( ) : NavType
MyOutputType ( ) : OutputType
MyReaderType ( ) : ReaderType
MyXmlInputType ( ) : XmlInputType
MyXslInputType ( ) : XslInputType
SetExpectedError ( string errorCode ) : void
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
VerifyResult ( string baseline, string outputFile ) : void
XsltApiTestCaseBase2 ( ITestOutputHelper output ) : Xunit

Method Details

CheckExpectedError() public method

public CheckExpectedError ( Exception ex, string assembly ) : void
ex System.Exception
assembly string
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

CheckResult() public method

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

CheckResult() public method

public CheckResult ( string expResult ) : int
expResult string
return int

FullFilePath() public method

public FullFilePath ( String szFile ) : String
szFile String
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 ) : NavType
s String
return NavType

GetOutputType() public method

public GetOutputType ( String s ) : OutputType
s String
return OutputType

GetReaderType() public method

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

GetXslInputType() public method

public GetXslInputType ( String s ) : XslInputType
s String
return XslInputType

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, NavType _navType ) : IXPathNavigable
strFileLocation String
_navType NavType
return IXPathNavigable

LoadXSL() public method

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

LoadXSL() public method

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

LoadXSL() public method

public LoadXSL ( String _strXslFile, XslInputType xslInputType, XmlResolver xr ) : int
_strXslFile String
xslInputType XslInputType
xr System.Xml.XmlResolver
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 ( ) : NavType
return NavType

MyOutputType() public method

public MyOutputType ( ) : OutputType
return OutputType

MyReaderType() public method

public MyReaderType ( ) : ReaderType
return ReaderType

MyXmlInputType() public method

public MyXmlInputType ( ) : XmlInputType
return XmlInputType

MyXslInputType() public method

public MyXslInputType ( ) : XslInputType
return XslInputType

SetExpectedError() public method

public SetExpectedError ( string errorCode ) : void
errorCode string
return void

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

VerifyResult() public method

public VerifyResult ( string baseline, string outputFile ) : void
baseline string
outputFile string
return void

XsltApiTestCaseBase2() public method

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

Property Details

_expectedErrorCode protected property

protected string _expectedErrorCode
return string

_isInProc protected property

protected bool _isInProc
return bool

_standardTests protected property

protected string _standardTests
return string

_strOutFile protected property

protected string _strOutFile
return string

m_xsltArg protected property

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

retObj public property

public object retObj
return object

szDefaultNS public property

public String szDefaultNS
return String

szEmpty public property

public String szEmpty
return String

szInvalid public property

public String szInvalid
return String

szLongNS public property

public String szLongNS
return String

szLongString public property

public String szLongString
return String

szSimple public property

public String szSimple
return String

szWhiteSpace public property

public String[] szWhiteSpace
return String[]

szXslNS public property

public String szXslNS
return String

xrXSLT protected property

protected XmlReader xrXSLT
return XmlReader

xslt protected property

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