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

Unified Diff: tools/telemetry/third_party/coverage/tests/modules/plugins/a_plugin.py

Issue 1366913004: Add coverage Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: tools/telemetry/third_party/coverage/tests/modules/plugins/a_plugin.py
diff --git a/tools/telemetry/third_party/coverage/tests/modules/plugins/a_plugin.py b/tools/telemetry/third_party/coverage/tests/modules/plugins/a_plugin.py
new file mode 100644
index 0000000000000000000000000000000000000000..0cc96e5af695e3d782e939dfead7f1865f3c6429
--- /dev/null
+++ b/tools/telemetry/third_party/coverage/tests/modules/plugins/a_plugin.py
@@ -0,0 +1,11 @@
+"""A plugin for tests to reference."""
+
+from coverage import CoveragePlugin
+
+
+class Plugin(CoveragePlugin):
+ pass
+
+
+def coverage_init(reg, options):
+ reg.add_file_tracer(Plugin())

Powered by Google App Engine
This is Rietveld 408576698