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

Side by Side Diff: go/src/infra/monitoring/messages/testresults.go

Issue 1062733009: dispatcher: updates go/infra/monitoring/messages to parse some more json formats (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « go/src/infra/monitoring/messages/gatekeeper.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // These structs are for parsing test-results.appspot.com responses.
6
7 package messages
8
9 // TestResults represents the uploaded results of a set of tests for a build.
10 type TestResults struct {
11 BuildNumber string `json:"build_number"`
12 SecondsSinceEpoch int64 `json:"seconds_since_epoch"`
13 Tests map[string]TestResult `json:"tests"`
14 }
15
16 // TestResult represents the output of an individual test.
17 type TestResult struct {
18 Expected string
19 Actual string
20 Time int64
21 }
OLDNEW
« no previous file with comments | « go/src/infra/monitoring/messages/gatekeeper.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698