diff --git a/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/Contracts.java b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/Contracts.java
index 45ab3ee060..c0334a306d 100644
--- a/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/Contracts.java
+++ b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/Contracts.java
@@ -13,15 +13,15 @@ public interface ListDartTestsResponseOrBuilder extends
com.google.protobuf.MessageLiteOrBuilder {
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
* @return The group.
*/
- pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroup();
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry getGroup();
}
/**
* Protobuf type {@code patrol.ListDartTestsResponse}
@@ -34,46 +34,46 @@ public static final class ListDartTestsResponse extends
private ListDartTestsResponse() {
}
public static final int GROUP_FIELD_NUMBER = 1;
- private pl.leancode.patrol.contracts.Contracts.DartTestGroup group_;
+ private pl.leancode.patrol.contracts.Contracts.DartGroupEntry group_;
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
@java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroup() {
- return group_ == null ? pl.leancode.patrol.contracts.Contracts.DartTestGroup.getDefaultInstance() : group_;
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry getGroup() {
+ return group_ == null ? pl.leancode.patrol.contracts.Contracts.DartGroupEntry.getDefaultInstance() : group_;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
- private void setGroup(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ private void setGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
group_ = value;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeGroup(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ private void mergeGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
if (group_ != null &&
- group_ != pl.leancode.patrol.contracts.Contracts.DartTestGroup.getDefaultInstance()) {
+ group_ != pl.leancode.patrol.contracts.Contracts.DartGroupEntry.getDefaultInstance()) {
group_ =
- pl.leancode.patrol.contracts.Contracts.DartTestGroup.newBuilder(group_).mergeFrom(value).buildPartial();
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
private void clearGroup() { group_ = null;
@@ -177,46 +177,46 @@ private Builder() {
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
@java.lang.Override
public boolean hasGroup() {
return instance.hasGroup();
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
@java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroup() {
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry getGroup() {
return instance.getGroup();
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
- public Builder setGroup(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ public Builder setGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
copyOnWrite();
instance.setGroup(value);
return this;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
public Builder setGroup(
- pl.leancode.patrol.contracts.Contracts.DartTestGroup.Builder builderForValue) {
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder builderForValue) {
copyOnWrite();
instance.setGroup(builderForValue.build());
return this;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
- public Builder mergeGroup(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ public Builder mergeGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
copyOnWrite();
instance.mergeGroup(value);
return this;
}
/**
- * .patrol.DartTestGroup group = 1;
+ * .patrol.DartGroupEntry group = 1;
*/
public Builder clearGroup() { copyOnWrite();
instance.clearGroup();
@@ -297,8 +297,8 @@ public static com.google.protobuf.Parser parser() {
}
}
- public interface DartTestGroupOrBuilder extends
- // @@protoc_insertion_point(interface_extends:patrol.DartTestGroup)
+ public interface DartGroupEntryOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:patrol.DartGroupEntry)
com.google.protobuf.MessageLiteOrBuilder {
/**
@@ -314,46 +314,144 @@ public interface DartTestGroupOrBuilder extends
getNameBytes();
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The fullName.
*/
- java.util.List
- getTestsList();
+ java.lang.String getFullName();
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The bytes for fullName.
*/
- pl.leancode.patrol.contracts.Contracts.DartTestCase getTests(int index);
+ com.google.protobuf.ByteString
+ getFullNameBytes();
+
+ /**
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The enum numeric value on the wire for type.
+ */
+ int getTypeValue();
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The type.
*/
- int getTestsCount();
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType getType();
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- java.util.List
- getGroupsList();
+ java.util.List
+ getEntriesList();
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroups(int index);
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry getEntries(int index);
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- int getGroupsCount();
+ int getEntriesCount();
}
/**
- * Protobuf type {@code patrol.DartTestGroup}
+ * Protobuf type {@code patrol.DartGroupEntry}
*/
- public static final class DartTestGroup extends
+ public static final class DartGroupEntry extends
com.google.protobuf.GeneratedMessageLite<
- DartTestGroup, DartTestGroup.Builder> implements
- // @@protoc_insertion_point(message_implements:patrol.DartTestGroup)
- DartTestGroupOrBuilder {
- private DartTestGroup() {
+ DartGroupEntry, DartGroupEntry.Builder> implements
+ // @@protoc_insertion_point(message_implements:patrol.DartGroupEntry)
+ DartGroupEntryOrBuilder {
+ private DartGroupEntry() {
name_ = "";
- tests_ = emptyProtobufList();
- groups_ = emptyProtobufList();
+ fullName_ = "";
+ entries_ = emptyProtobufList();
}
+ /**
+ * Protobuf enum {@code patrol.DartGroupEntry.GroupEntryType}
+ */
+ public enum GroupEntryType
+ implements com.google.protobuf.Internal.EnumLite {
+ /**
+ * GROUP = 0;
+ */
+ GROUP(0),
+ /**
+ * TEST = 1;
+ */
+ TEST(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * GROUP = 0;
+ */
+ public static final int GROUP_VALUE = 0;
+ /**
+ * TEST = 1;
+ */
+ public static final int TEST_VALUE = 1;
+
+
+ @java.lang.Override
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The number of the enum to look for.
+ * @return The enum associated with the given number.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static GroupEntryType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static GroupEntryType forNumber(int value) {
+ switch (value) {
+ case 0: return GROUP;
+ case 1: return TEST;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ GroupEntryType> internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ @java.lang.Override
+ public GroupEntryType findValueByNumber(int number) {
+ return GroupEntryType.forNumber(number);
+ }
+ };
+
+ public static com.google.protobuf.Internal.EnumVerifier
+ internalGetVerifier() {
+ return GroupEntryTypeVerifier.INSTANCE;
+ }
+
+ private static final class GroupEntryTypeVerifier implements
+ com.google.protobuf.Internal.EnumVerifier {
+ static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new GroupEntryTypeVerifier();
+ @java.lang.Override
+ public boolean isInRange(int number) {
+ return GroupEntryType.forNumber(number) != null;
+ }
+ };
+
+ private final int value;
+
+ private GroupEntryType(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:patrol.DartGroupEntry.GroupEntryType)
+ }
+
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
@@ -401,238 +499,233 @@ private void setNameBytes(
}
- public static final int TESTS_FIELD_NUMBER = 2;
- private com.google.protobuf.Internal.ProtobufList tests_;
+ public static final int FULLNAME_FIELD_NUMBER = 2;
+ private java.lang.String fullName_;
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The fullName.
*/
@java.lang.Override
- public java.util.List getTestsList() {
- return tests_;
- }
- /**
- * repeated .patrol.DartTestCase tests = 2;
- */
- public java.util.List extends pl.leancode.patrol.contracts.Contracts.DartTestCaseOrBuilder>
- getTestsOrBuilderList() {
- return tests_;
+ public java.lang.String getFullName() {
+ return fullName_;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The bytes for fullName.
*/
@java.lang.Override
- public int getTestsCount() {
- return tests_.size();
+ public com.google.protobuf.ByteString
+ getFullNameBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(fullName_);
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @param value The fullName to set.
*/
- @java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestCase getTests(int index) {
- return tests_.get(index);
+ private void setFullName(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ fullName_ = value;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
*/
- public pl.leancode.patrol.contracts.Contracts.DartTestCaseOrBuilder getTestsOrBuilder(
- int index) {
- return tests_.get(index);
- }
- private void ensureTestsIsMutable() {
- com.google.protobuf.Internal.ProtobufList tmp = tests_;
- if (!tmp.isModifiable()) {
- tests_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
- }
- }
+ private void clearFullName() {
+ fullName_ = getDefaultInstance().getFullName();
+ }
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @param value The bytes for fullName to set.
*/
- private void setTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
- value.getClass();
- ensureTestsIsMutable();
- tests_.set(index, value);
+ private void setFullNameBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ fullName_ = value.toStringUtf8();
+
}
+
+ public static final int TYPE_FIELD_NUMBER = 3;
+ private int type_;
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The enum numeric value on the wire for type.
*/
- private void addTests(pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
- value.getClass();
- ensureTestsIsMutable();
- tests_.add(value);
+ @java.lang.Override
+ public int getTypeValue() {
+ return type_;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The type.
*/
- private void addTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
- value.getClass();
- ensureTestsIsMutable();
- tests_.add(index, value);
+ @java.lang.Override
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType getType() {
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType result = pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType.forNumber(type_);
+ return result == null ? pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType.UNRECOGNIZED : result;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @param value The enum numeric value on the wire for type to set.
*/
- private void addAllTests(
- java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartTestCase> values) {
- ensureTestsIsMutable();
- com.google.protobuf.AbstractMessageLite.addAll(
- values, tests_);
+ private void setTypeValue(int value) {
+ type_ = value;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @param value The type to set.
*/
- private void clearTests() {
- tests_ = emptyProtobufList();
+ private void setType(pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType value) {
+ type_ = value.getNumber();
+
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
*/
- private void removeTests(int index) {
- ensureTestsIsMutable();
- tests_.remove(index);
+ private void clearType() {
+
+ type_ = 0;
}
- public static final int GROUPS_FIELD_NUMBER = 3;
- private com.google.protobuf.Internal.ProtobufList groups_;
+ public static final int ENTRIES_FIELD_NUMBER = 4;
+ private com.google.protobuf.Internal.ProtobufList entries_;
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public java.util.List getGroupsList() {
- return groups_;
+ public java.util.List getEntriesList() {
+ return entries_;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public java.util.List extends pl.leancode.patrol.contracts.Contracts.DartTestGroupOrBuilder>
- getGroupsOrBuilderList() {
- return groups_;
+ public java.util.List extends pl.leancode.patrol.contracts.Contracts.DartGroupEntryOrBuilder>
+ getEntriesOrBuilderList() {
+ return entries_;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public int getGroupsCount() {
- return groups_.size();
+ public int getEntriesCount() {
+ return entries_.size();
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroups(int index) {
- return groups_.get(index);
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry getEntries(int index) {
+ return entries_.get(index);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public pl.leancode.patrol.contracts.Contracts.DartTestGroupOrBuilder getGroupsOrBuilder(
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntryOrBuilder getEntriesOrBuilder(
int index) {
- return groups_.get(index);
+ return entries_.get(index);
}
- private void ensureGroupsIsMutable() {
- com.google.protobuf.Internal.ProtobufList tmp = groups_;
+ private void ensureEntriesIsMutable() {
+ com.google.protobuf.Internal.ProtobufList tmp = entries_;
if (!tmp.isModifiable()) {
- groups_ =
+ entries_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void setGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ private void setEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
- ensureGroupsIsMutable();
- groups_.set(index, value);
+ ensureEntriesIsMutable();
+ entries_.set(index, value);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void addGroups(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ private void addEntries(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
- ensureGroupsIsMutable();
- groups_.add(value);
+ ensureEntriesIsMutable();
+ entries_.add(value);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void addGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ private void addEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
- ensureGroupsIsMutable();
- groups_.add(index, value);
+ ensureEntriesIsMutable();
+ entries_.add(index, value);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void addAllGroups(
- java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartTestGroup> values) {
- ensureGroupsIsMutable();
+ private void addAllEntries(
+ java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartGroupEntry> values) {
+ ensureEntriesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
- values, groups_);
+ values, entries_);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void clearGroups() {
- groups_ = emptyProtobufList();
+ private void clearEntries() {
+ entries_ = emptyProtobufList();
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- private void removeGroups(int index) {
- ensureGroupsIsMutable();
- groups_.remove(index);
+ private void removeEntries(int index) {
+ ensureEntriesIsMutable();
+ entries_.remove(index);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(byte[] data)
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(java.io.InputStream input)
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -640,24 +733,24 @@ public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseDelimitedFrom(java.io.InputStream input)
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseDelimitedFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -668,19 +761,19 @@ public static pl.leancode.patrol.contracts.Contracts.DartTestGroup parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.DartTestGroup prototype) {
+ public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.DartGroupEntry prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code patrol.DartTestGroup}
+ * Protobuf type {@code patrol.DartGroupEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- pl.leancode.patrol.contracts.Contracts.DartTestGroup, Builder> implements
- // @@protoc_insertion_point(builder_implements:patrol.DartTestGroup)
- pl.leancode.patrol.contracts.Contracts.DartTestGroupOrBuilder {
- // Construct using pl.leancode.patrol.contracts.Contracts.DartTestGroup.newBuilder()
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry, Builder> implements
+ // @@protoc_insertion_point(builder_implements:patrol.DartGroupEntry)
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntryOrBuilder {
+ // Construct using pl.leancode.patrol.contracts.Contracts.DartGroupEntry.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@@ -736,509 +829,203 @@ public Builder setNameBytes(
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The fullName.
*/
@java.lang.Override
- public java.util.List getTestsList() {
- return java.util.Collections.unmodifiableList(
- instance.getTestsList());
+ public java.lang.String getFullName() {
+ return instance.getFullName();
}
/**
- * repeated .patrol.DartTestCase tests = 2;
- */
- @java.lang.Override
- public int getTestsCount() {
- return instance.getTestsCount();
- }/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return The bytes for fullName.
*/
@java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestCase getTests(int index) {
- return instance.getTests(index);
- }
- /**
- * repeated .patrol.DartTestCase tests = 2;
- */
- public Builder setTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
- copyOnWrite();
- instance.setTests(index, value);
- return this;
+ public com.google.protobuf.ByteString
+ getFullNameBytes() {
+ return instance.getFullNameBytes();
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @param value The fullName to set.
+ * @return This builder for chaining.
*/
- public Builder setTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase.Builder builderForValue) {
+ public Builder setFullName(
+ java.lang.String value) {
copyOnWrite();
- instance.setTests(index,
- builderForValue.build());
+ instance.setFullName(value);
return this;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @return This builder for chaining.
*/
- public Builder addTests(pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
+ public Builder clearFullName() {
copyOnWrite();
- instance.addTests(value);
+ instance.clearFullName();
return this;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * string fullName = 2;
+ * @param value The bytes for fullName to set.
+ * @return This builder for chaining.
*/
- public Builder addTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase value) {
+ public Builder setFullNameBytes(
+ com.google.protobuf.ByteString value) {
copyOnWrite();
- instance.addTests(index, value);
+ instance.setFullNameBytes(value);
return this;
}
+
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The enum numeric value on the wire for type.
*/
- public Builder addTests(
- pl.leancode.patrol.contracts.Contracts.DartTestCase.Builder builderForValue) {
- copyOnWrite();
- instance.addTests(builderForValue.build());
- return this;
+ @java.lang.Override
+ public int getTypeValue() {
+ return instance.getTypeValue();
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @param value The type to set.
+ * @return This builder for chaining.
*/
- public Builder addTests(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestCase.Builder builderForValue) {
+ public Builder setTypeValue(int value) {
copyOnWrite();
- instance.addTests(index,
- builderForValue.build());
+ instance.setTypeValue(value);
return this;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return The type.
*/
- public Builder addAllTests(
- java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartTestCase> values) {
- copyOnWrite();
- instance.addAllTests(values);
- return this;
+ @java.lang.Override
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType getType() {
+ return instance.getType();
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @param value The enum numeric value on the wire for type to set.
+ * @return This builder for chaining.
*/
- public Builder clearTests() {
+ public Builder setType(pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType value) {
copyOnWrite();
- instance.clearTests();
+ instance.setType(value);
return this;
}
/**
- * repeated .patrol.DartTestCase tests = 2;
+ * .patrol.DartGroupEntry.GroupEntryType type = 3;
+ * @return This builder for chaining.
*/
- public Builder removeTests(int index) {
+ public Builder clearType() {
copyOnWrite();
- instance.removeTests(index);
+ instance.clearType();
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public java.util.List getGroupsList() {
+ public java.util.List getEntriesList() {
return java.util.Collections.unmodifiableList(
- instance.getGroupsList());
+ instance.getEntriesList());
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public int getGroupsCount() {
- return instance.getGroupsCount();
+ public int getEntriesCount() {
+ return instance.getEntriesCount();
}/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
@java.lang.Override
- public pl.leancode.patrol.contracts.Contracts.DartTestGroup getGroups(int index) {
- return instance.getGroups(index);
+ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry getEntries(int index) {
+ return instance.getEntries(index);
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder setGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ public Builder setEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
copyOnWrite();
- instance.setGroups(index, value);
+ instance.setEntries(index, value);
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder setGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup.Builder builderForValue) {
+ public Builder setEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder builderForValue) {
copyOnWrite();
- instance.setGroups(index,
+ instance.setEntries(index,
builderForValue.build());
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder addGroups(pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ public Builder addEntries(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
copyOnWrite();
- instance.addGroups(value);
+ instance.addEntries(value);
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder addGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup value) {
+ public Builder addEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
copyOnWrite();
- instance.addGroups(index, value);
+ instance.addEntries(index, value);
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder addGroups(
- pl.leancode.patrol.contracts.Contracts.DartTestGroup.Builder builderForValue) {
+ public Builder addEntries(
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder builderForValue) {
copyOnWrite();
- instance.addGroups(builderForValue.build());
+ instance.addEntries(builderForValue.build());
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder addGroups(
- int index, pl.leancode.patrol.contracts.Contracts.DartTestGroup.Builder builderForValue) {
+ public Builder addEntries(
+ int index, pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder builderForValue) {
copyOnWrite();
- instance.addGroups(index,
+ instance.addEntries(index,
builderForValue.build());
return this;
}
/**
- * repeated .patrol.DartTestGroup groups = 3;
- */
- public Builder addAllGroups(
- java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartTestGroup> values) {
- copyOnWrite();
- instance.addAllGroups(values);
- return this;
- }
- /**
- * repeated .patrol.DartTestGroup groups = 3;
- */
- public Builder clearGroups() {
- copyOnWrite();
- instance.clearGroups();
- return this;
- }
- /**
- * repeated .patrol.DartTestGroup groups = 3;
- */
- public Builder removeGroups(int index) {
- copyOnWrite();
- instance.removeGroups(index);
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:patrol.DartTestGroup)
- }
- @java.lang.Override
- @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
- protected final java.lang.Object dynamicMethod(
- com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
- java.lang.Object arg0, java.lang.Object arg1) {
- switch (method) {
- case NEW_MUTABLE_INSTANCE: {
- return new pl.leancode.patrol.contracts.Contracts.DartTestGroup();
- }
- case NEW_BUILDER: {
- return new Builder();
- }
- case BUILD_MESSAGE_INFO: {
- java.lang.Object[] objects = new java.lang.Object[] {
- "name_",
- "tests_",
- pl.leancode.patrol.contracts.Contracts.DartTestCase.class,
- "groups_",
- pl.leancode.patrol.contracts.Contracts.DartTestGroup.class,
- };
- java.lang.String info =
- "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0002\u0000\u0001\u0208\u0002\u001b" +
- "\u0003\u001b";
- return newMessageInfo(DEFAULT_INSTANCE, info, objects);
- }
- // fall through
- case GET_DEFAULT_INSTANCE: {
- return DEFAULT_INSTANCE;
- }
- case GET_PARSER: {
- com.google.protobuf.Parser parser = PARSER;
- if (parser == null) {
- synchronized (pl.leancode.patrol.contracts.Contracts.DartTestGroup.class) {
- parser = PARSER;
- if (parser == null) {
- parser =
- new DefaultInstanceBasedParser(
- DEFAULT_INSTANCE);
- PARSER = parser;
- }
- }
- }
- return parser;
- }
- case GET_MEMOIZED_IS_INITIALIZED: {
- return (byte) 1;
- }
- case SET_MEMOIZED_IS_INITIALIZED: {
- return null;
- }
- }
- throw new UnsupportedOperationException();
- }
-
-
- // @@protoc_insertion_point(class_scope:patrol.DartTestGroup)
- private static final pl.leancode.patrol.contracts.Contracts.DartTestGroup DEFAULT_INSTANCE;
- static {
- DartTestGroup defaultInstance = new DartTestGroup();
- // New instances are implicitly immutable so no need to make
- // immutable.
- DEFAULT_INSTANCE = defaultInstance;
- com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
- DartTestGroup.class, defaultInstance);
- }
-
- public static pl.leancode.patrol.contracts.Contracts.DartTestGroup getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- private static volatile com.google.protobuf.Parser PARSER;
-
- public static com.google.protobuf.Parser parser() {
- return DEFAULT_INSTANCE.getParserForType();
- }
- }
-
- public interface DartTestCaseOrBuilder extends
- // @@protoc_insertion_point(interface_extends:patrol.DartTestCase)
- com.google.protobuf.MessageLiteOrBuilder {
-
- /**
- * string name = 1;
- * @return The name.
- */
- java.lang.String getName();
- /**
- * string name = 1;
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
- }
- /**
- * Protobuf type {@code patrol.DartTestCase}
- */
- public static final class DartTestCase extends
- com.google.protobuf.GeneratedMessageLite<
- DartTestCase, DartTestCase.Builder> implements
- // @@protoc_insertion_point(message_implements:patrol.DartTestCase)
- DartTestCaseOrBuilder {
- private DartTestCase() {
- name_ = "";
- }
- public static final int NAME_FIELD_NUMBER = 1;
- private java.lang.String name_;
- /**
- * string name = 1;
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return name_;
- }
- /**
- * string name = 1;
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(name_);
- }
- /**
- * string name = 1;
- * @param value The name to set.
- */
- private void setName(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- name_ = value;
- }
- /**
- * string name = 1;
- */
- private void clearName() {
-
- name_ = getDefaultInstance().getName();
- }
- /**
- * string name = 1;
- * @param value The bytes for name to set.
- */
- private void setNameBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- name_ = value.toStringUtf8();
-
- }
-
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data, extensionRegistry);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data, extensionRegistry);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data, extensionRegistry);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
- }
-
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return parseDelimitedFrom(DEFAULT_INSTANCE, input);
- }
-
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input);
- }
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
- }
-
- public static Builder newBuilder() {
- return (Builder) DEFAULT_INSTANCE.createBuilder();
- }
- public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.DartTestCase prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
- }
-
- /**
- * Protobuf type {@code patrol.DartTestCase}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- pl.leancode.patrol.contracts.Contracts.DartTestCase, Builder> implements
- // @@protoc_insertion_point(builder_implements:patrol.DartTestCase)
- pl.leancode.patrol.contracts.Contracts.DartTestCaseOrBuilder {
- // Construct using pl.leancode.patrol.contracts.Contracts.DartTestCase.newBuilder()
- private Builder() {
- super(DEFAULT_INSTANCE);
- }
-
-
- /**
- * string name = 1;
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return instance.getName();
- }
- /**
- * string name = 1;
- * @return The bytes for name.
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return instance.getNameBytes();
- }
- /**
- * string name = 1;
- * @param value The name to set.
- * @return This builder for chaining.
- */
- public Builder setName(
- java.lang.String value) {
+ public Builder addAllEntries(
+ java.lang.Iterable extends pl.leancode.patrol.contracts.Contracts.DartGroupEntry> values) {
copyOnWrite();
- instance.setName(value);
+ instance.addAllEntries(values);
return this;
}
/**
- * string name = 1;
- * @return This builder for chaining.
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder clearName() {
+ public Builder clearEntries() {
copyOnWrite();
- instance.clearName();
+ instance.clearEntries();
return this;
}
/**
- * string name = 1;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
+ * repeated .patrol.DartGroupEntry entries = 4;
*/
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
+ public Builder removeEntries(int index) {
copyOnWrite();
- instance.setNameBytes(value);
+ instance.removeEntries(index);
return this;
}
- // @@protoc_insertion_point(builder_scope:patrol.DartTestCase)
+ // @@protoc_insertion_point(builder_scope:patrol.DartGroupEntry)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -1247,7 +1034,7 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new pl.leancode.patrol.contracts.Contracts.DartTestCase();
+ return new pl.leancode.patrol.contracts.Contracts.DartGroupEntry();
}
case NEW_BUILDER: {
return new Builder();
@@ -1255,9 +1042,14 @@ protected final java.lang.Object dynamicMethod(
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"name_",
+ "fullName_",
+ "type_",
+ "entries_",
+ pl.leancode.patrol.contracts.Contracts.DartGroupEntry.class,
};
java.lang.String info =
- "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
+ "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0001\u0000\u0001\u0208\u0002\u0208" +
+ "\u0003\f\u0004\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -1265,13 +1057,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parser parser = PARSER;
+ com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
- synchronized (pl.leancode.patrol.contracts.Contracts.DartTestCase.class) {
+ synchronized (pl.leancode.patrol.contracts.Contracts.DartGroupEntry.class) {
parser = PARSER;
if (parser == null) {
parser =
- new DefaultInstanceBasedParser(
+ new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
@@ -1290,24 +1082,24 @@ protected final java.lang.Object dynamicMethod(
}
- // @@protoc_insertion_point(class_scope:patrol.DartTestCase)
- private static final pl.leancode.patrol.contracts.Contracts.DartTestCase DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:patrol.DartGroupEntry)
+ private static final pl.leancode.patrol.contracts.Contracts.DartGroupEntry DEFAULT_INSTANCE;
static {
- DartTestCase defaultInstance = new DartTestCase();
+ DartGroupEntry defaultInstance = new DartGroupEntry();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
- DartTestCase.class, defaultInstance);
+ DartGroupEntry.class, defaultInstance);
}
- public static pl.leancode.patrol.contracts.Contracts.DartTestCase getDefaultInstance() {
+ public static pl.leancode.patrol.contracts.Contracts.DartGroupEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static volatile com.google.protobuf.Parser PARSER;
+ private static volatile com.google.protobuf.Parser PARSER;
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
diff --git a/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/DartGroupEntryKt.kt b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/DartGroupEntryKt.kt
new file mode 100644
index 0000000000..42eba2f8e3
--- /dev/null
+++ b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/DartGroupEntryKt.kt
@@ -0,0 +1,162 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: contracts.proto
+
+// Generated files should ignore deprecation warnings
+@file:Suppress("DEPRECATION")
+package pl.leancode.patrol.contracts;
+
+@kotlin.jvm.JvmName("-initializedartGroupEntry")
+public inline fun dartGroupEntry(block: pl.leancode.patrol.contracts.DartGroupEntryKt.Dsl.() -> kotlin.Unit): pl.leancode.patrol.contracts.Contracts.DartGroupEntry =
+ pl.leancode.patrol.contracts.DartGroupEntryKt.Dsl._create(pl.leancode.patrol.contracts.Contracts.DartGroupEntry.newBuilder()).apply { block() }._build()
+/**
+ * Protobuf type `patrol.DartGroupEntry`
+ */
+public object DartGroupEntryKt {
+ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+ @com.google.protobuf.kotlin.ProtoDslMarker
+ public class Dsl private constructor(
+ private val _builder: pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder
+ ) {
+ public companion object {
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.PublishedApi
+ internal fun _create(builder: pl.leancode.patrol.contracts.Contracts.DartGroupEntry.Builder): Dsl = Dsl(builder)
+ }
+
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.PublishedApi
+ internal fun _build(): pl.leancode.patrol.contracts.Contracts.DartGroupEntry = _builder.build()
+
+ /**
+ * `string name = 1;`
+ */
+ public var name: kotlin.String
+ @JvmName("getName")
+ get() = _builder.getName()
+ @JvmName("setName")
+ set(value) {
+ _builder.setName(value)
+ }
+ /**
+ * `string name = 1;`
+ */
+ public fun clearName() {
+ _builder.clearName()
+ }
+
+ /**
+ * `string fullName = 2;`
+ */
+ public var fullName: kotlin.String
+ @JvmName("getFullName")
+ get() = _builder.getFullName()
+ @JvmName("setFullName")
+ set(value) {
+ _builder.setFullName(value)
+ }
+ /**
+ * `string fullName = 2;`
+ */
+ public fun clearFullName() {
+ _builder.clearFullName()
+ }
+
+ /**
+ * `.patrol.DartGroupEntry.GroupEntryType type = 3;`
+ */
+ public var type: pl.leancode.patrol.contracts.Contracts.DartGroupEntry.GroupEntryType
+ @JvmName("getType")
+ get() = _builder.getType()
+ @JvmName("setType")
+ set(value) {
+ _builder.setType(value)
+ }
+ public var typeValue: kotlin.Int
+ @JvmName("getTypeValue")
+ get() = _builder.getTypeValue()
+ @JvmName("setTypeValue")
+ set(value) {
+ _builder.setTypeValue(value)
+ }
+ /**
+ * `.patrol.DartGroupEntry.GroupEntryType type = 3;`
+ */
+ public fun clearType() {
+ _builder.clearType()
+ }
+
+ /**
+ * An uninstantiable, behaviorless type to represent the field in
+ * generics.
+ */
+ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
+ public class EntriesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ */
+ public val entries: com.google.protobuf.kotlin.DslList
+ @kotlin.jvm.JvmSynthetic
+ get() = com.google.protobuf.kotlin.DslList(
+ _builder.getEntriesList()
+ )
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ * @param value The entries to add.
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("addEntries")
+ public fun com.google.protobuf.kotlin.DslList.add(value: pl.leancode.patrol.contracts.Contracts.DartGroupEntry) {
+ _builder.addEntries(value)
+ }
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ * @param value The entries to add.
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("plusAssignEntries")
+ @Suppress("NOTHING_TO_INLINE")
+ public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: pl.leancode.patrol.contracts.Contracts.DartGroupEntry) {
+ add(value)
+ }
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ * @param values The entries to add.
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("addAllEntries")
+ public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
+ _builder.addAllEntries(values)
+ }
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ * @param values The entries to add.
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("plusAssignAllEntries")
+ @Suppress("NOTHING_TO_INLINE")
+ public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
+ addAll(values)
+ }
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ * @param index The index to set the value at.
+ * @param value The entries to set.
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("setEntries")
+ public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: pl.leancode.patrol.contracts.Contracts.DartGroupEntry) {
+ _builder.setEntries(index, value)
+ }
+ /**
+ * `repeated .patrol.DartGroupEntry entries = 4;`
+ */
+ @kotlin.jvm.JvmSynthetic
+ @kotlin.jvm.JvmName("clearEntries")
+ public fun com.google.protobuf.kotlin.DslList.clear() {
+ _builder.clearEntries()
+ }
+ }
+}
+public inline fun pl.leancode.patrol.contracts.Contracts.DartGroupEntry.copy(block: pl.leancode.patrol.contracts.DartGroupEntryKt.Dsl.() -> kotlin.Unit): pl.leancode.patrol.contracts.Contracts.DartGroupEntry =
+ pl.leancode.patrol.contracts.DartGroupEntryKt.Dsl._create(this.toBuilder()).apply { block() }._build()
+
diff --git a/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/ListDartTestsResponseKt.kt b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/ListDartTestsResponseKt.kt
index b40a14ecc7..cc52ba79d6 100644
--- a/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/ListDartTestsResponseKt.kt
+++ b/packages/patrol/android/src/main/kotlin/pl/leancode/patrol/contracts/ListDartTestsResponseKt.kt
@@ -28,9 +28,9 @@ public object ListDartTestsResponseKt {
internal fun _build(): pl.leancode.patrol.contracts.Contracts.ListDartTestsResponse = _builder.build()
/**
- * `.patrol.DartTestGroup group = 1;`
+ * `.patrol.DartGroupEntry group = 1;`
*/
- public var group: pl.leancode.patrol.contracts.Contracts.DartTestGroup
+ public var group: pl.leancode.patrol.contracts.Contracts.DartGroupEntry
@JvmName("getGroup")
get() = _builder.getGroup()
@JvmName("setGroup")
@@ -38,13 +38,13 @@ public object ListDartTestsResponseKt {
_builder.setGroup(value)
}
/**
- * `.patrol.DartTestGroup group = 1;`
+ * `.patrol.DartGroupEntry group = 1;`
*/
public fun clearGroup() {
_builder.clearGroup()
}
/**
- * `.patrol.DartTestGroup group = 1;`
+ * `.patrol.DartGroupEntry group = 1;`
* @return Whether the group field is set.
*/
public fun hasGroup(): kotlin.Boolean {
@@ -55,6 +55,6 @@ public object ListDartTestsResponseKt {
public inline fun pl.leancode.patrol.contracts.Contracts.ListDartTestsResponse.copy(block: pl.leancode.patrol.contracts.ListDartTestsResponseKt.Dsl.() -> kotlin.Unit): pl.leancode.patrol.contracts.Contracts.ListDartTestsResponse =
pl.leancode.patrol.contracts.ListDartTestsResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build()
-public val pl.leancode.patrol.contracts.Contracts.ListDartTestsResponseOrBuilder.groupOrNull: pl.leancode.patrol.contracts.Contracts.DartTestGroup?
+public val pl.leancode.patrol.contracts.Contracts.ListDartTestsResponseOrBuilder.groupOrNull: pl.leancode.patrol.contracts.Contracts.DartGroupEntry?
get() = if (hasGroup()) getGroup() else null
diff --git a/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift b/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
index 3be68b05f1..dc4d87c989 100644
--- a/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
+++ b/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
@@ -25,8 +25,8 @@ public struct Patrol_ListDartTestsResponse {
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
- public var group: Patrol_DartTestGroup {
- get {return _group ?? Patrol_DartTestGroup()}
+ public var group: Patrol_DartGroupEntry {
+ get {return _group ?? Patrol_DartGroupEntry()}
set {_group = newValue}
}
/// Returns true if `group` has been explicitly set.
@@ -38,37 +38,67 @@ public struct Patrol_ListDartTestsResponse {
public init() {}
- fileprivate var _group: Patrol_DartTestGroup? = nil
+ fileprivate var _group: Patrol_DartGroupEntry? = nil
}
-public struct Patrol_DartTestGroup {
+public struct Patrol_DartGroupEntry {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
// methods supported on all messages.
public var name: String = String()
- public var tests: [Patrol_DartTestCase] = []
+ public var fullName: String = String()
- public var groups: [Patrol_DartTestGroup] = []
+ public var type: Patrol_DartGroupEntry.GroupEntryType = .group
+
+ public var entries: [Patrol_DartGroupEntry] = []
public var unknownFields = SwiftProtobuf.UnknownStorage()
- public init() {}
-}
+ public enum GroupEntryType: SwiftProtobuf.Enum {
+ public typealias RawValue = Int
+ case group // = 0
+ case test // = 1
+ case UNRECOGNIZED(Int)
-public struct Patrol_DartTestCase {
- // SwiftProtobuf.Message conformance is added in an extension below. See the
- // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
- // methods supported on all messages.
+ public init() {
+ self = .group
+ }
- public var name: String = String()
+ public init?(rawValue: Int) {
+ switch rawValue {
+ case 0: self = .group
+ case 1: self = .test
+ default: self = .UNRECOGNIZED(rawValue)
+ }
+ }
- public var unknownFields = SwiftProtobuf.UnknownStorage()
+ public var rawValue: Int {
+ switch self {
+ case .group: return 0
+ case .test: return 1
+ case .UNRECOGNIZED(let i): return i
+ }
+ }
+
+ }
public init() {}
}
+#if swift(>=4.2)
+
+extension Patrol_DartGroupEntry.GroupEntryType: CaseIterable {
+ // The compiler won't synthesize support with the UNRECOGNIZED case.
+ public static var allCases: [Patrol_DartGroupEntry.GroupEntryType] = [
+ .group,
+ .test,
+ ]
+}
+
+#endif // swift(>=4.2)
+
public struct Patrol_RunDartTestRequest {
// SwiftProtobuf.Message conformance is added in an extension below. See the
// `Message` and `Message+*Additions` files in the SwiftProtobuf library for
@@ -780,8 +810,8 @@ public struct Patrol_SubmitTestResultsRequest {
#if swift(>=5.5) && canImport(_Concurrency)
extension Patrol_ListDartTestsResponse: @unchecked Sendable {}
-extension Patrol_DartTestGroup: @unchecked Sendable {}
-extension Patrol_DartTestCase: @unchecked Sendable {}
+extension Patrol_DartGroupEntry: @unchecked Sendable {}
+extension Patrol_DartGroupEntry.GroupEntryType: @unchecked Sendable {}
extension Patrol_RunDartTestRequest: @unchecked Sendable {}
extension Patrol_RunDartTestResponse: @unchecked Sendable {}
extension Patrol_RunDartTestResponse.Result: @unchecked Sendable {}
@@ -853,12 +883,13 @@ extension Patrol_ListDartTestsResponse: SwiftProtobuf.Message, SwiftProtobuf._Me
}
}
-extension Patrol_DartTestGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
- public static let protoMessageName: String = _protobuf_package + ".DartTestGroup"
+extension Patrol_DartGroupEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
+ public static let protoMessageName: String = _protobuf_package + ".DartGroupEntry"
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1: .same(proto: "name"),
- 2: .same(proto: "tests"),
- 3: .same(proto: "groups"),
+ 2: .same(proto: "fullName"),
+ 3: .same(proto: "type"),
+ 4: .same(proto: "entries"),
]
public mutating func decodeMessage(decoder: inout D) throws {
@@ -868,8 +899,9 @@ extension Patrol_DartTestGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
// enabled. https://github.com/apple/swift-protobuf/issues/1034
switch fieldNumber {
case 1: try { try decoder.decodeSingularStringField(value: &self.name) }()
- case 2: try { try decoder.decodeRepeatedMessageField(value: &self.tests) }()
- case 3: try { try decoder.decodeRepeatedMessageField(value: &self.groups) }()
+ case 2: try { try decoder.decodeSingularStringField(value: &self.fullName) }()
+ case 3: try { try decoder.decodeSingularEnumField(value: &self.type) }()
+ case 4: try { try decoder.decodeRepeatedMessageField(value: &self.entries) }()
default: break
}
}
@@ -879,54 +911,33 @@ extension Patrol_DartTestGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImp
if !self.name.isEmpty {
try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
}
- if !self.tests.isEmpty {
- try visitor.visitRepeatedMessageField(value: self.tests, fieldNumber: 2)
+ if !self.fullName.isEmpty {
+ try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 2)
+ }
+ if self.type != .group {
+ try visitor.visitSingularEnumField(value: self.type, fieldNumber: 3)
}
- if !self.groups.isEmpty {
- try visitor.visitRepeatedMessageField(value: self.groups, fieldNumber: 3)
+ if !self.entries.isEmpty {
+ try visitor.visitRepeatedMessageField(value: self.entries, fieldNumber: 4)
}
try unknownFields.traverse(visitor: &visitor)
}
- public static func ==(lhs: Patrol_DartTestGroup, rhs: Patrol_DartTestGroup) -> Bool {
+ public static func ==(lhs: Patrol_DartGroupEntry, rhs: Patrol_DartGroupEntry) -> Bool {
if lhs.name != rhs.name {return false}
- if lhs.tests != rhs.tests {return false}
- if lhs.groups != rhs.groups {return false}
+ if lhs.fullName != rhs.fullName {return false}
+ if lhs.type != rhs.type {return false}
+ if lhs.entries != rhs.entries {return false}
if lhs.unknownFields != rhs.unknownFields {return false}
return true
}
}
-extension Patrol_DartTestCase: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
- public static let protoMessageName: String = _protobuf_package + ".DartTestCase"
+extension Patrol_DartGroupEntry.GroupEntryType: SwiftProtobuf._ProtoNameProviding {
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
- 1: .same(proto: "name"),
+ 0: .same(proto: "GROUP"),
+ 1: .same(proto: "TEST"),
]
-
- public mutating func decodeMessage(decoder: inout D) throws {
- while let fieldNumber = try decoder.nextFieldNumber() {
- // The use of inline closures is to circumvent an issue where the compiler
- // allocates stack space for every case branch when no optimizations are
- // enabled. https://github.com/apple/swift-protobuf/issues/1034
- switch fieldNumber {
- case 1: try { try decoder.decodeSingularStringField(value: &self.name) }()
- default: break
- }
- }
- }
-
- public func traverse(visitor: inout V) throws {
- if !self.name.isEmpty {
- try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
- }
- try unknownFields.traverse(visitor: &visitor)
- }
-
- public static func ==(lhs: Patrol_DartTestCase, rhs: Patrol_DartTestCase) -> Bool {
- if lhs.name != rhs.name {return false}
- if lhs.unknownFields != rhs.unknownFields {return false}
- return true
- }
}
extension Patrol_RunDartTestRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding {
diff --git a/packages/patrol/lib/src/native/contracts/contracts.pb.dart b/packages/patrol/lib/src/native/contracts/contracts.pb.dart
index 89e8711e69..4204326283 100644
--- a/packages/patrol/lib/src/native/contracts/contracts.pb.dart
+++ b/packages/patrol/lib/src/native/contracts/contracts.pb.dart
@@ -24,17 +24,17 @@ class ListDartTestsResponse extends $pb.GeneratedMessage {
? ''
: 'patrol'),
createEmptyInstance: create)
- ..aOM(
+ ..aOM(
1,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'group',
- subBuilder: DartTestGroup.create)
+ subBuilder: DartGroupEntry.create)
..hasRequiredFields = false;
ListDartTestsResponse._() : super();
factory ListDartTestsResponse({
- DartTestGroup? group,
+ DartGroupEntry? group,
}) {
final _result = create();
if (group != null) {
@@ -72,9 +72,9 @@ class ListDartTestsResponse extends $pb.GeneratedMessage {
static ListDartTestsResponse? _defaultInstance;
@$pb.TagNumber(1)
- DartTestGroup get group => $_getN(0);
+ DartGroupEntry get group => $_getN(0);
@$pb.TagNumber(1)
- set group(DartTestGroup v) {
+ set group(DartGroupEntry v) {
setField(1, v);
}
@@ -83,14 +83,14 @@ class ListDartTestsResponse extends $pb.GeneratedMessage {
@$pb.TagNumber(1)
void clearGroup() => clearField(1);
@$pb.TagNumber(1)
- DartTestGroup ensureGroup() => $_ensure(0);
+ DartGroupEntry ensureGroup() => $_ensure(0);
}
-class DartTestGroup extends $pb.GeneratedMessage {
+class DartGroupEntry extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
const $core.bool.fromEnvironment('protobuf.omit_message_names')
? ''
- : 'DartTestGroup',
+ : 'DartGroupEntry',
package: const $pb.PackageName(
const $core.bool.fromEnvironment('protobuf.omit_message_names')
? ''
@@ -101,66 +101,78 @@ class DartTestGroup extends $pb.GeneratedMessage {
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'name')
- ..pc(
+ ..aOS(
2,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
- : 'tests',
- $pb.PbFieldType.PM,
- subBuilder: DartTestCase.create)
- ..pc(
+ : 'fullName',
+ protoName: 'fullName')
+ ..e(
3,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
- : 'groups',
+ : 'type',
+ $pb.PbFieldType.OE,
+ defaultOrMaker: DartGroupEntry_GroupEntryType.GROUP,
+ valueOf: DartGroupEntry_GroupEntryType.valueOf,
+ enumValues: DartGroupEntry_GroupEntryType.values)
+ ..pc(
+ 4,
+ const $core.bool.fromEnvironment('protobuf.omit_field_names')
+ ? ''
+ : 'entries',
$pb.PbFieldType.PM,
- subBuilder: DartTestGroup.create)
+ subBuilder: DartGroupEntry.create)
..hasRequiredFields = false;
- DartTestGroup._() : super();
- factory DartTestGroup({
+ DartGroupEntry._() : super();
+ factory DartGroupEntry({
$core.String? name,
- $core.Iterable? tests,
- $core.Iterable? groups,
+ $core.String? fullName,
+ DartGroupEntry_GroupEntryType? type,
+ $core.Iterable? entries,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
- if (tests != null) {
- _result.tests.addAll(tests);
+ if (fullName != null) {
+ _result.fullName = fullName;
}
- if (groups != null) {
- _result.groups.addAll(groups);
+ if (type != null) {
+ _result.type = type;
+ }
+ if (entries != null) {
+ _result.entries.addAll(entries);
}
return _result;
}
- factory DartTestGroup.fromBuffer($core.List<$core.int> i,
+ factory DartGroupEntry.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
- factory DartTestGroup.fromJson($core.String i,
+ factory DartGroupEntry.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
- DartTestGroup clone() => DartTestGroup()..mergeFromMessage(this);
+ DartGroupEntry clone() => DartGroupEntry()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
- DartTestGroup copyWith(void Function(DartTestGroup) updates) =>
- super.copyWith((message) => updates(message as DartTestGroup))
- as DartTestGroup; // ignore: deprecated_member_use
+ DartGroupEntry copyWith(void Function(DartGroupEntry) updates) =>
+ super.copyWith((message) => updates(message as DartGroupEntry))
+ as DartGroupEntry; // ignore: deprecated_member_use
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
- static DartTestGroup create() => DartTestGroup._();
- DartTestGroup createEmptyInstance() => create();
- static $pb.PbList createRepeated() =>
- $pb.PbList();
+ static DartGroupEntry create() => DartGroupEntry._();
+ DartGroupEntry createEmptyInstance() => create();
+ static $pb.PbList createRepeated() =>
+ $pb.PbList();
@$core.pragma('dart2js:noInline')
- static DartTestGroup getDefault() => _defaultInstance ??=
- $pb.GeneratedMessage.$_defaultFor(create);
- static DartTestGroup? _defaultInstance;
+ static DartGroupEntry getDefault() => _defaultInstance ??=
+ $pb.GeneratedMessage.$_defaultFor(create);
+ static DartGroupEntry? _defaultInstance;
@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
@@ -175,77 +187,31 @@ class DartTestGroup extends $pb.GeneratedMessage {
void clearName() => clearField(1);
@$pb.TagNumber(2)
- $core.List get tests => $_getList(1);
-
- @$pb.TagNumber(3)
- $core.List get groups => $_getList(2);
-}
+ $core.String get fullName => $_getSZ(1);
+ @$pb.TagNumber(2)
+ set fullName($core.String v) {
+ $_setString(1, v);
+ }
-class DartTestCase extends $pb.GeneratedMessage {
- static final $pb.BuilderInfo _i = $pb.BuilderInfo(
- const $core.bool.fromEnvironment('protobuf.omit_message_names')
- ? ''
- : 'DartTestCase',
- package: const $pb.PackageName(
- const $core.bool.fromEnvironment('protobuf.omit_message_names')
- ? ''
- : 'patrol'),
- createEmptyInstance: create)
- ..aOS(
- 1,
- const $core.bool.fromEnvironment('protobuf.omit_field_names')
- ? ''
- : 'name')
- ..hasRequiredFields = false;
+ @$pb.TagNumber(2)
+ $core.bool hasFullName() => $_has(1);
+ @$pb.TagNumber(2)
+ void clearFullName() => clearField(2);
- DartTestCase._() : super();
- factory DartTestCase({
- $core.String? name,
- }) {
- final _result = create();
- if (name != null) {
- _result.name = name;
- }
- return _result;
+ @$pb.TagNumber(3)
+ DartGroupEntry_GroupEntryType get type => $_getN(2);
+ @$pb.TagNumber(3)
+ set type(DartGroupEntry_GroupEntryType v) {
+ setField(3, v);
}
- factory DartTestCase.fromBuffer($core.List<$core.int> i,
- [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
- create()..mergeFromBuffer(i, r);
- factory DartTestCase.fromJson($core.String i,
- [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
- create()..mergeFromJson(i, r);
- @$core.Deprecated('Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
- 'Will be removed in next major version')
- DartTestCase clone() => DartTestCase()..mergeFromMessage(this);
- @$core.Deprecated('Using this can add significant overhead to your binary. '
- 'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
- 'Will be removed in next major version')
- DartTestCase copyWith(void Function(DartTestCase) updates) =>
- super.copyWith((message) => updates(message as DartTestCase))
- as DartTestCase; // ignore: deprecated_member_use
- $pb.BuilderInfo get info_ => _i;
- @$core.pragma('dart2js:noInline')
- static DartTestCase create() => DartTestCase._();
- DartTestCase createEmptyInstance() => create();
- static $pb.PbList createRepeated() =>
- $pb.PbList();
- @$core.pragma('dart2js:noInline')
- static DartTestCase getDefault() => _defaultInstance ??=
- $pb.GeneratedMessage.$_defaultFor(create);
- static DartTestCase? _defaultInstance;
- @$pb.TagNumber(1)
- $core.String get name => $_getSZ(0);
- @$pb.TagNumber(1)
- set name($core.String v) {
- $_setString(0, v);
- }
+ @$pb.TagNumber(3)
+ $core.bool hasType() => $_has(2);
+ @$pb.TagNumber(3)
+ void clearType() => clearField(3);
- @$pb.TagNumber(1)
- $core.bool hasName() => $_has(0);
- @$pb.TagNumber(1)
- void clearName() => clearField(1);
+ @$pb.TagNumber(4)
+ $core.List get entries => $_getList(3);
}
class RunDartTestRequest extends $pb.GeneratedMessage {
diff --git a/packages/patrol/lib/src/native/contracts/contracts.pbenum.dart b/packages/patrol/lib/src/native/contracts/contracts.pbenum.dart
index 05170df17e..33b5ef21ed 100644
--- a/packages/patrol/lib/src/native/contracts/contracts.pbenum.dart
+++ b/packages/patrol/lib/src/native/contracts/contracts.pbenum.dart
@@ -9,6 +9,35 @@
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
+class DartGroupEntry_GroupEntryType extends $pb.ProtobufEnum {
+ static const DartGroupEntry_GroupEntryType GROUP =
+ DartGroupEntry_GroupEntryType._(
+ 0,
+ const $core.bool.fromEnvironment('protobuf.omit_enum_names')
+ ? ''
+ : 'GROUP');
+ static const DartGroupEntry_GroupEntryType TEST =
+ DartGroupEntry_GroupEntryType._(
+ 1,
+ const $core.bool.fromEnvironment('protobuf.omit_enum_names')
+ ? ''
+ : 'TEST');
+
+ static const $core.List values =
+ [
+ GROUP,
+ TEST,
+ ];
+
+ static final $core.Map<$core.int, DartGroupEntry_GroupEntryType> _byValue =
+ $pb.ProtobufEnum.initByValue(values);
+ static DartGroupEntry_GroupEntryType? valueOf($core.int value) =>
+ _byValue[value];
+
+ const DartGroupEntry_GroupEntryType._($core.int v, $core.String n)
+ : super(v, n);
+}
+
class RunDartTestResponse_Result extends $pb.ProtobufEnum {
static const RunDartTestResponse_Result SUCCESS =
RunDartTestResponse_Result._(
diff --git a/packages/patrol/lib/src/native/contracts/contracts.pbjson.dart b/packages/patrol/lib/src/native/contracts/contracts.pbjson.dart
index 3a749a5a4a..21dd38b5b5 100644
--- a/packages/patrol/lib/src/native/contracts/contracts.pbjson.dart
+++ b/packages/patrol/lib/src/native/contracts/contracts.pbjson.dart
@@ -18,7 +18,7 @@ const ListDartTestsResponse$json = const {
'3': 1,
'4': 1,
'5': 11,
- '6': '.patrol.DartTestGroup',
+ '6': '.patrol.DartGroupEntry',
'10': 'group'
},
],
@@ -26,45 +26,45 @@ const ListDartTestsResponse$json = const {
/// Descriptor for `ListDartTestsResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List listDartTestsResponseDescriptor = $convert.base64Decode(
- 'ChVMaXN0RGFydFRlc3RzUmVzcG9uc2USKwoFZ3JvdXAYASABKAsyFS5wYXRyb2wuRGFydFRlc3RHcm91cFIFZ3JvdXA=');
-@$core.Deprecated('Use dartTestGroupDescriptor instead')
-const DartTestGroup$json = const {
- '1': 'DartTestGroup',
+ 'ChVMaXN0RGFydFRlc3RzUmVzcG9uc2USLAoFZ3JvdXAYASABKAsyFi5wYXRyb2wuRGFydEdyb3VwRW50cnlSBWdyb3Vw');
+@$core.Deprecated('Use dartGroupEntryDescriptor instead')
+const DartGroupEntry$json = const {
+ '1': 'DartGroupEntry',
'2': const [
const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
+ const {'1': 'fullName', '3': 2, '4': 1, '5': 9, '10': 'fullName'},
const {
- '1': 'tests',
- '3': 2,
- '4': 3,
- '5': 11,
- '6': '.patrol.DartTestCase',
- '10': 'tests'
+ '1': 'type',
+ '3': 3,
+ '4': 1,
+ '5': 14,
+ '6': '.patrol.DartGroupEntry.GroupEntryType',
+ '10': 'type'
},
const {
- '1': 'groups',
- '3': 3,
+ '1': 'entries',
+ '3': 4,
'4': 3,
'5': 11,
- '6': '.patrol.DartTestGroup',
- '10': 'groups'
+ '6': '.patrol.DartGroupEntry',
+ '10': 'entries'
},
],
+ '4': const [DartGroupEntry_GroupEntryType$json],
};
-/// Descriptor for `DartTestGroup`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List dartTestGroupDescriptor = $convert.base64Decode(
- 'Cg1EYXJ0VGVzdEdyb3VwEhIKBG5hbWUYASABKAlSBG5hbWUSKgoFdGVzdHMYAiADKAsyFC5wYXRyb2wuRGFydFRlc3RDYXNlUgV0ZXN0cxItCgZncm91cHMYAyADKAsyFS5wYXRyb2wuRGFydFRlc3RHcm91cFIGZ3JvdXBz');
-@$core.Deprecated('Use dartTestCaseDescriptor instead')
-const DartTestCase$json = const {
- '1': 'DartTestCase',
+@$core.Deprecated('Use dartGroupEntryDescriptor instead')
+const DartGroupEntry_GroupEntryType$json = const {
+ '1': 'GroupEntryType',
'2': const [
- const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
+ const {'1': 'GROUP', '2': 0},
+ const {'1': 'TEST', '2': 1},
],
};
-/// Descriptor for `DartTestCase`. Decode as a `google.protobuf.DescriptorProto`.
-final $typed_data.Uint8List dartTestCaseDescriptor =
- $convert.base64Decode('CgxEYXJ0VGVzdENhc2USEgoEbmFtZRgBIAEoCVIEbmFtZQ==');
+/// Descriptor for `DartGroupEntry`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List dartGroupEntryDescriptor = $convert.base64Decode(
+ 'Cg5EYXJ0R3JvdXBFbnRyeRISCgRuYW1lGAEgASgJUgRuYW1lEhoKCGZ1bGxOYW1lGAIgASgJUghmdWxsTmFtZRI5CgR0eXBlGAMgASgOMiUucGF0cm9sLkRhcnRHcm91cEVudHJ5Lkdyb3VwRW50cnlUeXBlUgR0eXBlEjAKB2VudHJpZXMYBCADKAsyFi5wYXRyb2wuRGFydEdyb3VwRW50cnlSB2VudHJpZXMiJQoOR3JvdXBFbnRyeVR5cGUSCQoFR1JPVVAQABIICgRURVNUEAE=');
@$core.Deprecated('Use runDartTestRequestDescriptor instead')
const RunDartTestRequest$json = const {
'1': 'RunDartTestRequest',