예제 #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");
        }