| 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 cbc80d64edb674389659800466dc21558a19612f..e2bc8d0a6526aaa8907ba859a739b5f75cfb02be 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--;
|
| }
|
|
|
| -buildUnnamed1195() {
|
| +buildUnnamed946() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1195(core.List<core.String> o) {
|
| +checkUnnamed946(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 = buildUnnamed1195();
|
| + o.supportedCompressions = buildUnnamed946();
|
| }
|
| 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'));
|
| - checkUnnamed1195(o.supportedCompressions);
|
| + checkUnnamed946(o.supportedCompressions);
|
| }
|
| buildCounterConstraints--;
|
| }
|
|
|
| -buildUnnamed1196() {
|
| +buildUnnamed947() {
|
| var o = new core.List<api.ListUpdateRequest>();
|
| o.add(buildListUpdateRequest());
|
| o.add(buildListUpdateRequest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1196(core.List<api.ListUpdateRequest> o) {
|
| +checkUnnamed947(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 = buildUnnamed1196();
|
| + o.listUpdateRequests = buildUnnamed947();
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| return o;
|
| @@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) {
|
| buildCounterFetchThreatListUpdatesRequest++;
|
| if (buildCounterFetchThreatListUpdatesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1196(o.listUpdateRequests);
|
| + checkUnnamed947(o.listUpdateRequests);
|
| }
|
| buildCounterFetchThreatListUpdatesRequest--;
|
| }
|
|
|
| -buildUnnamed1197() {
|
| +buildUnnamed948() {
|
| var o = new core.List<api.ListUpdateResponse>();
|
| o.add(buildListUpdateResponse());
|
| o.add(buildListUpdateResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1197(core.List<api.ListUpdateResponse> o) {
|
| +checkUnnamed948(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 = buildUnnamed1197();
|
| + o.listUpdateResponses = buildUnnamed948();
|
| o.minimumWaitDuration = "foo";
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| @@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() {
|
| checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
|
| buildCounterFetchThreatListUpdatesResponse++;
|
| if (buildCounterFetchThreatListUpdatesResponse < 3) {
|
| - checkUnnamed1197(o.listUpdateResponses);
|
| + checkUnnamed948(o.listUpdateResponses);
|
| unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
|
| }
|
| buildCounterFetchThreatListUpdatesResponse--;
|
| }
|
|
|
| -buildUnnamed1198() {
|
| +buildUnnamed949() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1198(core.List<core.String> o) {
|
| +checkUnnamed949(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 = buildUnnamed1198();
|
| + o.clientStates = buildUnnamed949();
|
| o.threatInfo = buildThreatInfo();
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| @@ -227,20 +227,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) {
|
| buildCounterFindFullHashesRequest++;
|
| if (buildCounterFindFullHashesRequest < 3) {
|
| checkClientInfo(o.client);
|
| - checkUnnamed1198(o.clientStates);
|
| + checkUnnamed949(o.clientStates);
|
| checkThreatInfo(o.threatInfo);
|
| }
|
| buildCounterFindFullHashesRequest--;
|
| }
|
|
|
| -buildUnnamed1199() {
|
| +buildUnnamed950() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1199(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed950(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 = buildUnnamed1199();
|
| + o.matches = buildUnnamed950();
|
| o.minimumWaitDuration = "foo";
|
| o.negativeCacheDuration = "foo";
|
| }
|
| @@ -262,7 +262,7 @@ buildFindFullHashesResponse() {
|
| checkFindFullHashesResponse(api.FindFullHashesResponse o) {
|
| buildCounterFindFullHashesResponse++;
|
| if (buildCounterFindFullHashesResponse < 3) {
|
| - checkUnnamed1199(o.matches);
|
| + checkUnnamed950(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--;
|
| }
|
|
|
| -buildUnnamed1200() {
|
| +buildUnnamed951() {
|
| var o = new core.List<api.ThreatMatch>();
|
| o.add(buildThreatMatch());
|
| o.add(buildThreatMatch());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1200(core.List<api.ThreatMatch> o) {
|
| +checkUnnamed951(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 = buildUnnamed1200();
|
| + o.matches = buildUnnamed951();
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| return o;
|
| @@ -317,19 +317,19 @@ buildFindThreatMatchesResponse() {
|
| checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
|
| buildCounterFindThreatMatchesResponse++;
|
| if (buildCounterFindThreatMatchesResponse < 3) {
|
| - checkUnnamed1200(o.matches);
|
| + checkUnnamed951(o.matches);
|
| }
|
| buildCounterFindThreatMatchesResponse--;
|
| }
|
|
|
| -buildUnnamed1201() {
|
| +buildUnnamed952() {
|
| var o = new core.List<api.ThreatListDescriptor>();
|
| o.add(buildThreatListDescriptor());
|
| o.add(buildThreatListDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1201(core.List<api.ThreatListDescriptor> o) {
|
| +checkUnnamed952(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 = buildUnnamed1201();
|
| + o.threatLists = buildUnnamed952();
|
| }
|
| buildCounterListThreatListsResponse--;
|
| return o;
|
| @@ -349,7 +349,7 @@ buildListThreatListsResponse() {
|
| checkListThreatListsResponse(api.ListThreatListsResponse o) {
|
| buildCounterListThreatListsResponse++;
|
| if (buildCounterListThreatListsResponse < 3) {
|
| - checkUnnamed1201(o.threatLists);
|
| + checkUnnamed952(o.threatLists);
|
| }
|
| buildCounterListThreatListsResponse--;
|
| }
|
| @@ -381,27 +381,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) {
|
| buildCounterListUpdateRequest--;
|
| }
|
|
|
| -buildUnnamed1202() {
|
| +buildUnnamed953() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1202(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed953(core.List<api.ThreatEntrySet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntrySet(o[0]);
|
| checkThreatEntrySet(o[1]);
|
| }
|
|
|
| -buildUnnamed1203() {
|
| +buildUnnamed954() {
|
| var o = new core.List<api.ThreatEntrySet>();
|
| o.add(buildThreatEntrySet());
|
| o.add(buildThreatEntrySet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1203(core.List<api.ThreatEntrySet> o) {
|
| +checkUnnamed954(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 = buildUnnamed1202();
|
| + o.additions = buildUnnamed953();
|
| o.checksum = buildChecksum();
|
| o.newClientState = "foo";
|
| o.platformType = "foo";
|
| - o.removals = buildUnnamed1203();
|
| + o.removals = buildUnnamed954();
|
| o.responseType = "foo";
|
| o.threatEntryType = "foo";
|
| o.threatType = "foo";
|
| @@ -428,11 +428,11 @@ buildListUpdateResponse() {
|
| checkListUpdateResponse(api.ListUpdateResponse o) {
|
| buildCounterListUpdateResponse++;
|
| if (buildCounterListUpdateResponse < 3) {
|
| - checkUnnamed1202(o.additions);
|
| + checkUnnamed953(o.additions);
|
| checkChecksum(o.checksum);
|
| unittest.expect(o.newClientState, unittest.equals('foo'));
|
| unittest.expect(o.platformType, unittest.equals('foo'));
|
| - checkUnnamed1203(o.removals);
|
| + checkUnnamed954(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--;
|
| }
|
|
|
| -buildUnnamed1204() {
|
| +buildUnnamed955() {
|
| var o = new core.List<core.int>();
|
| o.add(42);
|
| o.add(42);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1204(core.List<core.int> o) {
|
| +checkUnnamed955(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 = buildUnnamed1204();
|
| + o.indices = buildUnnamed955();
|
| }
|
| buildCounterRawIndices--;
|
| return o;
|
| @@ -509,7 +509,7 @@ buildRawIndices() {
|
| checkRawIndices(api.RawIndices o) {
|
| buildCounterRawIndices++;
|
| if (buildCounterRawIndices < 3) {
|
| - checkUnnamed1204(o.indices);
|
| + checkUnnamed955(o.indices);
|
| }
|
| buildCounterRawIndices--;
|
| }
|
| @@ -562,14 +562,14 @@ checkThreatEntry(api.ThreatEntry o) {
|
| buildCounterThreatEntry--;
|
| }
|
|
|
| -buildUnnamed1205() {
|
| +buildUnnamed956() {
|
| var o = new core.List<api.MetadataEntry>();
|
| o.add(buildMetadataEntry());
|
| o.add(buildMetadataEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1205(core.List<api.MetadataEntry> o) {
|
| +checkUnnamed956(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 = buildUnnamed1205();
|
| + o.entries = buildUnnamed956();
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| return o;
|
| @@ -589,7 +589,7 @@ buildThreatEntryMetadata() {
|
| checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
|
| buildCounterThreatEntryMetadata++;
|
| if (buildCounterThreatEntryMetadata < 3) {
|
| - checkUnnamed1205(o.entries);
|
| + checkUnnamed956(o.entries);
|
| }
|
| buildCounterThreatEntryMetadata--;
|
| }
|
| @@ -621,53 +621,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) {
|
| buildCounterThreatEntrySet--;
|
| }
|
|
|
| -buildUnnamed1206() {
|
| +buildUnnamed957() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1206(core.List<core.String> o) {
|
| +checkUnnamed957(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'));
|
| }
|
|
|
| -buildUnnamed1207() {
|
| +buildUnnamed958() {
|
| var o = new core.List<api.ThreatEntry>();
|
| o.add(buildThreatEntry());
|
| o.add(buildThreatEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1207(core.List<api.ThreatEntry> o) {
|
| +checkUnnamed958(core.List<api.ThreatEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkThreatEntry(o[0]);
|
| checkThreatEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1208() {
|
| +buildUnnamed959() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1208(core.List<core.String> o) {
|
| +checkUnnamed959(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'));
|
| }
|
|
|
| -buildUnnamed1209() {
|
| +buildUnnamed960() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1209(core.List<core.String> o) {
|
| +checkUnnamed960(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 = buildUnnamed1206();
|
| - o.threatEntries = buildUnnamed1207();
|
| - o.threatEntryTypes = buildUnnamed1208();
|
| - o.threatTypes = buildUnnamed1209();
|
| + o.platformTypes = buildUnnamed957();
|
| + o.threatEntries = buildUnnamed958();
|
| + o.threatEntryTypes = buildUnnamed959();
|
| + o.threatTypes = buildUnnamed960();
|
| }
|
| buildCounterThreatInfo--;
|
| return o;
|
| @@ -690,10 +690,10 @@ buildThreatInfo() {
|
| checkThreatInfo(api.ThreatInfo o) {
|
| buildCounterThreatInfo++;
|
| if (buildCounterThreatInfo < 3) {
|
| - checkUnnamed1206(o.platformTypes);
|
| - checkUnnamed1207(o.threatEntries);
|
| - checkUnnamed1208(o.threatEntryTypes);
|
| - checkUnnamed1209(o.threatTypes);
|
| + checkUnnamed957(o.platformTypes);
|
| + checkUnnamed958(o.threatEntries);
|
| + checkUnnamed959(o.threatEntryTypes);
|
| + checkUnnamed960(o.threatTypes);
|
| }
|
| buildCounterThreatInfo--;
|
| }
|
|
|