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

Unified Diff: test/inspector/runtime/coverage-expected.txt

Issue 2700743002: [inspector] extend protocol for code coverage. (Closed)
Patch Set: fix 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
« no previous file with comments | « test/inspector/runtime/coverage.js ('k') | test/mjsunit/code-coverage-ad-hoc.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/coverage-expected.txt
diff --git a/test/inspector/runtime/coverage-expected.txt b/test/inspector/runtime/coverage-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c454098ce4069c9331e0ed85082275a1acdf5f6
--- /dev/null
+++ b/test/inspector/runtime/coverage-expected.txt
@@ -0,0 +1,333 @@
+Test collecting code coverage data with Runtime.collectCoverage.
+
+Running test: testPreciseCoverage
+{
+ id : <messageId>
+ result : {
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ [0] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 0
+ endLineNumber : 9
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ [1] : {
+ functionName : fib
+ ranges : [
+ [0] : {
+ count : 15
+ endColumnNumber : 1
+ endLineNumber : 4
+ startColumnNumber : 0
+ startLineNumber : 1
+ }
+ ]
+ }
+ [2] : {
+ functionName : iife
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 1
+ endLineNumber : 7
+ startColumnNumber : 1
+ startLineNumber : 5
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url : 1
+ }
+ [1] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 11
+ endLineNumber : 0
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ [0] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 0
+ endColumnNumber : 0
+ endLineNumber : 9
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ [1] : {
+ functionName : fib
+ ranges : [
+ [0] : {
+ count : 0
+ endColumnNumber : 1
+ endLineNumber : 4
+ startColumnNumber : 0
+ startLineNumber : 1
+ }
+ ]
+ }
+ [2] : {
+ functionName : iife
+ ranges : [
+ [0] : {
+ count : 0
+ endColumnNumber : 1
+ endLineNumber : 7
+ startColumnNumber : 1
+ startLineNumber : 5
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url : 1
+ }
+ [1] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 0
+ endColumnNumber : 11
+ endLineNumber : 0
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+}
+
+Running test: testPreciseCoverageFail
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 8
+ type : number
+ value : 8
+ }
+ }
+}
+{
+ error : {
+ code : -32000
+ message : Precise coverage has not been started.
+ }
+ id : <messageId>
+}
+
+Running test: testBestEffortCoverage
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 8
+ type : number
+ value : 8
+ }
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ ]
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ ]
+ }
+}
+
+Running test: testBestEffortCoveragePrecise
+{
+ id : <messageId>
+ result : {
+ result : {
+ description : 8
+ type : number
+ value : 8
+ }
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ [0] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 0
+ endLineNumber : 9
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ [1] : {
+ functionName : fib
+ ranges : [
+ [0] : {
+ count : 15
+ endColumnNumber : 1
+ endLineNumber : 4
+ startColumnNumber : 0
+ startLineNumber : 1
+ }
+ ]
+ }
+ [2] : {
+ functionName : iife
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 1
+ endLineNumber : 7
+ startColumnNumber : 1
+ startLineNumber : 5
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url : 4
+ }
+ [1] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 11
+ endLineNumber : 0
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : [
+ [0] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 0
+ endLineNumber : 9
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ [1] : {
+ functionName : fib
+ ranges : [
+ [0] : {
+ count : 15
+ endColumnNumber : 1
+ endLineNumber : 4
+ startColumnNumber : 0
+ startLineNumber : 1
+ }
+ ]
+ }
+ [2] : {
+ functionName : iife
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 1
+ endLineNumber : 7
+ startColumnNumber : 1
+ startLineNumber : 5
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url : 4
+ }
+ [1] : {
+ functions : [
+ [0] : {
+ functionName :
+ ranges : [
+ [0] : {
+ count : 1
+ endColumnNumber : 11
+ endLineNumber : 0
+ startColumnNumber : 0
+ startLineNumber : 0
+ }
+ ]
+ }
+ ]
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+}
« no previous file with comments | « test/inspector/runtime/coverage.js ('k') | test/mjsunit/code-coverage-ad-hoc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698