示例#1
0
        public void Init(object objParam)
        {
            //This is a temporary fix to restore the baselines. Refer to Test bug #
            _strPath       = Path.Combine("TestFiles", FilePathUtil.GetTestDataPath(), "XsltApiV2");
            _httpPath      = Path.Combine(FilePathUtil.GetHttpTestDataPath(), "XsltApiV2");
            _standardTests = Path.Combine("TestFiles", FilePathUtil.GetHttpStandardPath(), "xslt10", "Current");

            return;
        }
示例#2
0
        public void Init(object objParam)
        {
            // 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;
        }
示例#3
0
        public void Init(object objParam)
        {
            // Get parameter info from runtime variables passed to LTM
            _fTrace = false;

            //This is a temporary fix to restore the baselines. Refer to Test bug #
            _strPath       = Path.Combine("TestFiles", FilePathUtil.GetTestDataPath(), "XsltApiV2");
            _httpPath      = Path.Combine(FilePathUtil.GetHttpTestDataPath(), "XsltApiV2");
            _standardTests = Path.Combine("TestFiles", FilePathUtil.GetHttpStandardPath(), "xslt10", "Current");

            return;
        }
示例#4
0
        public void Init(object objParam)
        {
            // Get input and transform type from attribute
            _nInputXsl = GetXslInputType(String.Empty);
            _nOutput   = GetOutputType(String.Empty);

            // Get parameter info from runtime variables passed to LTM
            _fTrace     = false;
            _navType    = GetDocType(InitStringValue("doctype"));
            _readerType = GetReaderType(InitStringValue("readertype"));

            //This is a temporary fix to restore the baselines. Refer to Test bug #
            _strPath       = Path.Combine("TestFiles", FilePathUtil.GetTestDataPath(), "XsltApiV2");
            _httpPath      = Path.Combine(FilePathUtil.GetHttpTestDataPath(), "XsltApiV2");
            _standardTests = Path.Combine("TestFiles", FilePathUtil.GetHttpStandardPath(), "xslt10", "Current");

            return;
        }
示例#5
0
        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;
        }