[conduit: 2/138] Run sync tests on *all* combinations of module wrapper
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 2/138] Run sync tests on *all* combinations of module wrapper
- Date: Thu, 21 May 2009 03:27:07 -0400 (EDT)
commit 531ae4d5f769caa80d415f87a199e9580e6e5cab
Author: John Carr <john carr unrouted co uk>
Date: Sun Apr 19 14:09:05 2009 +0100
Run sync tests on *all* combinations of module wrapper
---
test/soup/test_synchronization.py | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/test/soup/test_synchronization.py b/test/soup/test_synchronization.py
index 81a1f5d..19b16ff 100644
--- a/test/soup/test_synchronization.py
+++ b/test/soup/test_synchronization.py
@@ -1,3 +1,25 @@
+import unittest
+
+import modules
+
+class TestSynchronizationPair(BaseTest):
+
+ def __init__(self, source, sink):
+ super(TestSynchronizationPair, self).__init__(self)
+ self.source = source
+ self.sink = sink
+
+ def testDoNothing(self):
+ pass
+
+class TestSynchronization(unittest.TestSuite):
+
+ def __init__(self, tests=None):
+ """ Generate TestSuite for all module wrapper pairs """
+ tests = []
+ for a in modules.all():
+ for b in modules.all():
+ tests.append(TestSynchronizationPair(a, b))
+
+ super(TestSynchronization, self).__init__(tests)
-class TestSynchronization(BaseTest):
- pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]