summaryrefslogtreecommitdiffstats
path: root/remoting/test/app_remoting_connection_helper.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to standard integer types in remoting/.avi2015-12-221-0/+1
| | | | | | | | | BUG=138542 TBR=wez@chromium.org Review URL: https://codereview.chromium.org/1542203002 Cr-Commit-Position: refs/heads/master@{#366684}
* Updated latency fixture to match internal classes and refactoredliaoyuke2015-07-271-13/+3
| | | | | | | | | | | | | | | | connection helper. 1. Moved the Open new document logic to the SetUp function to enforce a fresh document for tests. 2. Refactored connection helper to make it as minimum as possible, and moved the ping response verify logic to the connected client fixture. BUG= Review URL: https://codereview.chromium.org/1253613002 Cr-Commit-Position: refs/heads/master@{#340588}
* Updated latency fixture and key codes to support first input latency test caseliaoyuke2015-07-231-0/+2
| | | | | | | | | | | 1. Added more key events to 'remoting/protocol/usb_key_codes.h'. 2. Updated the mechanism to pass around application details in 'remoting/test/app_remoting/latency_test_fixture' BUG= Review URL: https://codereview.chromium.org/1240573013 Cr-Commit-Position: refs/heads/master@{#340002}
* Added image pattern comparison logic including unit tests.liaoyuke2015-07-131-3/+0
| | | | | | | | | | The Image pattern comparison logic is: calculate the average color of the expected rect region on the current frame and compare it to the expected color to see if it matches. BUG= Review URL: https://codereview.chromium.org/1219923011 Cr-Commit-Position: refs/heads/master@{#338588}
* Added test interface: AppRemotingLatencyTestFixtureliaoyuke2015-07-081-4/+6
| | | | | | | | | | | | | | | | | | Basically, the following 4 steps are required to write a test: 1. Initialize(Application to be run); 2. SetExpectedImagePattern(expected rectangle (area of interets), the average color of the area); 3. Send user inputs. 4. bool VerifyImagePatternMatched(max wait time); The VerifyImagePatternMatched function returns true if a image pattern matched response is received within the maximum time limit. BUG= Review URL: https://codereview.chromium.org/1218933004 Cr-Commit-Position: refs/heads/master@{#337713}
* Refactored AppRemotingConnectedClientFixture to decouple ↵liaoyuke2015-06-291-0/+104
AppRemotingConnectionHelper. BUG= Review URL: https://codereview.chromium.org/1213453004 Cr-Commit-Position: refs/heads/master@{#336631}