summaryrefslogtreecommitdiffstats
path: root/testing/marionette/harness/marionette_harness/tests/unit/test_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/marionette/harness/marionette_harness/tests/unit/test_report.py')
-rw-r--r--testing/marionette/harness/marionette_harness/tests/unit/test_report.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/marionette/harness/marionette_harness/tests/unit/test_report.py b/testing/marionette/harness/marionette_harness/tests/unit/test_report.py
new file mode 100644
index 000000000..f22c3db4b
--- /dev/null
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_report.py
@@ -0,0 +1,29 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+from marionette_harness import MarionetteTestCase, expectedFailure, skip
+
+
+class TestReport(MarionetteTestCase):
+
+ def test_pass(self):
+ assert True
+
+ def test_fail(self):
+ assert False
+
+ @skip('Skip Message')
+ def test_skip(self):
+ assert False
+
+ @expectedFailure
+ def test_expected_fail(self):
+ assert False
+
+ @expectedFailure
+ def test_unexpected_pass(self):
+ assert True
+
+ def test_error(self):
+ raise Exception()