Esempio n. 1
0
        public void NameIsAllowed()
        {
            // Arrange

            // Act
            bool name1IsAllowed = _msieJsEngine.CheckNameAllowability("page_total");
            bool name2IsAllowed = _msieJsEngine.CheckNameAllowability("L10n");
            bool name3IsAllowed = _msieJsEngine.CheckNameAllowability("jQuery");
            bool name4IsAllowed = _msieJsEngine.CheckNameAllowability("$pager");

            // Assert
            Assert.IsTrue(name1IsAllowed);
            Assert.IsTrue(name2IsAllowed);
            Assert.IsTrue(name3IsAllowed);
            Assert.IsTrue(name4IsAllowed);
        }