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

Issue 593313003: Implement basic mocks for testing. (Closed)

Created:
6 years, 3 months ago by Jamie
Modified:
6 years, 2 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement basic mocks for testing. These may need to be made more elaborate once we start using them in browser tests, but I've verified that they can be used to mock a basic connection with resize support. Committed: https://crrev.com/8e0666d30aeb18d0672ca7ab6a9867ee97da159b Cr-Commit-Position: refs/heads/master@{#296624}

Patch Set 1 #

Patch Set 2 : Make fetch callbacks async. #

Patch Set 3 : More async. #

Total comments: 14

Patch Set 4 : Reviewer feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -0 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
A remoting/webapp/browser_test/mock_client_plugin.js View 1 2 3 1 chunk +184 lines, -0 lines 0 comments Download
A remoting/webapp/browser_test/mock_session_connector.js View 1 2 3 1 chunk +120 lines, -0 lines 0 comments Download
A remoting/webapp/browser_test/mock_signal_strategy.js View 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Jamie
ptal https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js File remoting/webapp/browser_test/mock_client_plugin.js (right): https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js#newcode58 remoting/webapp/browser_test/mock_client_plugin.js:58: window.setTimeout(onDone.bind(null, true), 0); All callbacks are asynchronous. https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_session_connector.js ...
6 years, 3 months ago (2014-09-23 23:53:55 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js File remoting/webapp/browser_test/mock_client_plugin.js (right): https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js#newcode1 remoting/webapp/browser_test/mock_client_plugin.js:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 3 months ago (2014-09-24 01:26:59 UTC) #3
Jamie
ptal https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js File remoting/webapp/browser_test/mock_client_plugin.js (right): https://codereview.chromium.org/593313003/diff/40001/remoting/webapp/browser_test/mock_client_plugin.js#newcode1 remoting/webapp/browser_test/mock_client_plugin.js:1: // Copyright (c) 2012 The Chromium Authors. All ...
6 years, 3 months ago (2014-09-24 17:03:46 UTC) #4
Sergey Ulanov
lgtm
6 years, 2 months ago (2014-09-25 00:31:05 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/593313003/60001
6 years, 2 months ago (2014-09-25 00:46:39 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 0d70c0a78ec7cc66f926f7025ffaafa3a54c3a33
6 years, 2 months ago (2014-09-25 02:10:17 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-09-25 02:10:59 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8e0666d30aeb18d0672ca7ab6a9867ee97da159b
Cr-Commit-Position: refs/heads/master@{#296624}

Powered by Google App Engine
This is Rietveld 408576698