| Index: generated/googleapis/test/safebrowsing/v4_test.dart
|
| diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
|
| index f92e8fc6b501fe1d1feead8dad3db7bcb4693f59..2f5d660646af2a7b84eb964460ce52b18570e0ff 100644
|
| --- a/generated/googleapis/test/safebrowsing/v4_test.dart
|
| +++ b/generated/googleapis/test/safebrowsing/v4_test.dart
|
| @@ -91,14 +91,14 @@ checkClientInfo(api.ClientInfo o) {
|
| buildCounterClientInfo--;
|
| }
|
|
|
| -buildUnnamed1124() {
|
| +buildUnnamed3041() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1124(core.List<core.String> o) {
|
| +checkUnnamed3041(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -112,7 +112,7 @@ buildConstraints() {
|
| o.maxDatabaseEntries = 42;
|
| o.maxUpdateEntries = 42;
|
| o.region = "foo";
|
| - o.supportedCompressions = buildUnnamed1124();
|
| + o.supportedCompressions = buildUnnamed3041();
|
| }
|
| buildCounterConstraints--;
|
| return o;
|
| @@ -124,19 +124,19 @@ checkConstraints(api.Constraints o) {
|
| unittest.expect(o.maxDatabaseEntries, unittest.equals(42));
|
| unittest.expect(o.maxUpdateEntries, unittest.equals(42));
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| - checkUnnamed1124(o.supportedCompressions);
|
| + checkUnnamed3041(o.supportedCompressions);
|
| }
|
| buildCounterConstraints--;
|
| }
|
|
|
| -buildUnnamed1125() {
|
| +buildUnnamed3042() {
|
| var o = new core.List<api.ListUpdateRequest>();
|
| o.add(buildListUpdateRequest());
|
| o.add(buildListUpdateRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1125(core.List<api.ListUpdateRequest> o) {
|
| +checkUnnamed3042(core.List<api.ListUpdateRequest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkListUpdateRequest(o[0]);
|
| checkListUpdateRequest(o[1]);
|
| @@ -148,7 +148,7 @@ buildFetchThreatListUpdatesRequest() {
|
| buildCounterFetchThreatListUpdatesRequest++;
|
| if (buildCounterFetchThreatListUpdatesRequest < 3) {
|
| o.client = buildClientInfo();
|
| - o.listUpdateRequests = buildUnnamed1125();
|
| + o.listUpdateRequests = buildUnnamed3042();
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| return o;
|
| @@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) {
|
| buildCounterFetchThreatListUpdatesRequest++;
|
| if (buildCounterFetchThreatListUpdatesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1125(o.listUpdateRequests);
|
| + checkUnnamed3042(o.listUpdateRequests);
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| }
|
|
|
| -buildUnnamed1126() {
|
| +buildUnnamed3043() {
|
| var o = new core.List<api.ListUpdateResponse>();
|
| o.add(buildListUpdateResponse());
|
| o.add(buildListUpdateResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1126(core.List<api.ListUpdateResponse> o) {
|
| +checkUnnamed3043(core.List<api.ListUpdateResponse> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkListUpdateResponse(o[0]);
|
| checkListUpdateResponse(o[1]);
|
| @@ -181,7 +181,7 @@ buildFetchThreatListUpdatesResponse() {
|
| var o = new api.FetchThreatListUpdatesResponse();
|
| buildCounterFetchThreatListUpdatesResponse++;
|
| if (buildCounterFetchThreatListUpdatesResponse < 3) {
|
| - o.listUpdateResponses = buildUnnamed1126();
|
| + o.listUpdateResponses = buildUnnamed3043();
|
| o.minimumWaitDuration = "foo";
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| @@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() {
|
| checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
|
| buildCounterFetchThreatListUpdatesResponse++;
|
| if (buildCounterFetchThreatListUpdatesResponse < 3) {
|
| - checkUnnamed1126(o.listUpdateResponses);
|
| + checkUnnamed3043(o.listUpdateResponses);
|
| unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| }
|
|
|
| -buildUnnamed1127() {
|
| +buildUnnamed3044() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1127(core.List<core.String> o) {
|
| +checkUnnamed3044(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -216,7 +216,7 @@ buildFindFullHashesRequest() {
|
| buildCounterFindFullHashesRequest++;
|
| if (buildCounterFindFullHashesRequest < 3) {
|
| o.client = buildClientInfo();
|
| - o.clientStates = buildUnnamed1127();
|
| + o.clientStates = buildUnnamed3044();
|
| o.threatInfo = buildThreatInfo();
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| @@ -227,20 +227,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) {
|
| buildCounterFindFullHashesRequest++;
|
| if (buildCounterFindFullHashesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1127(o.clientStates);
|
| + checkUnnamed3044(o.clientStates);
|
| checkThreatInfo(o.threatInfo);
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| }
|
|
|
| -buildUnnamed1128() {
|
| +buildUnnamed3045() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1128(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed3045(core.List<api.ThreatMatch> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatMatch(o[0]);
|
| checkThreatMatch(o[1]);
|
| @@ -251,7 +251,7 @@ buildFindFullHashesResponse() {
|
| var o = new api.FindFullHashesResponse();
|
| buildCounterFindFullHashesResponse++;
|
| if (buildCounterFindFullHashesResponse < 3) {
|
| - o.matches = buildUnnamed1128();
|
| + o.matches = buildUnnamed3045();
|
| o.minimumWaitDuration = "foo";
|
| o.negativeCacheDuration = "foo";
|
| }
|
| @@ -262,7 +262,7 @@ buildFindFullHashesResponse() {
|
| checkFindFullHashesResponse(api.FindFullHashesResponse o) {
|
| buildCounterFindFullHashesResponse++;
|
| if (buildCounterFindFullHashesResponse < 3) {
|
| - checkUnnamed1128(o.matches);
|
| + checkUnnamed3045(o.matches);
|
| unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
|
| unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
|
| }
|
| @@ -290,14 +290,14 @@ checkFindThreatMatchesRequest(api.FindThreatMatchesRequest o) {
|
| buildCounterFindThreatMatchesRequest--;
|
| }
|
|
|
| -buildUnnamed1129() {
|
| +buildUnnamed3046() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1129(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed3046(core.List<api.ThreatMatch> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatMatch(o[0]);
|
| checkThreatMatch(o[1]);
|
| @@ -308,7 +308,7 @@ buildFindThreatMatchesResponse() {
|
| var o = new api.FindThreatMatchesResponse();
|
| buildCounterFindThreatMatchesResponse++;
|
| if (buildCounterFindThreatMatchesResponse < 3) {
|
| - o.matches = buildUnnamed1129();
|
| + o.matches = buildUnnamed3046();
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| return o;
|
| @@ -317,19 +317,19 @@ buildFindThreatMatchesResponse() {
|
| checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
|
| buildCounterFindThreatMatchesResponse++;
|
| if (buildCounterFindThreatMatchesResponse < 3) {
|
| - checkUnnamed1129(o.matches);
|
| + checkUnnamed3046(o.matches);
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| }
|
|
|
| -buildUnnamed1130() {
|
| +buildUnnamed3047() {
|
| var o = new core.List<api.ThreatListDescriptor>();
|
| o.add(buildThreatListDescriptor());
|
| o.add(buildThreatListDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1130(core.List<api.ThreatListDescriptor> o) {
|
| +checkUnnamed3047(core.List<api.ThreatListDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatListDescriptor(o[0]);
|
| checkThreatListDescriptor(o[1]);
|
| @@ -340,7 +340,7 @@ buildListThreatListsResponse() {
|
| var o = new api.ListThreatListsResponse();
|
| buildCounterListThreatListsResponse++;
|
| if (buildCounterListThreatListsResponse < 3) {
|
| - o.threatLists = buildUnnamed1130();
|
| + o.threatLists = buildUnnamed3047();
|
| }
|
| buildCounterListThreatListsResponse--;
|
| return o;
|
| @@ -349,7 +349,7 @@ buildListThreatListsResponse() {
|
| checkListThreatListsResponse(api.ListThreatListsResponse o) {
|
| buildCounterListThreatListsResponse++;
|
| if (buildCounterListThreatListsResponse < 3) {
|
| - checkUnnamed1130(o.threatLists);
|
| + checkUnnamed3047(o.threatLists);
|
| }
|
| buildCounterListThreatListsResponse--;
|
| }
|
| @@ -381,27 +381,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) {
|
| buildCounterListUpdateRequest--;
|
| }
|
|
|
| -buildUnnamed1131() {
|
| +buildUnnamed3048() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1131(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed3048(core.List<api.ThreatEntrySet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntrySet(o[0]);
|
| checkThreatEntrySet(o[1]);
|
| }
|
|
|
| -buildUnnamed1132() {
|
| +buildUnnamed3049() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1132(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed3049(core.List<api.ThreatEntrySet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntrySet(o[0]);
|
| checkThreatEntrySet(o[1]);
|
| @@ -412,11 +412,11 @@ buildListUpdateResponse() {
|
| var o = new api.ListUpdateResponse();
|
| buildCounterListUpdateResponse++;
|
| if (buildCounterListUpdateResponse < 3) {
|
| - o.additions = buildUnnamed1131();
|
| + o.additions = buildUnnamed3048();
|
| o.checksum = buildChecksum();
|
| o.newClientState = "foo";
|
| o.platformType = "foo";
|
| - o.removals = buildUnnamed1132();
|
| + o.removals = buildUnnamed3049();
|
| o.responseType = "foo";
|
| o.threatEntryType = "foo";
|
| o.threatType = "foo";
|
| @@ -428,11 +428,11 @@ buildListUpdateResponse() {
|
| checkListUpdateResponse(api.ListUpdateResponse o) {
|
| buildCounterListUpdateResponse++;
|
| if (buildCounterListUpdateResponse < 3) {
|
| - checkUnnamed1131(o.additions);
|
| + checkUnnamed3048(o.additions);
|
| checkChecksum(o.checksum);
|
| unittest.expect(o.newClientState, unittest.equals('foo'));
|
| unittest.expect(o.platformType, unittest.equals('foo'));
|
| - checkUnnamed1132(o.removals);
|
| + checkUnnamed3049(o.removals);
|
| unittest.expect(o.responseType, unittest.equals('foo'));
|
| unittest.expect(o.threatEntryType, unittest.equals('foo'));
|
| unittest.expect(o.threatType, unittest.equals('foo'));
|
| @@ -482,14 +482,14 @@ checkRawHashes(api.RawHashes o) {
|
| buildCounterRawHashes--;
|
| }
|
|
|
| -buildUnnamed1133() {
|
| +buildUnnamed3050() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1133(core.List<core.int> o) {
|
| +checkUnnamed3050(core.List<core.int> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals(42));
|
| unittest.expect(o[1], unittest.equals(42));
|
| @@ -500,7 +500,7 @@ buildRawIndices() {
|
| var o = new api.RawIndices();
|
| buildCounterRawIndices++;
|
| if (buildCounterRawIndices < 3) {
|
| - o.indices = buildUnnamed1133();
|
| + o.indices = buildUnnamed3050();
|
| }
|
| buildCounterRawIndices--;
|
| return o;
|
| @@ -509,7 +509,7 @@ buildRawIndices() {
|
| checkRawIndices(api.RawIndices o) {
|
| buildCounterRawIndices++;
|
| if (buildCounterRawIndices < 3) {
|
| - checkUnnamed1133(o.indices);
|
| + checkUnnamed3050(o.indices);
|
| }
|
| buildCounterRawIndices--;
|
| }
|
| @@ -562,14 +562,14 @@ checkThreatEntry(api.ThreatEntry o) {
|
| buildCounterThreatEntry--;
|
| }
|
|
|
| -buildUnnamed1134() {
|
| +buildUnnamed3051() {
|
| var o = new core.List<api.MetadataEntry>();
|
| o.add(buildMetadataEntry());
|
| o.add(buildMetadataEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1134(core.List<api.MetadataEntry> o) {
|
| +checkUnnamed3051(core.List<api.MetadataEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetadataEntry(o[0]);
|
| checkMetadataEntry(o[1]);
|
| @@ -580,7 +580,7 @@ buildThreatEntryMetadata() {
|
| var o = new api.ThreatEntryMetadata();
|
| buildCounterThreatEntryMetadata++;
|
| if (buildCounterThreatEntryMetadata < 3) {
|
| - o.entries = buildUnnamed1134();
|
| + o.entries = buildUnnamed3051();
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| return o;
|
| @@ -589,7 +589,7 @@ buildThreatEntryMetadata() {
|
| checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
|
| buildCounterThreatEntryMetadata++;
|
| if (buildCounterThreatEntryMetadata < 3) {
|
| - checkUnnamed1134(o.entries);
|
| + checkUnnamed3051(o.entries);
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| }
|
| @@ -621,53 +621,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) {
|
| buildCounterThreatEntrySet--;
|
| }
|
|
|
| -buildUnnamed1135() {
|
| +buildUnnamed3052() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1135(core.List<core.String> o) {
|
| +checkUnnamed3052(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1136() {
|
| +buildUnnamed3053() {
|
| var o = new core.List<api.ThreatEntry>();
|
| o.add(buildThreatEntry());
|
| o.add(buildThreatEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1136(core.List<api.ThreatEntry> o) {
|
| +checkUnnamed3053(core.List<api.ThreatEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntry(o[0]);
|
| checkThreatEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1137() {
|
| +buildUnnamed3054() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1137(core.List<core.String> o) {
|
| +checkUnnamed3054(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1138() {
|
| +buildUnnamed3055() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1138(core.List<core.String> o) {
|
| +checkUnnamed3055(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -678,10 +678,10 @@ buildThreatInfo() {
|
| var o = new api.ThreatInfo();
|
| buildCounterThreatInfo++;
|
| if (buildCounterThreatInfo < 3) {
|
| - o.platformTypes = buildUnnamed1135();
|
| - o.threatEntries = buildUnnamed1136();
|
| - o.threatEntryTypes = buildUnnamed1137();
|
| - o.threatTypes = buildUnnamed1138();
|
| + o.platformTypes = buildUnnamed3052();
|
| + o.threatEntries = buildUnnamed3053();
|
| + o.threatEntryTypes = buildUnnamed3054();
|
| + o.threatTypes = buildUnnamed3055();
|
| }
|
| buildCounterThreatInfo--;
|
| return o;
|
| @@ -690,10 +690,10 @@ buildThreatInfo() {
|
| checkThreatInfo(api.ThreatInfo o) {
|
| buildCounterThreatInfo++;
|
| if (buildCounterThreatInfo < 3) {
|
| - checkUnnamed1135(o.platformTypes);
|
| - checkUnnamed1136(o.threatEntries);
|
| - checkUnnamed1137(o.threatEntryTypes);
|
| - checkUnnamed1138(o.threatTypes);
|
| + checkUnnamed3052(o.platformTypes);
|
| + checkUnnamed3053(o.threatEntries);
|
| + checkUnnamed3054(o.threatEntryTypes);
|
| + checkUnnamed3055(o.threatTypes);
|
| }
|
| buildCounterThreatInfo--;
|
| }
|
|
|