System.Xml.Tests.XsltApiTestCaseBase.CheckExpectedError C# (CSharp) Method

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
        public void CheckExpectedError(Exception ex, string assembly, string res, string[] strParams)
        {
            CExceptionHandler handler = new CExceptionHandler(Path.Combine(_strPath, "Exceptions.xml"), assembly, _output);
            if (!handler.VerifyException(ex, res, strParams))
            {
                Assert.True(false);
            }
            return;
        }

Same methods

XsltApiTestCaseBase::CheckExpectedError ( Exception ex, string assembly, string res, string strParams, LineInfo lInfo ) : void