[gxml] Added templates for TwDocument/SerializableObjectModel Unit Test
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] Added templates for TwDocument/SerializableObjectModel Unit Test
- Date: Fri, 8 May 2015 23:46:16 +0000 (UTC)
commit 7a2ad7bbfda46693a81df2d4803d25e2eb727d6a
Author: Daniel Espinosa <esodan gmail com>
Date: Fri May 8 18:45:32 2015 -0500
Added templates for TwDocument/SerializableObjectModel Unit Test
test/GXmlTest.vala | 1 +
test/Makefile.am | 1 +
test/SerializableObjectModelTest.vala | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/test/GXmlTest.vala b/test/GXmlTest.vala
index bf21008..9d59dc3 100644
--- a/test/GXmlTest.vala
+++ b/test/GXmlTest.vala
@@ -61,6 +61,7 @@ class GXmlTest {
SerializationTest.add_tests ();
SerializableTest.add_tests ();
SerializableObjectModelTest.add_tests ();
+ SerializableObjectModelTwTest.add_tests ();
SerializableGeeTreeMapTest.add_tests ();
SerializableGeeHashMapTest.add_tests ();
SerializableGeeDualKeyMapTest.add_tests ();
diff --git a/test/Makefile.am b/test/Makefile.am
index 07a4362..cbe5173 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -40,6 +40,7 @@ sources = \
SerializableTest.vala \
SerializationTest.vala \
SerializableObjectModelTest.vala \
+ SerializableObjectModel-Tw-Test.vala \
SerializableGeeTreeMapTest.vala \
SerializableGeeDualKeyMapTest.vala \
SerializableGeeArrayListTest.vala \
diff --git a/test/SerializableObjectModelTest.vala b/test/SerializableObjectModelTest.vala
index 8315ce5..09c0077 100644
--- a/test/SerializableObjectModelTest.vala
+++ b/test/SerializableObjectModelTest.vala
@@ -879,7 +879,9 @@ class SerializableObjectModelTest : GXmlTest
try {
unknown_property.deserialize (doc);
var doc2 = (GXml.Document) new xDocument ();
+#if DEBUG
GLib.message ("Prepare to Serialize...");
+#endif
unknown_property.serialize (doc2);
GLib.message ("After Serialize...");
#if DEBUG
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]