|
Implement mocks for identity and host-list, add a browser test to test the app in various failure modes.
* Minor refactoring of RemoteDesktopBrowerTest to better support deferred-start tests without needing them to duplicate too much code.
* Added some JavaScript helper functions.
* Interfacified the host-list and OAuth REST APIs, and added mocks.
* Added a mock for the chrome.identity API.
* Added a (partial, due to bugs that I'll fix separately) browser test to check the behaviour of the app in various failure modes.
Note that the first two items could conceivably be a separate CL, since they're likely to be useful independently of this CL. LMK if you'd like me to split it.
Committed: https://crrev.com/499b99a8ba2d7f4f2e78e75f70c583e78b6a01d0
Cr-Commit-Position: refs/heads/master@{#310885}
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+558 lines, -241 lines) |
Patch |
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/remoting/remote_desktop_browsertest.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/remoting/remote_desktop_browsertest.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/remoting/unauthenticated_browsertest.cc
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting_webapp_files.gypi
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/webapp/browser_test/browser_test.js
|
View
|
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
A |
remoting/webapp/browser_test/mock_host_list_api.js
|
View
|
|
1 chunk |
+109 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/webapp/browser_test/mock_identity.js
|
View
|
|
1 chunk |
+110 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/webapp/browser_test/mock_oauth2_api.js
|
View
|
1
2
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/webapp/browser_test/timeout_waiter.js
|
View
|
1
2
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/webapp/browser_test/unauthenticated_browser_test.js
|
View
|
1
2
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/webapp/crd/js/host_list_api.js
|
View
|
|
5 chunks |
+2 lines, -71 lines |
0 comments
|
Download
|
 |
A + |
remoting/webapp/crd/js/host_list_api_impl.js
|
View
|
|
6 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/webapp/crd/js/oauth2_api.js
|
View
|
|
5 chunks |
+5 lines, -143 lines |
0 comments
|
Download
|
 |
A + |
remoting/webapp/crd/js/oauth2_api_impl.js
|
View
|
|
7 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
remoting/webapp/js_proto/dom_proto.js
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (3 generated)
|