Exemplo n.º 1
0
        /*--------------------------------------------------------------------------------------------*/
        private static void VerifyCustom(TestElement pElem, string pScript, bool pSkipDot = false)
        {
            Assert.AreEqual(1, pElem.PathItems.Count, "Incorrect PathItems.Count.");
            WeaverStepCustom cust = VerifyFirstPathItem <WeaverStepCustom>(pElem);

            Assert.AreEqual(pScript, cust.BuildParameterizedString(), "Incorrect Script.");
            Assert.AreEqual(pSkipDot, cust.SkipDotPrefix, "Incorrect SkipDotPrefix.");
        }
Exemplo n.º 2
0
        public void BuildParameterizedString(string pScript, bool pSkipDot)
        {
            var sc = new WeaverStepCustom(pScript, pSkipDot);

            Assert.AreEqual(pScript, sc.BuildParameterizedString(), "Incorrect result.");
        }