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

Side by Side Diff: recipe_engine/test_result.proto

Issue 2797023002: Always identify test names that lead to failures (Closed)
Patch Set: review Created 3 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
OLDNEW
1 // Copyright 2017 The LUCI Authors. All rights reserved. 1 // Copyright 2017 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package recipe_engine; 7 package recipe_engine;
8 8
9 // Result of running recipe tests. 9 // Result of running recipe tests.
10 message TestResult { 10 message TestResult {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // Keyword arguments to the function. 44 // Keyword arguments to the function.
45 map<string, string> kwargs = 4; 45 map<string, string> kwargs = 4;
46 46
47 // Filename where the check was added. 47 // Filename where the check was added.
48 string filename = 5; 48 string filename = 5;
49 49
50 // Line number where the check was added. 50 // Line number where the check was added.
51 int64 lineno = 6; 51 int64 lineno = 6;
52 } 52 }
53 53
54 message InternalFailure {
55 }
56
54 message TestFailure { 57 message TestFailure {
55 oneof failures { 58 oneof failures {
56 DiffFailure diff_failure = 1; 59 DiffFailure diff_failure = 1;
57 60
58 CheckFailure check_failure = 2; 61 CheckFailure check_failure = 2;
62
63 InternalFailure internal_failure = 3;
iannucci 2017/04/04 20:24:51 I suspect 'internal_failure' isn't quite right; mo
Paweł Hajdan Jr. 2017/04/04 20:32:03 Added comment to the proto. As indicated by the c
59 } 64 }
60 } 65 }
61 66
62 message TestFailures { 67 message TestFailures {
63 repeated TestFailure failures = 1; 68 repeated TestFailure failures = 1;
64 } 69 }
65 // Maps test names to failure details. 70 // Maps test names to failure details.
66 map<string, TestFailures> test_failures = 4; 71 map<string, TestFailures> test_failures = 4;
67 72
68 // Module names completely lacking test coverage. 73 // Module names completely lacking test coverage.
69 repeated string uncovered_modules = 5; 74 repeated string uncovered_modules = 5;
70 75
71 // Absolute native paths of unused recipe expectation files. 76 // Absolute native paths of unused recipe expectation files.
72 repeated string unused_expectations = 6; 77 repeated string unused_expectations = 6;
73 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698