public void AddExtObject41(object param0, object param1) { /* * In these variations, the XSLT calls the extension function Increment from XSLT. * In some cases, the variable is never used in the XSLT (Bug 357711) * Verify by calling an extenfion function like increment and check the state of the variable */ ExObj obj = new ExObj(0, _output); m_xsltArg = new XsltArgumentList(); string xslFile = param0.ToString(); string Baseline = "baseline\\" + param1.ToString(); ///nonePermSet.PermitOnly(); ; m_xsltArg.AddExtensionObject("urn-myobject", obj); ///CodeAccessPermission.RevertPermitOnly(); if ((LoadXSL(xslFile) == 1) && (Transform_ArgList("ExtData.xml") == 1)) { VerifyResult(Baseline, _strOutFile); return; } else Assert.True(false); }
public void AddExtObject33(object param0, object param1) { ExObj obj = new ExObj(0, _output); m_xsltArg = new XsltArgumentList(); string xslFile = param0.ToString(); string Baseline = "baseline\\" + param1.ToString(); ///nonePermSet.PermitOnly(); ; m_xsltArg.AddExtensionObject("urn-myobject", obj); ///CodeAccessPermission.RevertPermitOnly(); if ((LoadXSL(xslFile) == 1) && (Transform_ArgList("ExtData.xml") == 1)) { VerifyResult(Baseline, _strOutFile); return; } else Assert.True(false); }