thomasvs - in flumotion/trunk: . flumotion/test
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Fri Mar 2 12:34:13 CET 2007
Author: thomasvs
Date: Fri Mar 2 12:34:11 2007
New Revision: 4553
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/flumotion/test/test_feedcomponent010.py
Log:
* flumotion/test/test_feedcomponent010.py:
Fix test after I renamed methods at the last moment.
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Fri Mar 2 12:34:11 2007
@@ -1,5 +1,10 @@
2007-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
+ * flumotion/test/test_feedcomponent010.py:
+ Fix test after I renamed methods at the last moment.
+
+2007-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
+
* flumotion/component/base/admin_gtk.py:
* flumotion/component/base/feeders.glade:
* flumotion/component/feedcomponent010.py:
Modified: flumotion/trunk/flumotion/test/test_feedcomponent010.py
==============================================================================
--- flumotion/trunk/flumotion/test/test_feedcomponent010.py (original)
+++ flumotion/trunk/flumotion/test/test_feedcomponent010.py Fri Mar 2 12:34:11 2007
@@ -32,9 +32,9 @@
def setUp(self):
self.feeder = fc.Feeder('video:default')
- def test_addClient(self):
+ def test_clientConnected(self):
clientId = '/default/muxer-video'
- self.feeder.addClient(clientId, 3)
+ self.feeder.clientConnected(clientId, 3)
clients = self.feeder.getClients()
self.failUnless(3 in clients.keys())
client = clients[3]
@@ -44,7 +44,7 @@
clientId = '/default/muxer-video'
# connect
- c = self.feeder.addClient(clientId, 3)
+ c = self.feeder.clientConnected(clientId, 3)
# verify some stuff
self.clientAssertStats(c, 0, 0, 0, 0, 1)
@@ -54,11 +54,11 @@
self.clientAssertStats(c, 10, 1, 10, 1, 1)
# disconnect
- self.feeder.removeClient(3)
+ self.feeder.clientDisconnected(3)
self.clientAssertStats(c, 0, 0, 10, 1, 1)
# connect again
- self.feeder.addClient(clientId, 3)
+ self.feeder.clientConnected(clientId, 3)
self.clientAssertStats(c, 0, 0, 10, 1, 2)
# read 20 bytes, drop 2 buffers
More information about the flumotion-commit
mailing list