[gxml/gsoc2013: 70/150] Revert to before the Utils fiasco



commit 4041a569ed0f2c668e8cf5c3d64e48dc5b2fe113
Author: Richard Schwarting <aquarichy gmail com>
Date:   Sat Jul 27 00:01:30 2013 -0400

    Revert to before the Utils fiasco

 gxml/Utils.vala    |  134 ----------------------------------------------------
 test/GXmlTest.vala |    5 ++-
 test/Makefile.am   |    2 -
 3 files changed, 4 insertions(+), 137 deletions(-)
---
diff --git a/test/GXmlTest.vala b/test/GXmlTest.vala
index 073a144..035bf31 100644
--- a/test/GXmlTest.vala
+++ b/test/GXmlTest.vala
@@ -4,7 +4,6 @@ using GXml;
 class GXmlTest {
        public static int main (string[] args) {
                Test.init (ref args); // TODO: why ref?  what if I just pass args?
-               UtilsTest.add_tests ();
                DocumentTest.add_tests ();
                DomNodeTest.add_tests ();
                ElementTest.add_tests ();
@@ -38,6 +37,10 @@ class GXmlTest {
                }
        }
 
+       // internal static Attr get_attr_new_doc (string name, string value) throws DomError {
+       //      return get_attr (name, value, get_doc ());
+       // }
+
        internal static Attr get_attr (string name, string value, Document doc) throws DomError {
                Attr attr = doc.create_attribute (name);
                attr.value = value;
diff --git a/test/Makefile.am b/test/Makefile.am
index 9b550eb..d0f5b0f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,7 +8,6 @@ AM_CPPFLAGS = \
        -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
        -DPACKAGE_DATA_DIR=\""$(datadir)"\"
 
-# TODO: need to change GXml flags to compile against local copy, not installed copy
 AM_CFLAGS = \
        -g \
        $(GLIB_CFLAGS) \
@@ -38,7 +37,6 @@ gxml_test_SOURCES = \
        ValaLibxml2Test.vala \
        SerializableTest.vala \
        SerializationTest.vala \
-       UtilsTest.vala \
        $(NULL)
 
 gxml_test.vala.stamp: $(gxml_test_SOURCES)


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