[pygobject] tests: Split test_strv() into multiple tests
- From: Simon Feltman <sfeltman src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] tests: Split test_strv() into multiple tests
- Date: Thu, 11 Sep 2014 23:24:03 +0000 (UTC)
commit d1bae18ba0514864a37bf5d182605e2100c28d7e
Author: Simon Feltman <sfeltman src gnome org>
Date: Thu Sep 11 16:17:13 2014 -0700
tests: Split test_strv() into multiple tests
https://bugzilla.gnome.org/show_bug.cgi?id=735193
tests/test_everything.py | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_everything.py b/tests/test_everything.py
index dfd1dc4..3ca8a14 100644
--- a/tests/test_everything.py
+++ b/tests/test_everything.py
@@ -395,14 +395,22 @@ class TestEverything(unittest.TestCase):
self.assertEqual(result, ['regress'])
result = None
- def test_strv(self):
+ def test_strv_out(self):
self.assertEqual(Everything.test_strv_out(), ['thanks', 'for', 'all', 'the', 'fish'])
+
+ def test_strv_out_c(self):
self.assertEqual(Everything.test_strv_out_c(), ['thanks', 'for', 'all', 'the', 'fish'])
+
+ def test_strv_out_container(self):
self.assertEqual(Everything.test_strv_out_container(), ['1', '2', '3'])
+
+ def test_strv_outarg(self):
self.assertEqual(Everything.test_strv_outarg(), ['1', '2', '3'])
+ def test_strv_in_gvalue(self):
self.assertEqual(Everything.test_strv_in_gvalue(), ['one', 'two', 'three'])
+ def test_strv_in(self):
Everything.test_strv_in(['1', '2', '3'])
def test_glist(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]