OLD | NEW |
(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 } |
OLD | NEW |