[gxml/xpath: 7/8] XPathExpressionTest.vala: specify which type of Node, original used DomNode but GXml now just calls



commit 1f2ef3bf2fef33cda4443777f75d7e7f6ff1d69b
Author: Richard Schwarting <aquarichy gmail com>
Date:   Tue Oct 15 11:51:01 2013 -0400

    XPathExpressionTest.vala: specify which type of Node, original used DomNode but GXml now just calls it 
Node

 test/XPathExpressionTest.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/test/XPathExpressionTest.vala b/test/XPathExpressionTest.vala
index e550615..485ddfb 100644
--- a/test/XPathExpressionTest.vala
+++ b/test/XPathExpressionTest.vala
@@ -234,7 +234,7 @@ class XPathExpressionTest : GXmlTest {
                                        );
                                        XPath.Expression e = new XPath.Expression("//svg:g/@id", r);
                                        XPath.Result result = null;
-                                       Node context = null;
+                                       GXml.Node context = null;
 
                                        result = e.evaluate(doc);
                                        assert (result.result_type == XPath.ResultType.ORDERED_NODE_SNAPSHOT);
@@ -261,7 +261,7 @@ class XPathExpressionTest : GXmlTest {
                                        );
                                        XPath.Expression e = new XPath.Expression("./svg:g", r);
                                        XPath.Result result = null;
-                                       Node context = null;
+                                       GXml.Node context = null;
 
                                        result = e.evaluate(doc.document_element);
                                        assert (result.result_type == XPath.ResultType.ORDERED_NODE_SNAPSHOT);
@@ -293,7 +293,7 @@ class XPathExpressionTest : GXmlTest {
                                try {
                                        Document doc = get_doc_with_ns ();
                                        XPath.Result result = null;
-                                       Node context = null;
+                                       GXml.Node context = null;
 
                                        result = doc.evaluate("//svg:g", new XPath.NSResolver("svg", 
"http://www.w3.org/2000/svg";));
                                        assert (result.result_type == XPath.ResultType.ORDERED_NODE_SNAPSHOT);
@@ -323,7 +323,7 @@ class XPathExpressionTest : GXmlTest {
                                try {
                                        Document doc = get_doc_with_ns ();
                                        XPath.Result result = null;
-                                       Node context = null;
+                                       GXml.Node context = null;
 
                                        result = doc.evaluate("//i:year/text()", new XPath.NSResolver("i", 
"proto:item-info"));
                                        assert (result.result_type == XPath.ResultType.ORDERED_NODE_SNAPSHOT);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]