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 Bug 1213797: Refactor screen capture and SVG document support 2015-10-13 16:52:26 +01:00
common.js
cookies.js Bug 1223907: Refactor cookies in Marionette 2015-11-13 13:35:22 +00:00
dispatcher.js Bug 1240576 - Use Preferences.jsm throughout Marionette; r=automatedtester 2016-01-18 22:05:30 +00:00
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 Bug 1211489: Provide message sequencing in Marionette 2015-09-26 17:12:01 +01:00
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 Bug 1215502: Send wrapped WebDriverError to client r=automatedtester 2016-01-07 14:41:11 +00:00
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 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
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