| 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 632ef2d3294f0c6c2d842b718bce2f1e19dddc28..cbc80d64edb674389659800466dc21558a19612f 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--;
|
| }
|
|
|
| -buildUnnamed1169() {
|
| +buildUnnamed1195() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1169(core.List<core.String> o) {
|
| +checkUnnamed1195(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 = buildUnnamed1169();
|
| + o.supportedCompressions = buildUnnamed1195();
|
| }
|
| 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'));
|
| - checkUnnamed1169(o.supportedCompressions);
|
| + checkUnnamed1195(o.supportedCompressions);
|
| }
|
| buildCounterConstraints--;
|
| }
|
|
|
| -buildUnnamed1170() {
|
| +buildUnnamed1196() {
|
| var o = new core.List<api.ListUpdateRequest>();
|
| o.add(buildListUpdateRequest());
|
| o.add(buildListUpdateRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1170(core.List<api.ListUpdateRequest> o) {
|
| +checkUnnamed1196(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 = buildUnnamed1170();
|
| + o.listUpdateRequests = buildUnnamed1196();
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| return o;
|
| @@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) {
|
| buildCounterFetchThreatListUpdatesRequest++;
|
| if (buildCounterFetchThreatListUpdatesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1170(o.listUpdateRequests);
|
| + checkUnnamed1196(o.listUpdateRequests);
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| }
|
|
|
| -buildUnnamed1171() {
|
| +buildUnnamed1197() {
|
| var o = new core.List<api.ListUpdateResponse>();
|
| o.add(buildListUpdateResponse());
|
| o.add(buildListUpdateResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1171(core.List<api.ListUpdateResponse> o) {
|
| +checkUnnamed1197(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 = buildUnnamed1171();
|
| + o.listUpdateResponses = buildUnnamed1197();
|
| o.minimumWaitDuration = "foo";
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| @@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() {
|
| checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
|
| buildCounterFetchThreatListUpdatesResponse++;
|
| if (buildCounterFetchThreatListUpdatesResponse < 3) {
|
| - checkUnnamed1171(o.listUpdateResponses);
|
| + checkUnnamed1197(o.listUpdateResponses);
|
| unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| }
|
|
|
| -buildUnnamed1172() {
|
| +buildUnnamed1198() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1172(core.List<core.String> o) {
|
| +checkUnnamed1198(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 = buildUnnamed1172();
|
| + o.clientStates = buildUnnamed1198();
|
| o.threatInfo = buildThreatInfo();
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| @@ -227,20 +227,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) {
|
| buildCounterFindFullHashesRequest++;
|
| if (buildCounterFindFullHashesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1172(o.clientStates);
|
| + checkUnnamed1198(o.clientStates);
|
| checkThreatInfo(o.threatInfo);
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| }
|
|
|
| -buildUnnamed1173() {
|
| +buildUnnamed1199() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1173(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed1199(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 = buildUnnamed1173();
|
| + o.matches = buildUnnamed1199();
|
| o.minimumWaitDuration = "foo";
|
| o.negativeCacheDuration = "foo";
|
| }
|
| @@ -262,7 +262,7 @@ buildFindFullHashesResponse() {
|
| checkFindFullHashesResponse(api.FindFullHashesResponse o) {
|
| buildCounterFindFullHashesResponse++;
|
| if (buildCounterFindFullHashesResponse < 3) {
|
| - checkUnnamed1173(o.matches);
|
| + checkUnnamed1199(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--;
|
| }
|
|
|
| -buildUnnamed1174() {
|
| +buildUnnamed1200() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1174(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed1200(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 = buildUnnamed1174();
|
| + o.matches = buildUnnamed1200();
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| return o;
|
| @@ -317,19 +317,19 @@ buildFindThreatMatchesResponse() {
|
| checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
|
| buildCounterFindThreatMatchesResponse++;
|
| if (buildCounterFindThreatMatchesResponse < 3) {
|
| - checkUnnamed1174(o.matches);
|
| + checkUnnamed1200(o.matches);
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| }
|
|
|
| -buildUnnamed1175() {
|
| +buildUnnamed1201() {
|
| var o = new core.List<api.ThreatListDescriptor>();
|
| o.add(buildThreatListDescriptor());
|
| o.add(buildThreatListDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1175(core.List<api.ThreatListDescriptor> o) {
|
| +checkUnnamed1201(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 = buildUnnamed1175();
|
| + o.threatLists = buildUnnamed1201();
|
| }
|
| buildCounterListThreatListsResponse--;
|
| return o;
|
| @@ -349,7 +349,7 @@ buildListThreatListsResponse() {
|
| checkListThreatListsResponse(api.ListThreatListsResponse o) {
|
| buildCounterListThreatListsResponse++;
|
| if (buildCounterListThreatListsResponse < 3) {
|
| - checkUnnamed1175(o.threatLists);
|
| + checkUnnamed1201(o.threatLists);
|
| }
|
| buildCounterListThreatListsResponse--;
|
| }
|
| @@ -381,27 +381,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) {
|
| buildCounterListUpdateRequest--;
|
| }
|
|
|
| -buildUnnamed1176() {
|
| +buildUnnamed1202() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1176(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed1202(core.List<api.ThreatEntrySet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntrySet(o[0]);
|
| checkThreatEntrySet(o[1]);
|
| }
|
|
|
| -buildUnnamed1177() {
|
| +buildUnnamed1203() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1177(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed1203(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 = buildUnnamed1176();
|
| + o.additions = buildUnnamed1202();
|
| o.checksum = buildChecksum();
|
| o.newClientState = "foo";
|
| o.platformType = "foo";
|
| - o.removals = buildUnnamed1177();
|
| + o.removals = buildUnnamed1203();
|
| o.responseType = "foo";
|
| o.threatEntryType = "foo";
|
| o.threatType = "foo";
|
| @@ -428,11 +428,11 @@ buildListUpdateResponse() {
|
| checkListUpdateResponse(api.ListUpdateResponse o) {
|
| buildCounterListUpdateResponse++;
|
| if (buildCounterListUpdateResponse < 3) {
|
| - checkUnnamed1176(o.additions);
|
| + checkUnnamed1202(o.additions);
|
| checkChecksum(o.checksum);
|
| unittest.expect(o.newClientState, unittest.equals('foo'));
|
| unittest.expect(o.platformType, unittest.equals('foo'));
|
| - checkUnnamed1177(o.removals);
|
| + checkUnnamed1203(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--;
|
| }
|
|
|
| -buildUnnamed1178() {
|
| +buildUnnamed1204() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1178(core.List<core.int> o) {
|
| +checkUnnamed1204(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 = buildUnnamed1178();
|
| + o.indices = buildUnnamed1204();
|
| }
|
| buildCounterRawIndices--;
|
| return o;
|
| @@ -509,7 +509,7 @@ buildRawIndices() {
|
| checkRawIndices(api.RawIndices o) {
|
| buildCounterRawIndices++;
|
| if (buildCounterRawIndices < 3) {
|
| - checkUnnamed1178(o.indices);
|
| + checkUnnamed1204(o.indices);
|
| }
|
| buildCounterRawIndices--;
|
| }
|
| @@ -562,14 +562,14 @@ checkThreatEntry(api.ThreatEntry o) {
|
| buildCounterThreatEntry--;
|
| }
|
|
|
| -buildUnnamed1179() {
|
| +buildUnnamed1205() {
|
| var o = new core.List<api.MetadataEntry>();
|
| o.add(buildMetadataEntry());
|
| o.add(buildMetadataEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1179(core.List<api.MetadataEntry> o) {
|
| +checkUnnamed1205(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 = buildUnnamed1179();
|
| + o.entries = buildUnnamed1205();
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| return o;
|
| @@ -589,7 +589,7 @@ buildThreatEntryMetadata() {
|
| checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
|
| buildCounterThreatEntryMetadata++;
|
| if (buildCounterThreatEntryMetadata < 3) {
|
| - checkUnnamed1179(o.entries);
|
| + checkUnnamed1205(o.entries);
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| }
|
| @@ -621,53 +621,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) {
|
| buildCounterThreatEntrySet--;
|
| }
|
|
|
| -buildUnnamed1180() {
|
| +buildUnnamed1206() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1180(core.List<core.String> o) {
|
| +checkUnnamed1206(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'));
|
| }
|
|
|
| -buildUnnamed1181() {
|
| +buildUnnamed1207() {
|
| var o = new core.List<api.ThreatEntry>();
|
| o.add(buildThreatEntry());
|
| o.add(buildThreatEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1181(core.List<api.ThreatEntry> o) {
|
| +checkUnnamed1207(core.List<api.ThreatEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntry(o[0]);
|
| checkThreatEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1182() {
|
| +buildUnnamed1208() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1182(core.List<core.String> o) {
|
| +checkUnnamed1208(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'));
|
| }
|
|
|
| -buildUnnamed1183() {
|
| +buildUnnamed1209() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1183(core.List<core.String> o) {
|
| +checkUnnamed1209(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 = buildUnnamed1180();
|
| - o.threatEntries = buildUnnamed1181();
|
| - o.threatEntryTypes = buildUnnamed1182();
|
| - o.threatTypes = buildUnnamed1183();
|
| + o.platformTypes = buildUnnamed1206();
|
| + o.threatEntries = buildUnnamed1207();
|
| + o.threatEntryTypes = buildUnnamed1208();
|
| + o.threatTypes = buildUnnamed1209();
|
| }
|
| buildCounterThreatInfo--;
|
| return o;
|
| @@ -690,10 +690,10 @@ buildThreatInfo() {
|
| checkThreatInfo(api.ThreatInfo o) {
|
| buildCounterThreatInfo++;
|
| if (buildCounterThreatInfo < 3) {
|
| - checkUnnamed1180(o.platformTypes);
|
| - checkUnnamed1181(o.threatEntries);
|
| - checkUnnamed1182(o.threatEntryTypes);
|
| - checkUnnamed1183(o.threatTypes);
|
| + checkUnnamed1206(o.platformTypes);
|
| + checkUnnamed1207(o.threatEntries);
|
| + checkUnnamed1208(o.threatEntryTypes);
|
| + checkUnnamed1209(o.threatTypes);
|
| }
|
| buildCounterThreatInfo--;
|
| }
|
|
|