[gxml] * fix some test names
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] * fix some test names
- Date: Mon, 9 Jul 2012 20:21:36 +0000 (UTC)
commit 3e2c156f7b611024bdeb018bcd1bc785cd60d16c
Author: Richard Schwarting <aquarichy gmail com>
Date: Mon Jul 9 16:20:55 2012 -0400
* fix some test names
test/XmlSerializableTest.vala | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/test/XmlSerializableTest.vala b/test/XmlSerializableTest.vala
index fe08277..b0fe20c 100644
--- a/test/XmlSerializableTest.vala
+++ b/test/XmlSerializableTest.vala
@@ -345,7 +345,7 @@ class XmlSerializableTest : GXmlTest {
}
public static void add_tests () {
- Test.add_func ("/gxml/domnode/xml_serializable", () => {
+ Test.add_func ("/gxml/domnode/xml_serialize", () => {
Fruit fruit;
GXmlDom.XNode fruit_xml;
@@ -368,7 +368,9 @@ class XmlSerializableTest : GXmlTest {
}
});
- Test.add_func ("/gxml/domnode/xml_serializable_fields", () => {
+ Test.add_func ("/gxml/domnode/xml_serialize_fields", () => {
+ /* NOTE: We expect this one to fail right now */
+
Fruit fruit;
GXmlDom.XNode fruit_xml;
@@ -389,7 +391,7 @@ class XmlSerializableTest : GXmlTest {
GLib.Test.fail ();
}
});
- Test.add_func ("/gxml/domnode/xml_deserializable", () => {
+ Test.add_func ("/gxml/domnode/xml_deserialize", () => {
try {
Document doc = new Document.from_string ("<Object otype='Fruit'><Property pname='age' ptype='gint'>3</Property></Object>");
Fruit fruit = (Fruit)Serialization.deserialize_object (doc.document_element);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]