summaryrefslogtreecommitdiffstats
path: root/tests/test_gtype.py
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-07-07 12:09:52 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-07-07 12:09:52 +0000
commitfe3966c22cbf5e198164b088b4f46f280bc33126 (patch)
tree28011f1aa7ac20608923459f40edec802d11318a /tests/test_gtype.py
parent73b8042c42ede774597b5bc235a70f8f13643b91 (diff)
downloadpygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.tar.gz
pygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.tar.xz
pygobject-fe3966c22cbf5e198164b088b4f46f280bc33126.zip
Bug 351072 – Cannot handle signals with parameter type G_TYPE_VALUE (marshal/unmarshal for GValue-wrapped GValue)
svn path=/trunk/; revision=680
Diffstat (limited to 'tests/test_gtype.py')
-rw-r--r--tests/test_gtype.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_gtype.py b/tests/test_gtype.py
index df75ccf..ad54dc6 100644
--- a/tests/test_gtype.py
+++ b/tests/test_gtype.py
@@ -64,6 +64,11 @@ class GTypeTest(unittest.TestCase):
def testObject(self):
self.checkType(gobject.TYPE_OBJECT, 'PyObject')
+ def testValue(self):
+ array = [1, "foo", True]
+ for i in array:
+ self.assertEqual(i, testhelper.test_value(i))
+
def testValueArray(self):
array = [1, 2, 3, "foo", True]
self.assertEqual(array, testhelper.test_value_array(array))