gecko-dev/testing/marionette
Maja Frydrychowicz c4a795ff19 Bug 1227367 - Test MarionetteTestRunner's test_handlers and testvars; r=automatedtester
BaseMarionetteTestRunner sets up an empty list of test_handlers; however
it is essential for any child class have at least one test_handler,
otherwise the harness is busted. So, I added a test to check that
MarionetteTestRunner sets up the expected test_handlers.

In doing so, I refactor BaseMarionetteTestRunner.__init__ to
split out file i/o into other methods so I can mock them out,
which involves modifying testvars code.

So, I also added a test to make sure the parsing of testvars still
works.

MozReview-Commit-ID: GF5MKy8rN8C

--HG--
extra : rebase_source : eb62a0245848c30d52a75a1b88d6f14c0f890295
extra : histedit_source : 544ad127d177f47b3c439ef4c96cee0ec4a9c160
2016-03-31 00:35:09 -04:00
..
client Bug 1261138 - Allow marionette to have any socket timeout, including None indicating no timeout, r=ato 2016-03-31 18:55:14 +01:00
components Bug 1257523 - Remove unused imports; r=automatedtester 2016-03-17 14:29:41 +00:00
harness Bug 1227367 - Test MarionetteTestRunner's test_handlers and testvars; r=automatedtester 2016-03-31 00:35:09 -04:00
accessibility.js Bug 1245064 - Refactor interaction- and accessibility API; r=automatedtester 2016-03-03 13:58:13 +00:00
action.js Bug 1253244 - Use element.coordinates in action module; r=automatedtester 2016-03-03 14:29:53 +00:00
atom.js Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester 2016-02-03 19:00:46 +00:00
capture.js
common.js
cookies.js
dispatcher.js
driver.js Bug 1259029 - Ensure that getChromeWindowHandles() returns the same window list for chrome and content scope. r=ato 2016-03-23 15:48:11 +01:00
element.js Bug 1257153 - Cancel implicit wait timers on rejection; r=automatedtester 2016-03-16 12:27:36 +00:00
emulator.js
error.js Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester 2016-02-03 18:43:37 +00:00
evaluate.js Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
event.js Bug 1253236 - Remove window argument from element.isVisible; r=automatedtester 2016-03-03 14:20:39 +00:00
frame.js Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
interaction.js Bug 1245064 - Implement element pointer-interactability; r=automatedtester 2016-03-04 16:44:38 +00:00
jar.mn Bug 1251701 - Store imported scripts in memory; r=jgriffin 2016-02-29 18:52:30 +00:00
listener.js Bug 1257523 - Remove unused imports; r=automatedtester 2016-03-17 14:29:41 +00:00
mach_commands.py Bug 1255064 - MarionetteHarness should internally use dicts for arguments; r=maja_zf 2016-03-18 19:33:08 -07:00
message.js
modal.js Bug 1254523 - Convert modal.Dialog to a class; r=automatedtester 2016-03-08 14:10:32 +00:00
moz.build Bug 1246407 - Rename parent directories for Marionette client and test harness; r=automatedtester 2016-02-06 17:34:10 +00:00
proxy.js Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester 2016-02-03 18:44:55 +00:00
server.js Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester 2016-02-03 19:18:30 +00:00
simpletest.js
test_element.js Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester 2016-03-04 15:34:28 +00:00
test_error.js Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester 2016-03-04 18:25:21 +00:00
test_message.js Bug 1253677 - Remove run_test functions from xpcshell tests; r=automatedtester 2016-03-04 18:25:21 +00:00
unit.ini Bug 1253244 - Correct x,y offset type checks and add tests; r=automatedtester 2016-03-04 15:34:28 +00:00