GitHub PushEvent at 2014-01-14 14:18:40
Repository: stb-tester
Actor: szemate
Payload: {"shas":[["124238c872f7ccbdb0f58b1950960d0ad2140e2d","70ef5ae0bbb1aaaec4bbbd9af6e4df4e6a56b055@youview.com","stbt.press: Ensure minimum delay between subsequent key presses\n\nOur usual way of ensuring that remote control keys are pressed at\nthe right time is:\n\nstbt.press(key1)\nstbt.wait_for_match(template)\nstbt.press(key2)\n\nDue to the enhanced template match algorithm introduced in commit\nac97d6dd, wait_for_match might return so fast that some set-top-boxes\nmiss the second key press. According to our measurement results\nthese set-top-boxes require a certain minimum delay between subsequent\nkey presses in order to register every key.\n\nThis commit adds a new optional parameter `interpress_delay_secs` to\n`stbt.press` that specifies a minimum time to wait after the preceding\nkey press that `stbt.press` ensures. The default value of this parameter\nis read from the parameter of the same name in the `[press]` section of\nthe stbt config file.","Mate Szendro",true],["5b75fe747602c7576ea4a872326356caf44331ed","103ef497cf12af6954d700a940288ed5fc9f2d84@youview.com","tests for stbt.press interpress delay read config from tests/stbt.conf\n\nThe pattern used by all these tests is to use a `$STBT_CONFIG_FILE` (set\nby `tests/run-tests.sh` to `tests/stbt.conf`) that contains the same\ndefaults as `tests/../stbt.conf`. This is necessary because\n`$STBT_CONFIG_FILE` overrides the user's\n`~/.config/stbt/stbt.conf` (which has configuration outside of our\ncontrol, that could break the tests).\n\nThis commit makes `test_that_press_waits_between_subsequent_presses` and\n`test_that_press_reads_default_delay_from_stbt_conf` use the same\npattern used by all the other tests. Otherwise, the user's configuration\nmight have a \"source_pipeline\" that doesn't work, and thus causes\n`stbt-run` to fail.","David Rothlisberger",true],["352574d7837bd7e80b68b51c89b0922c3af18de2","103ef497cf12af6954d700a940288ed5fc9f2d84@youview.com","tests: Add test_that_press_doesnt_wait_any_longer_than_necessary","David Rothlisberger",true],["ec40174389f213384a91c70e64b608728a738218","103ef497cf12af6954d700a940288ed5fc9f2d84@youview.com","Merge branch 'interpress-delay'\n\n* interpress-delay:\n  tests: Add test_that_press_doesnt_wait_any_longer_than_necessary\n  tests for stbt.press interpress delay read config from tests/stbt.conf\n  stbt.press: Ensure minimum delay between subsequent key presses","David Rothlisberger",true]],"size":4,"ref":"refs/heads/master","head":"ec40174389f213384a91c70e64b608728a738218"}