[gxml] Fixed make check
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Fixed make check
- Date: Wed, 9 Mar 2016 19:11:58 +0000 (UTC)
commit eb748720802698dc60740679e6ec00cb9127d2e5
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Mar 7 22:16:10 2016 -0600
Fixed make check
po/POTFILES.in | 2 +-
po/POTFILES.skip | 4 +-
test/TCDATATest.vala | 2 +-
test/TCommentTest.vala | 2 +-
test/TDocumentTest.vala | 58 +++++++++++++++++-----------------
test/TElementTest.vala | 34 ++++++++++----------
test/TProcessingInstructionTest.vala | 2 +-
7 files changed, 52 insertions(+), 52 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 60d4f4f..43be89f 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -17,4 +17,4 @@ gxml/SerializableGeeTreeMap.vala
gxml/SerializableObjectModel.vala
gxml/SerializableProperty.vala
gxml/Serializable.vala
-gxml/TwDocument.vala
+gxml/TDocument.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 9d0010c..739376b 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -17,7 +17,7 @@ gxml/SerializableGeeHashMap.c
gxml/SerializableGeeTreeMap.c
gxml/SerializableObjectModel.c
gxml/SerializableProperty.c
-gxml/TwDocument.c
+gxml/TDocument.c
sub/gxml/Document.c
sub/gxml/GXmlDocument.c
sub/gxml/Enumeration.c
@@ -35,4 +35,4 @@ sub/gxml/SerializableGeeHashMap.c
sub/gxml/SerializableGeeTreeMap.c
sub/gxml/SerializableObjectModel.c
sub/gxml/SerializableProperty.c
-sub/gxml/TwDocument.c
+sub/gxml/TDocument.c
diff --git a/test/TCDATATest.vala b/test/TCDATATest.vala
index 6730974..ebecf5c 100644
--- a/test/TCDATATest.vala
+++ b/test/TCDATATest.vala
@@ -24,7 +24,7 @@ using GXml;
class TCDATATest : GXmlTest {
public static void add_tests () {
- Test.add_func ("/gxml/tw-cdata", () => {
+ Test.add_func ("/gxml/t-cdata", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
diff --git a/test/TCommentTest.vala b/test/TCommentTest.vala
index be92148..9ddc968 100644
--- a/test/TCommentTest.vala
+++ b/test/TCommentTest.vala
@@ -24,7 +24,7 @@ using GXml;
class TCommentTest : GXmlTest {
public static void add_tests () {
- Test.add_func ("/gxml/tw-comment", () => {
+ Test.add_func ("/gxml/t-comment", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
diff --git a/test/TDocumentTest.vala b/test/TDocumentTest.vala
index 38fed82..6278a51 100644
--- a/test/TDocumentTest.vala
+++ b/test/TDocumentTest.vala
@@ -30,7 +30,7 @@ class TDocumentTest : GXmlTest {
public override string to_string () { return "TestNode"; }
}
public static void add_tests () {
- Test.add_func ("/gxml/tw-document", () => {
+ Test.add_func ("/gxml/t-document", () => {
try {
var d = new TDocument ();
assert (d.name == "#document");
@@ -47,11 +47,11 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/root", () => {
+ Test.add_func ("/gxml/t-document/root", () => {
try {
- var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
- var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
var e = d.create_element ("root");
d.children.add (e);
assert (d.children.size == 1);
@@ -66,11 +66,11 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/root", () => {
+ Test.add_func ("/gxml/t-document/save/root", () => {
try {
- var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
- var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
var e = d.create_element ("root");
d.children.add (e);
assert (d.children.size == 1);
@@ -94,11 +94,11 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/root/attribute", () => {
+ Test.add_func ("/gxml/t-document/save/root/attribute", () => {
try {
- var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
- var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
var e = d.create_element ("root");
d.children.add (e);
assert (d.children.size == 1);
@@ -131,11 +131,11 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/root/content", () => {
+ Test.add_func ("/gxml/t-document/save/root/content", () => {
try {
- var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
- var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
var e = d.create_element ("root");
d.children.add (e);
assert (d.children.size == 1);
@@ -166,11 +166,11 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/root/children", () => {
+ Test.add_func ("/gxml/t-document/save/root/children", () => {
try {
- var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
- var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var d = new TDocument.for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
var e = d.create_element ("root");
d.children.add (e);
assert (d.children.size == 1);
@@ -205,7 +205,7 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/root/children-children", () => {
+ Test.add_func ("/gxml/t-document/root/children-children", () => {
#if DEBUG
GLib.message (@"TDocument root children/children...");
#endif
@@ -213,12 +213,12 @@ class TDocumentTest : GXmlTest {
#if DEBUG
GLib.message (@"Checking file to save to...");
#endif
- var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-large.xml");
+ var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-large.xml");
if (f.query_exists ()) f.delete ();
#if DEBUG
GLib.message (@"Creating Document...");
#endif
- var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-large.xml");
+ var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-large.xml");
var e = d.create_element ("bookstore");
d.children.add (e);
assert (d.children.size == 1);
@@ -268,7 +268,7 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/children-children", () => {
+ Test.add_func ("/gxml/t-document/save/children-children", () => {
#if DEBUG
GLib.message (@"TDocument root children/children...");
#endif
@@ -276,12 +276,12 @@ class TDocumentTest : GXmlTest {
#if DEBUG
GLib.message (@"Checking file to save to...");
#endif
- var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-large.xml");
+ var f = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-large.xml");
if (f.query_exists ()) f.delete ();
#if DEBUG
GLib.message (@"Creating Document...");
#endif
- var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/tw-large.xml");
+ var d = new TDocument.for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-large.xml");
var e = d.create_element ("bookstore");
d.children.add (e);
assert (d.children.size == 1);
@@ -318,7 +318,7 @@ class TDocumentTest : GXmlTest {
assert (d.root.children.size == 30000);
d.save ();
GLib.Test.message ("Reading saved file...");
- var fr = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-large.xml");
+ var fr = GLib.File.new_for_path (GXmlTestConfig.TEST_SAVE_DIR+"/t-large.xml");
assert (fr.query_exists ());
var ostream = new MemoryOutputStream.resizable ();
ostream.splice (fr.read (), GLib.OutputStreamSpliceFlags.NONE);
@@ -336,9 +336,9 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/save/backup", () => {
+ Test.add_func ("/gxml/t-document/save/backup", () => {
try {
- var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml");
+ var f = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml");
if (f.query_exists ()) f.delete ();
var ot = new TTestObject ();
ot.name = "test1";
@@ -354,7 +354,7 @@ class TDocumentTest : GXmlTest {
assert (d.root.value == "");
d.save_as (f);
assert (f.query_exists ());
- var bf = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/tw-test.xml~");
+ var bf = GLib.File.new_for_path
(GXmlTestConfig.TEST_SAVE_DIR+"/t-test.xml~");
assert (bf.query_exists ());
var istream = f.read ();
var b = new MemoryOutputStream.resizable ();
@@ -371,7 +371,7 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/to_string", () => {
+ Test.add_func ("/gxml/t-document/to_string", () => {
var doc = new TDocument ();
var r = doc.create_element ("root");
doc.children.add (r);
@@ -383,7 +383,7 @@ class TDocumentTest : GXmlTest {
assert ("<root/>" in str);
assert ("<root/>" in doc.to_string ());
});
- Test.add_func ("/gxml/tw-document/namespace", () => {
+ Test.add_func ("/gxml/t-document/namespace", () => {
try {
var doc = new TDocument ();
doc.children.add (doc.create_element ("root"));
@@ -422,7 +422,7 @@ class TDocumentTest : GXmlTest {
assert_not_reached ();
}
});
- Test.add_func ("/gxml/tw-document/parent", () => {
+ Test.add_func ("/gxml/t-document/parent", () => {
var doc = new TDocument ();
assert (doc.parent == null);
});
diff --git a/test/TElementTest.vala b/test/TElementTest.vala
index 67f6723..e48d5fa 100644
--- a/test/TElementTest.vala
+++ b/test/TElementTest.vala
@@ -26,7 +26,7 @@ using GXml;
class TElementTest : GXmlTest {
public static void add_tests () {
- Test.add_func ("/gxml/tw-element/api", () => {
+ Test.add_func ("/gxml/t-element/api", () => {
try {
var d = new TDocument ();
var e = (Element) d.create_element ("element");
@@ -60,7 +60,7 @@ class TElementTest : GXmlTest {
assert (c.content == "HELLO CONTENT");
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/content", () => {
+ Test.add_func ("/gxml/t-element/content", () => {
try {
var d = new TDocument ();
var e = (Element) d.create_element ("element");
@@ -102,7 +102,7 @@ class TElementTest : GXmlTest {
assert (e.children.size == 1);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/namespaces/default", () => {
+ Test.add_func ("/gxml/t-element/namespaces/default", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -119,7 +119,7 @@ class TElementTest : GXmlTest {
assert ("<root xmlns=\"http://www.gnome.org/gxml\">" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/namespaces/default-prefix", () => {
+ Test.add_func ("/gxml/t-element/namespaces/default-prefix", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -136,7 +136,7 @@ class TElementTest : GXmlTest {
assert ("<root xmlns:gxml=\"http://www.gnome.org/gxml\">" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/namespaces/default-prefix-null", () => {
+ Test.add_func ("/gxml/t-element/namespaces/default-prefix-null", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -153,7 +153,7 @@ class TElementTest : GXmlTest {
assert ("<root xmlns=\"http://www.gnome.org/gxml\">" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/namespaces/default/enable-prefix_default_ns", () => {
+ Test.add_func ("/gxml/t-element/namespaces/default/enable-prefix_default_ns", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -171,7 +171,7 @@ class TElementTest : GXmlTest {
assert ("<gxml:root xmlns:gxml=\"http://www.gnome.org/gxml\">" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -202,7 +202,7 @@ class TElementTest : GXmlTest {
assert ("<nons xmlns=\"http://www.gnome.org/\"/>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/default/basic", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/default/basic", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -248,7 +248,7 @@ class TElementTest : GXmlTest {
assert ("</dg:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/enable-prefix_default_ns", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/enable-prefix_default_ns", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -285,7 +285,7 @@ class TElementTest : GXmlTest {
assert ("<gxml:nonsd/>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/default/1", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/default/1", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -331,7 +331,7 @@ class TElementTest : GXmlTest {
assert ("</dg:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/default/enable-ns_top", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/default/enable-ns_top", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -384,7 +384,7 @@ class TElementTest : GXmlTest {
assert ("</dg:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/child-default", () => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/child-default", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -438,7 +438,7 @@ class TElementTest : GXmlTest {
assert ("</dg:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/child-default/enable-prefix_default_ns",
() => {
+ Test.add_func ("/gxml/t-element/multiple-namespaces/child-default/enable-prefix_default_ns",
() => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -492,7 +492,7 @@ class TElementTest : GXmlTest {
assert ("</dg:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/multiple-namespaces/default/enable-prefix_default_ns", () =>
{
+ Test.add_func ("/gxml/t-element/multiple-namespaces/default/enable-prefix_default_ns", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -528,7 +528,7 @@ class TElementTest : GXmlTest {
assert ("</gxml:child>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/attr-namespace", () => {
+ Test.add_func ("/gxml/t-element/attr-namespace", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
@@ -555,7 +555,7 @@ class TElementTest : GXmlTest {
assert ("</root>" in str);
} catch { assert_not_reached (); }
});
- Test.add_func ("/gxml/tw-element/parent", () => {
+ Test.add_func ("/gxml/t-element/parent", () => {
var doc = new TDocument ();
var e = doc.create_element ("root");
doc.children.add (e);
@@ -572,7 +572,7 @@ class TElementTest : GXmlTest {
assert (doc.root.children[0].parent.name == "root");
assert (doc.root.parent == null);
});
- Test.add_func ("/gxml/tw-element/attribute/parent", () => {
+ Test.add_func ("/gxml/t-element/attribute/parent", () => {
var doc = new TDocument ();
var e = doc.create_element ("root");
doc.children.add (e);
diff --git a/test/TProcessingInstructionTest.vala b/test/TProcessingInstructionTest.vala
index 4d974fb..b5cd718 100644
--- a/test/TProcessingInstructionTest.vala
+++ b/test/TProcessingInstructionTest.vala
@@ -24,7 +24,7 @@ using GXml;
class TProcessingInstructionTest : GXmlTest {
public static void add_tests () {
- Test.add_func ("/gxml/tw-processinginstruction", () => {
+ Test.add_func ("/gxml/t-processinginstruction", () => {
try {
var d = new TDocument ();
var r = d.create_element ("root");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]