diff --git a/contracts.proto b/contracts.proto
index 519a4eca7..27d2e105c 100644
--- a/contracts.proto
+++ b/contracts.proto
@@ -14,7 +14,6 @@ message ListDartTestsResponse {
message DartGroupEntry {
string name = 1;
- string fullName = 2;
GroupEntryType type = 3;
repeated DartGroupEntry entries = 4;
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 70afa158a..a05cc7707 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
@@ -33,6 +33,7 @@ public static final class ListDartTestsResponse extends
ListDartTestsResponseOrBuilder {
private ListDartTestsResponse() {
}
+ private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
private pl.leancode.patrol.contracts.Contracts.DartGroupEntry group_;
/**
@@ -40,7 +41,7 @@ private ListDartTestsResponse() {
*/
@java.lang.Override
public boolean hasGroup() {
- return group_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* .patrol.DartGroupEntry group = 1;
@@ -55,7 +56,7 @@ public pl.leancode.patrol.contracts.Contracts.DartGroupEntry getGroup() {
private void setGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry value) {
value.getClass();
group_ = value;
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.DartGroupEntry group = 1;
@@ -70,13 +71,13 @@ private void mergeGroup(pl.leancode.patrol.contracts.Contracts.DartGroupEntry va
} else {
group_ = value;
}
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.DartGroupEntry group = 1;
*/
private void clearGroup() { group_ = null;
-
+ bitField0_ = (bitField0_ & ~0x00000001);
}
public static pl.leancode.patrol.contracts.Contracts.ListDartTestsResponse parseFrom(
@@ -159,7 +160,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.ListDartTestsResponse prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -239,10 +240,11 @@ protected final java.lang.Object dynamicMethod(
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
"group_",
};
java.lang.String info =
- "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
+ "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -313,18 +315,6 @@ public interface DartGroupEntryOrBuilder extends
com.google.protobuf.ByteString
getNameBytes();
- /**
- * string fullName = 2;
- * @return The fullName.
- */
- java.lang.String getFullName();
- /**
- * string fullName = 2;
- * @return The bytes for fullName.
- */
- com.google.protobuf.ByteString
- getFullNameBytes();
-
/**
* .patrol.DartGroupEntry.GroupEntryType type = 3;
* @return The enum numeric value on the wire for type.
@@ -360,7 +350,6 @@ public static final class DartGroupEntry extends
DartGroupEntryOrBuilder {
private DartGroupEntry() {
name_ = "";
- fullName_ = "";
entries_ = emptyProtobufList();
}
/**
@@ -499,53 +488,6 @@ private void setNameBytes(
}
- public static final int FULLNAME_FIELD_NUMBER = 2;
- private java.lang.String fullName_;
- /**
- * string fullName = 2;
- * @return The fullName.
- */
- @java.lang.Override
- public java.lang.String getFullName() {
- return fullName_;
- }
- /**
- * string fullName = 2;
- * @return The bytes for fullName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getFullNameBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(fullName_);
- }
- /**
- * string fullName = 2;
- * @param value The fullName to set.
- */
- private void setFullName(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- fullName_ = value;
- }
- /**
- * string fullName = 2;
- */
- private void clearFullName() {
-
- fullName_ = getDefaultInstance().getFullName();
- }
- /**
- * string fullName = 2;
- * @param value The bytes for fullName to set.
- */
- private void setFullNameBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- fullName_ = value.toStringUtf8();
-
- }
-
public static final int TYPE_FIELD_NUMBER = 3;
private int type_;
/**
@@ -762,7 +704,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.DartGroupEntry prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -828,55 +770,6 @@ public Builder setNameBytes(
return this;
}
- /**
- * string fullName = 2;
- * @return The fullName.
- */
- @java.lang.Override
- public java.lang.String getFullName() {
- return instance.getFullName();
- }
- /**
- * string fullName = 2;
- * @return The bytes for fullName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getFullNameBytes() {
- return instance.getFullNameBytes();
- }
- /**
- * string fullName = 2;
- * @param value The fullName to set.
- * @return This builder for chaining.
- */
- public Builder setFullName(
- java.lang.String value) {
- copyOnWrite();
- instance.setFullName(value);
- return this;
- }
- /**
- * string fullName = 2;
- * @return This builder for chaining.
- */
- public Builder clearFullName() {
- copyOnWrite();
- instance.clearFullName();
- return this;
- }
- /**
- * string fullName = 2;
- * @param value The bytes for fullName to set.
- * @return This builder for chaining.
- */
- public Builder setFullNameBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setFullNameBytes(value);
- return this;
- }
-
/**
* .patrol.DartGroupEntry.GroupEntryType type = 3;
* @return The enum numeric value on the wire for type.
@@ -1042,14 +935,13 @@ 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\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0001\u0000\u0001\u0208\u0002\u0208" +
- "\u0003\f\u0004\u001b";
+ "\u0000\u0003\u0000\u0000\u0001\u0004\u0003\u0000\u0001\u0000\u0001\u0208\u0003\f" +
+ "\u0004\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -1258,7 +1150,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.RunDartTestRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -1717,7 +1609,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.RunDartTestResponse prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -2040,7 +1932,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.ConfigureRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -2313,7 +2205,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.OpenAppRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -2702,7 +2594,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.TapOnNotificationRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -2994,7 +2886,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.Empty prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -3184,7 +3076,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.OpenQuickSettingsRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -3426,7 +3318,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.DarkModeRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -3604,6 +3496,7 @@ public static final class GetNativeViewsRequest extends
private GetNativeViewsRequest() {
appId_ = "";
}
+ private int bitField0_;
public static final int SELECTOR_FIELD_NUMBER = 1;
private pl.leancode.patrol.contracts.Contracts.Selector selector_;
/**
@@ -3611,7 +3504,7 @@ private GetNativeViewsRequest() {
*/
@java.lang.Override
public boolean hasSelector() {
- return selector_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* .patrol.Selector selector = 1;
@@ -3626,7 +3519,7 @@ public pl.leancode.patrol.contracts.Contracts.Selector getSelector() {
private void setSelector(pl.leancode.patrol.contracts.Contracts.Selector value) {
value.getClass();
selector_ = value;
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
@@ -3641,13 +3534,13 @@ private void mergeSelector(pl.leancode.patrol.contracts.Contracts.Selector value
} else {
selector_ = value;
}
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
*/
private void clearSelector() { selector_ = null;
-
+ bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int APPID_FIELD_NUMBER = 2;
@@ -3777,7 +3670,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.GetNativeViewsRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -3906,12 +3799,13 @@ protected final java.lang.Object dynamicMethod(
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
"selector_",
"appId_",
};
java.lang.String info =
- "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002\u0208" +
- "";
+ "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
+ "\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -4169,7 +4063,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.GetNativeViewsResponse prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -4457,7 +4351,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.GetNotificationsRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -4748,7 +4642,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.GetNotificationsResponse prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -4980,6 +4874,7 @@ public static final class TapRequest extends
private TapRequest() {
appId_ = "";
}
+ private int bitField0_;
public static final int SELECTOR_FIELD_NUMBER = 1;
private pl.leancode.patrol.contracts.Contracts.Selector selector_;
/**
@@ -4987,7 +4882,7 @@ private TapRequest() {
*/
@java.lang.Override
public boolean hasSelector() {
- return selector_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* .patrol.Selector selector = 1;
@@ -5002,7 +4897,7 @@ public pl.leancode.patrol.contracts.Contracts.Selector getSelector() {
private void setSelector(pl.leancode.patrol.contracts.Contracts.Selector value) {
value.getClass();
selector_ = value;
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
@@ -5017,13 +4912,13 @@ private void mergeSelector(pl.leancode.patrol.contracts.Contracts.Selector value
} else {
selector_ = value;
}
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
*/
private void clearSelector() { selector_ = null;
-
+ bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int APPID_FIELD_NUMBER = 2;
@@ -5153,7 +5048,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.TapRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -5282,12 +5177,13 @@ protected final java.lang.Object dynamicMethod(
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
"selector_",
"appId_",
};
java.lang.String info =
- "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002\u0208" +
- "";
+ "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
+ "\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -5423,26 +5319,10 @@ private EnterTextRequest() {
public enum KeyboardBehavior
implements com.google.protobuf.Internal.EnumLite {
/**
- *
- * The default keyboard behavior. - * - * Keyboard will be shown when entering text starts, and will be - * automatically dismissed afterwards. - *- * *
SHOW_AND_DISMISS = 0;
*/
SHOW_AND_DISMISS(0),
/**
- * - * The alternative keyboard behavior. - * - * On Android, no keyboard will be shown at all. The text will simply appear - * inside the TextField. - * - * On iOS, the keyboard will not be dismissed after entering text. - *- * *
ALTERNATIVE = 1;
*/
ALTERNATIVE(1),
@@ -5450,26 +5330,10 @@ public enum KeyboardBehavior
;
/**
- * - * The default keyboard behavior. - * - * Keyboard will be shown when entering text starts, and will be - * automatically dismissed afterwards. - *- * *
SHOW_AND_DISMISS = 0;
*/
public static final int SHOW_AND_DISMISS_VALUE = 0;
/**
- * - * The alternative keyboard behavior. - * - * On Android, no keyboard will be shown at all. The text will simply appear - * inside the TextField. - * - * On iOS, the keyboard will not be dismissed after entering text. - *- * *
ALTERNATIVE = 1;
*/
public static final int ALTERNATIVE_VALUE = 1;
@@ -5885,7 +5749,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.EnterTextRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -6536,7 +6400,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.SwipeRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -6860,6 +6724,7 @@ public static final class WaitUntilVisibleRequest extends
private WaitUntilVisibleRequest() {
appId_ = "";
}
+ private int bitField0_;
public static final int SELECTOR_FIELD_NUMBER = 1;
private pl.leancode.patrol.contracts.Contracts.Selector selector_;
/**
@@ -6867,7 +6732,7 @@ private WaitUntilVisibleRequest() {
*/
@java.lang.Override
public boolean hasSelector() {
- return selector_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* .patrol.Selector selector = 1;
@@ -6882,7 +6747,7 @@ public pl.leancode.patrol.contracts.Contracts.Selector getSelector() {
private void setSelector(pl.leancode.patrol.contracts.Contracts.Selector value) {
value.getClass();
selector_ = value;
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
@@ -6897,13 +6762,13 @@ private void mergeSelector(pl.leancode.patrol.contracts.Contracts.Selector value
} else {
selector_ = value;
}
-
+ bitField0_ |= 0x00000001;
}
/**
* .patrol.Selector selector = 1;
*/
private void clearSelector() { selector_ = null;
-
+ bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int APPID_FIELD_NUMBER = 2;
@@ -7033,7 +6898,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.WaitUntilVisibleRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -7162,12 +7027,13 @@ protected final java.lang.Object dynamicMethod(
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
"selector_",
"appId_",
};
java.lang.String info =
- "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\t\u0002\u0208" +
- "";
+ "\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
+ "\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -7467,7 +7333,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.HandlePermissionRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -7840,7 +7706,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.SetLocationAccuracyRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -8103,7 +7969,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.PermissionDialogVisibleRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -8348,7 +8214,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.PermissionDialogVisibleResponse prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -9354,7 +9220,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.Selector prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -10685,7 +10551,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.NativeView prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -11575,7 +11441,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.Notification prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
@@ -12104,7 +11970,7 @@ public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(pl.leancode.patrol.contracts.Contracts.SubmitTestResultsRequest prototype) {
- return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
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
index 42eba2f8e..e3f6f7fab 100644
--- 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
@@ -44,23 +44,6 @@ public object DartGroupEntryKt {
_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;`
*/
diff --git a/packages/patrol/example/ios/RunnerTests/RunnerTests.swift b/packages/patrol/example/ios/RunnerTests/RunnerTests.swift
index a90f09b18..49f05de2b 100644
--- a/packages/patrol/example/ios/RunnerTests/RunnerTests.swift
+++ b/packages/patrol/example/ios/RunnerTests/RunnerTests.swift
@@ -39,10 +39,10 @@ final class RunnerTests: XCTestCase {
let result = PatrolUtils.createMethodName(fromPatrolGeneratedGroup: input)
XCTAssertEqual(result, expectedOutput)
}
-
+
func testCreateMethodNameFromPatrolGeneratedGroup_ExampleWithGroups() {
let input = "example_test at the beginning"
- let expectedOutput = "exampleTestatthebeginning" // FIXME: This is temporary
+ let expectedOutput = "exampleTestatthebeginning" // FIXME: This is temporary
let result = PatrolUtils.createMethodName(fromPatrolGeneratedGroup: input)
NSLog(result)
XCTAssertEqual(result, expectedOutput)
diff --git a/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift b/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
index ee414c11f..328760625 100644
--- a/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
+++ b/packages/patrol/ios/Classes/AutomatorServer/contracts.pb.swift
@@ -48,8 +48,6 @@ public struct Patrol_DartGroupEntry {
public var name: String = String()
- public var fullName: String = String()
-
public var type: Patrol_DartGroupEntry.GroupEntryType = .group
public var entries: [Patrol_DartGroupEntry] = []
@@ -91,7 +89,7 @@ public struct Patrol_DartGroupEntry {
extension Patrol_DartGroupEntry.GroupEntryType: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
- public static var allCases: [Patrol_DartGroupEntry.GroupEntryType] = [
+ public static let allCases: [Patrol_DartGroupEntry.GroupEntryType] = [
.group,
.test,
]
@@ -169,7 +167,7 @@ public struct Patrol_RunDartTestResponse {
extension Patrol_RunDartTestResponse.Result: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
- public static var allCases: [Patrol_RunDartTestResponse.Result] = [
+ public static let allCases: [Patrol_RunDartTestResponse.Result] = [
.success,
.skipped,
.failure,
@@ -428,19 +426,7 @@ public struct Patrol_EnterTextRequest {
public enum KeyboardBehavior: SwiftProtobuf.Enum {
public typealias RawValue = Int
-
- /// The default keyboard behavior.
- ///
- /// Keyboard will be shown when entering text starts, and will be
- /// automatically dismissed afterwards.
case showAndDismiss // = 0
-
- /// The alternative keyboard behavior.
- ///
- /// On Android, no keyboard will be shown at all. The text will simply appear
- /// inside the TextField.
- ///
- /// On iOS, the keyboard will not be dismissed after entering text.
case alternative // = 1
case UNRECOGNIZED(Int)
@@ -473,7 +459,7 @@ public struct Patrol_EnterTextRequest {
extension Patrol_EnterTextRequest.KeyboardBehavior: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
- public static var allCases: [Patrol_EnterTextRequest.KeyboardBehavior] = [
+ public static let allCases: [Patrol_EnterTextRequest.KeyboardBehavior] = [
.showAndDismiss,
.alternative,
]
@@ -573,7 +559,7 @@ public struct Patrol_HandlePermissionRequest {
extension Patrol_HandlePermissionRequest.Code: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
- public static var allCases: [Patrol_HandlePermissionRequest.Code] = [
+ public static let allCases: [Patrol_HandlePermissionRequest.Code] = [
.whileUsing,
.onlyThisTime,
.denied,
@@ -626,7 +612,7 @@ public struct Patrol_SetLocationAccuracyRequest {
extension Patrol_SetLocationAccuracyRequest.LocationAccuracy: CaseIterable {
// The compiler won't synthesize support with the UNRECOGNIZED case.
- public static var allCases: [Patrol_SetLocationAccuracyRequest.LocationAccuracy] = [
+ public static let allCases: [Patrol_SetLocationAccuracyRequest.LocationAccuracy] = [
.coarse,
.fine,
]
@@ -940,7 +926,6 @@ extension Patrol_DartGroupEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
public static let protoMessageName: String = _protobuf_package + ".DartGroupEntry"
public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [
1: .same(proto: "name"),
- 2: .same(proto: "fullName"),
3: .same(proto: "type"),
4: .same(proto: "entries"),
]
@@ -952,7 +937,6 @@ extension Patrol_DartGroupEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
// 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.decodeSingularStringField(value: &self.fullName) }()
case 3: try { try decoder.decodeSingularEnumField(value: &self.type) }()
case 4: try { try decoder.decodeRepeatedMessageField(value: &self.entries) }()
default: break
@@ -964,9 +948,6 @@ extension Patrol_DartGroupEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
if !self.name.isEmpty {
try visitor.visitSingularStringField(value: self.name, fieldNumber: 1)
}
- if !self.fullName.isEmpty {
- try visitor.visitSingularStringField(value: self.fullName, fieldNumber: 2)
- }
if self.type != .group {
try visitor.visitSingularEnumField(value: self.type, fieldNumber: 3)
}
@@ -978,7 +959,6 @@ extension Patrol_DartGroupEntry: SwiftProtobuf.Message, SwiftProtobuf._MessageIm
public static func ==(lhs: Patrol_DartGroupEntry, rhs: Patrol_DartGroupEntry) -> Bool {
if lhs.name != rhs.name {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}
diff --git a/packages/patrol/lib/src/native/contracts/contracts.pb.dart b/packages/patrol/lib/src/native/contracts/contracts.pb.dart
index b718df484..e027abda5 100644
--- a/packages/patrol/lib/src/native/contracts/contracts.pb.dart
+++ b/packages/patrol/lib/src/native/contracts/contracts.pb.dart
@@ -101,12 +101,6 @@ class DartGroupEntry extends $pb.GeneratedMessage {
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'name')
- ..aOS(
- 2,
- const $core.bool.fromEnvironment('protobuf.omit_field_names')
- ? ''
- : 'fullName',
- protoName: 'fullName')
..e