[pygobject/gsoc2009: 62/160] Add test for array as return value
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 62/160] Add test for array as return value
- Date: Fri, 14 Aug 2009 21:27:18 +0000 (UTC)
commit b708439150ecf651c69cdba968eaefdcd73351d8
Author: Simon van der Linden <svdlinden src gnome org>
Date: Thu Jul 23 13:14:31 2009 +0200
Add test for array as return value
tests/test_girepository.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/test_girepository.py b/tests/test_girepository.py
index 137359f..60c7024 100644
--- a/tests/test_girepository.py
+++ b/tests/test_girepository.py
@@ -311,6 +311,9 @@ class TestGIEverything(unittest.TestCase):
def testArrayIntOut(self):
self.assertEquals((0, 1, 2, 3, 4), Everything.test_array_int_out())
+ def testArrayIntReturn(self):
+ self.assertEquals((0, 1, 2, 3, 4), Everything.test_array_int_full_out())
+
def testArrayInt8In(self):
self.assertEquals(5, Everything.test_array_gint8_in((1, 2, 3, -1)))
self.assertEquals(-1, Everything.test_array_gint8_in((INT8_MAX, INT8_MIN)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]