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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
« no previous file with comments | « components/sync/tools/testserver/xmppserver.py ('k') | components/sync_bookmarks.gypi » ('j') | 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 2013 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
(...skipping 401 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 | « components/sync/tools/testserver/xmppserver.py ('k') | components/sync_bookmarks.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698