conduit r1277 - in trunk: . test/python-tests
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1277 - in trunk: . test/python-tests
- Date: Wed, 6 Feb 2008 01:40:31 +0000 (GMT)
Author: jstowers
Date: Wed Feb 6 01:40:31 2008
New Revision: 1277
URL: http://svn.gnome.org/viewvc/conduit?rev=1277&view=rev
Log:
2008-02-06 John Stowers <john stowers gmail com>
* test/python-tests/common.py: Test is_configured() in all configure calls.
Modified:
trunk/ChangeLog
trunk/test/python-tests/common.py
Modified: trunk/test/python-tests/common.py
==============================================================================
--- trunk/test/python-tests/common.py (original)
+++ trunk/test/python-tests/common.py Wed Feb 6 01:40:31 2008
@@ -341,13 +341,19 @@
if len(source) > 0:
try:
self.source.module.set_configuration(source)
- ok("Source configured", True)
+ ok("Source configured",
+ self.source.module.is_configured(
+ isSource=True,
+ isTwoWay=False))
except:
ok("Source configured", False)
if len(sink) > 0:
try:
self.sink.module.set_configuration(sink)
- ok("Sink configured", True)
+ ok("Sink configured",
+ self.sink.module.is_configured(
+ isSource=False,
+ isTwoWay=False))
except:
ok("Sink configured", False)
@@ -474,14 +480,20 @@
if len(source) > 0:
try:
self.source.module.set_configuration(source)
- ok("Source configured", True)
+ ok("Source configured",
+ self.source.module.is_configured(
+ isSource=True,
+ isTwoWay=self.conduit.is_two_way()))
except:
ok("Source configured", False)
if len(sink) > 0:
for i in xrange(0, len(self.conduit.datasinks)):
try:
self.get_sink(i).module.set_configuration(sink)
- ok("Sink %s configured" % i, True)
+ ok("Sink %s configured" % i,
+ self.get_sink(i).module.is_configured(
+ isSource=False,
+ isTwoWay=self.conduit.is_two_way()))
except:
ok("Sink %s configured" % i, False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]