Exemple #1
0
        public void DataTest_It_Tests_Methods_IsAttributeContained(string inputFile, int eptPosition, string expectedAttributeName, int expectedOutcome)
        {
            /* Initialization. */
            XmlDocument xlfDocument = new XmlDocument();

            xlfDocument.Load(inputFile);

            XmlNode xmlItNode = xlfDocument.SelectNodes("//it").Item(eptPosition);
            It      itElement = new It(xmlItNode);

            /* Set of Assertions. */
            Assert.AreEqual(expectedOutcome, itElement.IsAttributeContained(expectedAttributeName));
        }