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

Unified Diff: tools/telemetry/third_party/coverage/lab/new-data.js

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/lab/new-data.js
diff --git a/tools/telemetry/third_party/coverage/lab/new-data.js b/tools/telemetry/third_party/coverage/lab/new-data.js
new file mode 100644
index 0000000000000000000000000000000000000000..973aa11647b7e03f71dae5b97d1f1b7028ee311d
--- /dev/null
+++ b/tools/telemetry/third_party/coverage/lab/new-data.js
@@ -0,0 +1,74 @@
+{
+ "run" {
+ "collector": "coverage.py 4.0",
+ "config": {
+ "branch": true,
+ "source": ".",
+ },
+ "collected": "20150711T090600",
+ },
+
+ // As of now:
+ "lines": {
+ "a/b/c.py": [1, 2, 3, 4, 5],
+ "a/b/d.py": [4, 5, 6, 7, 8],
+ },
+ "arcs": {
+ "a/b/c.py: [[1, 2], [2, 3], [4, 5]],
+ },
+ "plugins: {
+ "a/b/c.py": "fooey.plugin",
+ },
+
+ // Maybe in the future?
+ "files": {
+ "a/b/c.py": {
+ "lines": [1, 2, 3, 4, 5],
+ "arcs": [
+ [1, 2], [3, 4], [5, -1],
+ ],
+
+ "plugin": "django.coverage",
+
+ "lines": {
+ "1": {
+ "tests": [
+ "foo/bar/test.py:TheTest.test_it",
+ "asdasdasd",
+ ],
+ "tests": [17, 34, 23, 12389],
+ },
+ "2": {
+ "count": 23,
+ },
+ "3": {},
+ "4": {},
+ "17": {},
+ },
+
+ "arcs": {
+ "1.2": {},
+ "2.3": {},
+ "3.-1": {},
+ },
+ },
+ },
+
+ "tests": [
+ {
+ "file": "a/b/c.py",
+ "test": "test_it",
+ },
+ {
+ "file": "a/b/d.py",
+ "test": "TheTest.test_it",
+ },
+ ],
+
+ "runs": [
+ {
+ // info about each run?
+ },
+ { ... },
+ ],
+}
« no previous file with comments | « tools/telemetry/third_party/coverage/lab/hack_pyc.py ('k') | tools/telemetry/third_party/coverage/lab/parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698