aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf/batch_report.proto
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-04-17 16:17:21 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-04-17 17:44:58 +0200
commit5b0536c483d31018ec930b8a540306d36c29b243 (patch)
tree8bdaa864406c202668b98d04b368438f88ba3330 /sonar-batch-protocol/src/main/protobuf/batch_report.proto
parentf8df0dfe9289b17ca99911b9a9b59fb0092012fd (diff)
downloadsonarqube-5b0536c483d31018ec930b8a540306d36c29b243.tar.gz
sonarqube-5b0536c483d31018ec930b8a540306d36c29b243.zip
separate test and coverage details in batch protocol - SONAR-6255
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto18
1 files changed, 11 insertions, 7 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index cc0de55f061..99825feb940 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -233,17 +233,21 @@ message SyntaxHighlighting {
optional HighlightingType type = 2;
}
-message TestResult {
- optional int32 test_file_ref = 1;
+message Test {
+ optional string name = 1;
optional TestType type = 2;
- optional TestResultStatus status = 3;
+ optional TestStatus status = 3;
optional int64 duration_in_ms = 4;
optional string stacktrace = 5;
optional string msg = 6;
- repeated CoverageBlock coverage_block = 7;
+}
+
+message CoverageDetail {
+ optional string test_name = 1;
+ repeated CoveredFile covered_file = 2;
- message CoverageBlock {
+ message CoveredFile {
optional int32 file_ref = 1;
- repeated int32 line = 2;
+ repeated int32 covered_line = 2 [packed = true];
}
-} \ No newline at end of file
+}