blob: 5f62bc5da3a68125d4d3a3d5b46f429d3580b465 [file] [log] [blame]
Tests the coverage export functionality and format.
File: http://127.0.0.1:8000/devtools/coverage/resources/coverage.js
Usage: [0, 27]
function outer(index) {
Usage: [69, 119]
function inner2(a) {
return a + 2;
}
Usage: [155, 193]
function inner4(a) { return a + 4; }
Usage: [229, 250]
if (index === 7)
Usage: [301, 456]
// Make sure these are not collected.
if (!self.__funcs)
self.__funcs = [inner1, inner2, inner3, inner4, inner5];
return self.__funcs[index];
}
Usage: [458, 523]
function performActions() {
return outer(1)(0) + outer(3)(0);
}
File: http://127.0.0.1:8000/devtools/coverage/resources/highlight-in-source.css
Usage: [0, 41]
body {
background-color: lightblue;
}
Usage: [43, 69]
.class {
color: red;
}
File: test://evaluations/0/coverage-export.js
Usage: [0, 79]
performActions()//# sourceURL=test://evaluations/0/coverage-export.js