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

Init() public method

public Init ( object objParam ) : void
objParam object
return void
        public void Init(object objParam)
        {
            // Get input and transform type from attribute
            _nInput = GetInputType(String.Empty);
            _nTransform = GetTransformType(String.Empty);

            // Get parameter info from runtime variables passed to LTM
            _fTrace = (InitStringValue("trace").ToUpper() == "TRUE");
            _docType = GetDocType(InitStringValue("doctype"));
            _readerType = GetReaderType(InitStringValue("readertype"));

            // FullFilePath and FullHttpPath attempt to normalize file paths, however
            // as an extra step we can normalize them here, when they are first read
            // from the LTM file.
            _strPath = Path.Combine("TestFiles", FilePathUtil.GetTestDataPath(), "XsltApi");
            _httpPath = FilePathUtil.GetHttpTestDataPath() + @"/XsltApi/";

            return;
        }