示例#1
0
        public void TestTestSchemaWithXsd()
        {
            // Arrange
            const string contents = @"test";
            var doc = new TextParser(contents);

            // Act
            doc.TestSchemaWithXsd(null);
        }
示例#2
0
        public void TestGetDocumentValues()
        {
            // Arrange
            const string contents = @"test";
            var doc = new TextParser(contents);

            // Act
            doc.GetDocumentValues("//name", null);
        }
示例#3
0
        public void TestExistsNode()
        {
            // Arrange
            const string contents = @"test";
            var doc = new TextParser(contents);

            // Act
            doc.ExistsNode("", null);
        }
示例#4
0
        public void TestGetDocumentValue()
        {
            // Arrange
            const string contents = @"test";
            var doc = new TextParser(contents);

            // Act
            var result = doc.GetDocumentValue("", null);

            // Arrange
            Assert.AreEqual(result, "test");
        }