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? |
+ }, |
+ { ... }, |
+ ], |
+} |