diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-04-22 10:53:04 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-04-28 12:22:45 +0200 |
commit | e2954649262d71c92a474471dbe893446f04dfc2 (patch) | |
tree | e800889bcba6ff0164bd67e9ca94ca205acdadcc /sonar-batch-protocol/src/main/protobuf/file_source_db.proto | |
parent | aadd2ccda0a44307318c9f459089fe69fdac444a (diff) | |
download | sonarqube-e2954649262d71c92a474471dbe893446f04dfc2.tar.gz sonarqube-e2954649262d71c92a474471dbe893446f04dfc2.zip |
persist tests in db - SONAR-6255
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/file_source_db.proto')
-rw-r--r-- | sonar-batch-protocol/src/main/protobuf/file_source_db.proto | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/file_source_db.proto b/sonar-batch-protocol/src/main/protobuf/file_source_db.proto index a0068fad2d7..c28069157c1 100644 --- a/sonar-batch-protocol/src/main/protobuf/file_source_db.proto +++ b/sonar-batch-protocol/src/main/protobuf/file_source_db.proto @@ -36,6 +36,9 @@ Notes // are already in correct package package org.sonar.server.source.db; + +import "constants.proto"; + option optimize_for = SPEED; message Line { @@ -64,9 +67,23 @@ message Line { optional string highlighting = 15; optional string symbols = 16; - repeated int32 duplication = 17 [packed=true]; + repeated int32 duplication = 17 [packed = true]; } message Data { repeated Line lines = 1; } + +message Test { + optional string name = 2; + optional TestStatus status = 3; + optional int64 execution_time_ms = 4; + optional string stacktrace = 5; + optional string msg = 6; + repeated CoveredFile covered_file = 7; + + message CoveredFile { + optional string file_uuid = 1; + repeated int32 covered_line = 2 [packed = true]; + } +} |