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

Unified Diff: json_reporter.schema.json

Issue 1641353002: Expand the JSON reporter to enable a progress bar. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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: json_reporter.schema.json
diff --git a/json_reporter.schema.json b/json_reporter.schema.json
index 00b0a34a18bed3df11cc796b4973bfc18bec395f..329686d5edc90bccb19615d1e77f0ae2bf0bd7ee 100644
--- a/json_reporter.schema.json
+++ b/json_reporter.schema.json
@@ -39,7 +39,8 @@
"name": {
"oneOf": [{"type": "string"}, {"type": "null"}]
},
- "metadata": {"$ref": "#/definitions/Metadata"}
+ "metadata": {"$ref": "#/definitions/Metadata"},
+ "testCount": {"type": "integer", "minimum": 0}
}
},
@@ -83,6 +84,15 @@
},
{
+ "title": "AllSuitesEvent",
+ "required": ["count"],
+ "properties": {
+ "type": {"enum": ["allSuites"]},
+ "count": {"type": "integer", "minimum": 0}
+ }
+ },
+
+ {
"title": "SuiteEvent",
"required": ["suite"],
"properties": {
@@ -150,8 +160,8 @@
"type": {
"not": {
"enum": [
- "start", "testStart", "suite", "group", "print", "error",
- "testDone", "done"
+ "start", "testStart", "allSuites", "suite", "group", "print",
+ "error", "testDone", "done"
]
}
}
« json_reporter.md ('K') | « json_reporter.md ('k') | lib/src/backend/group.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698