diff options
author | kelvinp <kelvinp@chromium.org> | 2015-08-26 17:27:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 00:27:51 +0000 |
commit | 67628891dda6f69663fa152b5423d5872d88be3c (patch) | |
tree | 7d0bcebc1485378ac5cf3edec38d07b3d8123cde /remoting/remoting_webapp_files.gypi | |
parent | a3a6430c4d471af3092682783ae4eed377d55d39 (diff) | |
download | chromium_src-67628891dda6f69663fa152b5423d5872d88be3c.zip chromium_src-67628891dda6f69663fa152b5423d5872d88be3c.tar.gz chromium_src-67628891dda6f69663fa152b5423d5872d88be3c.tar.bz2 |
Me2Me Telemetry Integration test.
As we rely more and more on our session state changes data to determine
the reliability of our connections. It is important to ensure we don't
have any regressions on the telemetry events generated for a given
connection.
This CL implements a few integration tests for our top 7 Me2Me connection
scenarios:
1. Connection Succeeded
2. Connection Failed - Signal Strategy
3. HostOffline - reconnect succeeded
4. HostOffline - reconnect failed
5. HostOffline - Jid refresh failed
6. Connection Canceled
7. Reconnect button
Summary of changes:
1. Moves the creation logic of modal dialogs into a factory class so that
it can be injected in test code.
2. Moves the creation of DesktopConnectedView into a factory function so
that it can be overwritten in test code.
3. MockConnection injects the MockClientPlugin and the MockSignalStrategy
into the ClientSessionFactory.
4. Me2MeTestDriver injects the MockConnection, MockModalDialogFactory,
MockHostList and other mock objects into Me2MeActivity.
BUG=521782
Review URL: https://codereview.chromium.org/1301373002
Cr-Commit-Position: refs/heads/master@{#345744}
Diffstat (limited to 'remoting/remoting_webapp_files.gypi')
-rw-r--r-- | remoting/remoting_webapp_files.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/remoting/remoting_webapp_files.gypi b/remoting/remoting_webapp_files.gypi index d8f023d..f15f196 100644 --- a/remoting/remoting_webapp_files.gypi +++ b/remoting/remoting_webapp_files.gypi @@ -119,14 +119,17 @@ 'webapp/crd/js/host_table_entry_unittest.js', 'webapp/crd/js/legacy_host_list_api_unittest.js', 'webapp/crd/js/menu_button_unittest.js', + 'webapp/crd/js/me2me_telemetry_integration_test.js', 'webapp/crd/js/mock_xhr_unittest.js', ], 'remoting_webapp_unittests_js_mock_files': [ 'webapp/crd/js/mock_client_plugin.js', 'webapp/crd/js/mock_host_daemon_facade.js', 'webapp/crd/js/mock_host_list_api.js', + 'webapp/crd/js/mock_modal_dialog_factory.js', 'webapp/crd/js/mock_identity.js', 'webapp/crd/js/mock_signal_strategy.js', + 'webapp/crd/js/remoting_activity_test_driver.js', 'webapp/js_proto/chrome_mocks.js', 'webapp/unittests/sinon_helpers.js', 'webapp/crd/js/mock_xhr.js', |