Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: telemetry/examples/browser_tests/sample_unittest.py

Issue 2700563004: [Telemetry] Migrate browser_test_runner to use typ as the test runner (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: telemetry/examples/browser_tests/sample_unittest.py
diff --git a/telemetry/examples/browser_tests/sample_unittest.py b/telemetry/examples/browser_tests/sample_unittest.py
new file mode 100644
index 0000000000000000000000000000000000000000..fcae2580449aded38af4714363825e45fe88141f
--- /dev/null
+++ b/telemetry/examples/browser_tests/sample_unittest.py
@@ -0,0 +1,12 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import unittest
+
+class SampleUnittest(unittest.TestCase):
+ def testPassing(self):
+ self.assertTrue(1 + 1)
+
+ def testFailing(self):
+ self.assertFalse(True or False)
« no previous file with comments | « telemetry/examples/browser_tests/process_tests.py ('k') | telemetry/examples/browser_tests/simple_browser_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698