Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Side by Side Diff: sync/tools/testserver/xmppserver_test.py

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/tools/testserver/xmppserver.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Tests exercising the various classes in xmppserver.py.""" 6 """Tests exercising the various classes in xmppserver.py."""
7 7
8 import unittest 8 import unittest
9 9
10 import base64 10 import base64
11 import xmppserver 11 import xmppserver
12 12
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 self.xmpp_server.SendNotification('channel', 'data') 412 self.xmpp_server.SendNotification('channel', 'data')
413 self.AssertSentDataLength(2) 413 self.AssertSentDataLength(2)
414 414
415 self.xmpp_server.EnableNotifications() 415 self.xmpp_server.EnableNotifications()
416 self.xmpp_server.SendNotification('channel', 'data') 416 self.xmpp_server.SendNotification('channel', 'data')
417 self.AssertSentDataLength(3) 417 self.AssertSentDataLength(3)
418 418
419 419
420 if __name__ == '__main__': 420 if __name__ == '__main__':
421 unittest.main() 421 unittest.main()
OLDNEW
« no previous file with comments | « sync/tools/testserver/xmppserver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698