This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 1114695 - factor a lot of MarionetteJSTestCase.runTest out into C…
…ommonTestCase.run_js_test. r=jgriffin
- Loading branch information
Showing
2 changed files
with
120 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
testing/marionette/client/marionette/tests/unit/test_run_js_test.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Any copyright is dedicated to the Public Domain. | ||
# http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
from marionette_test import MarionetteTestCase | ||
import unittest | ||
|
||
class TestRunJSTest(MarionetteTestCase): | ||
def test_basic(self): | ||
self.run_js_test('test_simpletest_pass.js') | ||
self.run_js_test('test_simpletest_fail.js') |