public static final class BatchReport.Coverage extends com.google.protobuf.GeneratedMessage implements BatchReport.CoverageOrBuilder
Coverage
Only FILE component has coverage information, and only executable lines should contains this information. TODO rename it LineCoverage ?
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchReport.Coverage.Builder
Protobuf type
Coverage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CONDITIONS_FIELD_NUMBER |
static int |
IT_COVERED_CONDITIONS_FIELD_NUMBER |
static int |
IT_HITS_FIELD_NUMBER |
static int |
LINE_FIELD_NUMBER |
static int |
OVERALL_COVERED_CONDITIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<BatchReport.Coverage> |
PARSER |
static int |
UT_COVERED_CONDITIONS_FIELD_NUMBER |
static int |
UT_HITS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getConditions()
optional int32 conditions = 2; |
static BatchReport.Coverage |
getDefaultInstance() |
BatchReport.Coverage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getItCoveredConditions()
optional int32 it_covered_conditions = 6; |
boolean |
getItHits()
optional bool it_hits = 4; |
int |
getLine()
optional int32 line = 1; |
int |
getOverallCoveredConditions()
optional int32 overall_covered_conditions = 7; |
com.google.protobuf.Parser<BatchReport.Coverage> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getUtCoveredConditions()
optional int32 ut_covered_conditions = 5; |
boolean |
getUtHits()
optional bool ut_hits = 3; |
boolean |
hasConditions()
optional int32 conditions = 2; |
boolean |
hasItCoveredConditions()
optional int32 it_covered_conditions = 6; |
boolean |
hasItHits()
optional bool it_hits = 4; |
boolean |
hasLine()
optional int32 line = 1; |
boolean |
hasOverallCoveredConditions()
optional int32 overall_covered_conditions = 7; |
boolean |
hasUtCoveredConditions()
optional int32 ut_covered_conditions = 5; |
boolean |
hasUtHits()
optional bool ut_hits = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchReport.Coverage.Builder |
newBuilder() |
static BatchReport.Coverage.Builder |
newBuilder(BatchReport.Coverage prototype) |
BatchReport.Coverage.Builder |
newBuilderForType() |
protected BatchReport.Coverage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static BatchReport.Coverage |
parseDelimitedFrom(InputStream input) |
static BatchReport.Coverage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.Coverage |
parseFrom(byte[] data) |
static BatchReport.Coverage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.Coverage |
parseFrom(com.google.protobuf.ByteString data) |
static BatchReport.Coverage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.Coverage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchReport.Coverage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.Coverage |
parseFrom(InputStream input) |
static BatchReport.Coverage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BatchReport.Coverage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LINE_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
public static final int UT_HITS_FIELD_NUMBER
public static final int IT_HITS_FIELD_NUMBER
public static final int UT_COVERED_CONDITIONS_FIELD_NUMBER
public static final int IT_COVERED_CONDITIONS_FIELD_NUMBER
public static final int OVERALL_COVERED_CONDITIONS_FIELD_NUMBER
public static final com.google.protobuf.Parser<BatchReport.Coverage> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasLine()
optional int32 line = 1;hasLine in interface BatchReport.CoverageOrBuilderpublic int getLine()
optional int32 line = 1;getLine in interface BatchReport.CoverageOrBuilderpublic boolean hasConditions()
optional int32 conditions = 2;
Number of conditions to cover (if set, the value must be greater than 0)
hasConditions in interface BatchReport.CoverageOrBuilderpublic int getConditions()
optional int32 conditions = 2;
Number of conditions to cover (if set, the value must be greater than 0)
getConditions in interface BatchReport.CoverageOrBuilderpublic boolean hasUtHits()
optional bool ut_hits = 3;
Is the line has been touched by a unit test ? Returning false means that no test has touched this executable line.
hasUtHits in interface BatchReport.CoverageOrBuilderpublic boolean getUtHits()
optional bool ut_hits = 3;
Is the line has been touched by a unit test ? Returning false means that no test has touched this executable line.
getUtHits in interface BatchReport.CoverageOrBuilderpublic boolean hasItHits()
optional bool it_hits = 4;
Is the line has been touched by a integration test ? Returning false means that no test has touched this executable line.
hasItHits in interface BatchReport.CoverageOrBuilderpublic boolean getItHits()
optional bool it_hits = 4;
Is the line has been touched by a integration test ? Returning false means that no test has touched this executable line.
getItHits in interface BatchReport.CoverageOrBuilderpublic boolean hasUtCoveredConditions()
optional int32 ut_covered_conditions = 5;
Number of conditions covered by unit tests
hasUtCoveredConditions in interface BatchReport.CoverageOrBuilderpublic int getUtCoveredConditions()
optional int32 ut_covered_conditions = 5;
Number of conditions covered by unit tests
getUtCoveredConditions in interface BatchReport.CoverageOrBuilderpublic boolean hasItCoveredConditions()
optional int32 it_covered_conditions = 6;
Number of conditions covered by integration tests
hasItCoveredConditions in interface BatchReport.CoverageOrBuilderpublic int getItCoveredConditions()
optional int32 it_covered_conditions = 6;
Number of conditions covered by integration tests
getItCoveredConditions in interface BatchReport.CoverageOrBuilderpublic boolean hasOverallCoveredConditions()
optional int32 overall_covered_conditions = 7;
Number of conditions covered by overall tests
hasOverallCoveredConditions in interface BatchReport.CoverageOrBuilderpublic int getOverallCoveredConditions()
optional int32 overall_covered_conditions = 7;
Number of conditions covered by overall tests
getOverallCoveredConditions in interface BatchReport.CoverageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static BatchReport.Coverage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.Coverage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.Coverage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.Coverage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.Coverage parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchReport.Coverage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchReport.Coverage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchReport.Coverage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchReport.Coverage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchReport.Coverage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchReport.Coverage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchReport.Coverage.Builder newBuilder()
public static BatchReport.Coverage.Builder newBuilder(BatchReport.Coverage prototype)
public BatchReport.Coverage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchReport.Coverage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static BatchReport.Coverage getDefaultInstance()
public com.google.protobuf.Parser<BatchReport.Coverage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic BatchReport.Coverage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2009–2015 SonarSource. All rights reserved.