[gxml] Updated Yannick Inizan copyright and author ship. Unit Test XPath



commit d389fe65be8b4d2616a2ab278e4ce2c6d55e52a0
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Sep 29 13:57:31 2016 -0500

    Updated Yannick Inizan copyright and author ship. Unit Test XPath
    
    * Added Yannick Inizan <inizan yannick gmail com> as author in
      order of authorship
    
    * Added skeleton for XPath Unit Tests

 gxml/GXPathObject.vala      |    5 +++--
 gxml/GXmlElement.vala       |    1 +
 gxml/XPath.vala             |    3 ++-
 test/GElementXPathTest.vala |   31 +++++++++++++++++++++++++++++++
 test/GXmlTest.vala          |    1 +
 test/Makefile.am            |    1 +
 6 files changed, 39 insertions(+), 3 deletions(-)
---
diff --git a/gxml/GXPathObject.vala b/gxml/GXPathObject.vala
index 31d4286..0ea6fe6 100644
--- a/gxml/GXPathObject.vala
+++ b/gxml/GXPathObject.vala
@@ -1,4 +1,4 @@
-/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
+/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
 /*
  *
  * Copyright (C) 2016  Yannick Inizan <inizan yannick gmail com>
@@ -18,7 +18,8 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * Authors:
- *      Daniel Espinosa <esodan gmail com>
+ *     Yannick Inizan <inizan yannick gmail com>
+ *     Daniel Espinosa <esodan gmail com>
  */
 
 public class GXml.GXPathObject : GLib.Object, GXml.XPathObject {
diff --git a/gxml/GXmlElement.vala b/gxml/GXmlElement.vala
index 11c0c26..2abe2b8 100644
--- a/gxml/GXmlElement.vala
+++ b/gxml/GXmlElement.vala
@@ -19,6 +19,7 @@
  *
  * Authors:
  *      Daniel Espinosa <esodan gmail com>
+ *      Yannick Inizan <inizan yannick gmail com>
  */
 
 using Gee;
diff --git a/gxml/XPath.vala b/gxml/XPath.vala
index 67237cd..d1e47b8 100644
--- a/gxml/XPath.vala
+++ b/gxml/XPath.vala
@@ -1,4 +1,4 @@
-/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
+/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
 /*
  *
  * Copyright (C) 2016  Yannick Inizan <inizan yannick gmail com>
@@ -18,6 +18,7 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  *
  * Authors:
+ *      Yannick Inizan <inizan yannick gmail com>
  *      Daniel Espinosa <esodan gmail com>
  */
 public enum GXml.XPathObjectType {
diff --git a/test/GElementXPathTest.vala b/test/GElementXPathTest.vala
new file mode 100644
index 0000000..0cd3e30
--- /dev/null
+++ b/test/GElementXPathTest.vala
@@ -0,0 +1,31 @@
+/* -*- Mode: vala; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
+/* Notation.vala
+ *
+ * Copyright (C) 2016  Daniel Espinosa <esodan gmail com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ *      Daniel Espinosa <esodan gmail com>
+ */
+
+using GXml;
+
+class GElementXPathTest : GXmlTest  {
+       public static void add_tests () {
+               Test.add_func ("/gxml/gelement/xpath", () => {
+                       
+               });
+       }
+}
diff --git a/test/GXmlTest.vala b/test/GXmlTest.vala
index afadd01..4e15c12 100644
--- a/test/GXmlTest.vala
+++ b/test/GXmlTest.vala
@@ -86,6 +86,7 @@ class GXmlTest {
                GAttributeTest.add_tests ();
                HtmlDocumentTest.add_tests ();
                DomGDocumentTest.add_tests ();
+               GElementXPathTest.add_tests ();
 
                Test.run ();
 
diff --git a/test/Makefile.am b/test/Makefile.am
index e3a8dfb..c63081c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -64,6 +64,7 @@ sources = \
        GAttributeTest.vala \
        HtmlDocumentTest.vala \
        DomGDocumentTest.vala \
+       GElementXPathTest.vala \
        $(NULL)
 
 vala-stamp: $(sources)


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