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 c0233e76bb1970a824aff0a34d75ff9c8844fa82..92a12975b4f1ad4b0938b11f8b8dfce9c93482b7 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--; |
} |
-buildUnnamed2704() { |
+buildUnnamed1131() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2704(core.List<core.String> o) { |
+checkUnnamed1131(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 = buildUnnamed2704(); |
+ o.supportedCompressions = buildUnnamed1131(); |
} |
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')); |
- checkUnnamed2704(o.supportedCompressions); |
+ checkUnnamed1131(o.supportedCompressions); |
} |
buildCounterConstraints--; |
} |
-buildUnnamed2705() { |
+buildUnnamed1132() { |
var o = new core.List<api.ListUpdateRequest>(); |
o.add(buildListUpdateRequest()); |
o.add(buildListUpdateRequest()); |
return o; |
} |
-checkUnnamed2705(core.List<api.ListUpdateRequest> o) { |
+checkUnnamed1132(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 = buildUnnamed2705(); |
+ o.listUpdateRequests = buildUnnamed1132(); |
} |
buildCounterFetchThreatListUpdatesRequest--; |
return o; |
@@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) { |
buildCounterFetchThreatListUpdatesRequest++; |
if (buildCounterFetchThreatListUpdatesRequest < 3) { |
checkClientInfo(o.client); |
- checkUnnamed2705(o.listUpdateRequests); |
+ checkUnnamed1132(o.listUpdateRequests); |
} |
buildCounterFetchThreatListUpdatesRequest--; |
} |
-buildUnnamed2706() { |
+buildUnnamed1133() { |
var o = new core.List<api.ListUpdateResponse>(); |
o.add(buildListUpdateResponse()); |
o.add(buildListUpdateResponse()); |
return o; |
} |
-checkUnnamed2706(core.List<api.ListUpdateResponse> o) { |
+checkUnnamed1133(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 = buildUnnamed2706(); |
+ o.listUpdateResponses = buildUnnamed1133(); |
o.minimumWaitDuration = "foo"; |
} |
buildCounterFetchThreatListUpdatesResponse--; |
@@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() { |
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) { |
buildCounterFetchThreatListUpdatesResponse++; |
if (buildCounterFetchThreatListUpdatesResponse < 3) { |
- checkUnnamed2706(o.listUpdateResponses); |
+ checkUnnamed1133(o.listUpdateResponses); |
unittest.expect(o.minimumWaitDuration, unittest.equals('foo')); |
} |
buildCounterFetchThreatListUpdatesResponse--; |
} |
-buildUnnamed2707() { |
+buildUnnamed1134() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2707(core.List<core.String> o) { |
+checkUnnamed1134(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 = buildUnnamed2707(); |
+ o.clientStates = buildUnnamed1134(); |
o.threatInfo = buildThreatInfo(); |
} |
buildCounterFindFullHashesRequest--; |
@@ -227,20 +227,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) { |
buildCounterFindFullHashesRequest++; |
if (buildCounterFindFullHashesRequest < 3) { |
checkClientInfo(o.client); |
- checkUnnamed2707(o.clientStates); |
+ checkUnnamed1134(o.clientStates); |
checkThreatInfo(o.threatInfo); |
} |
buildCounterFindFullHashesRequest--; |
} |
-buildUnnamed2708() { |
+buildUnnamed1135() { |
var o = new core.List<api.ThreatMatch>(); |
o.add(buildThreatMatch()); |
o.add(buildThreatMatch()); |
return o; |
} |
-checkUnnamed2708(core.List<api.ThreatMatch> o) { |
+checkUnnamed1135(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 = buildUnnamed2708(); |
+ o.matches = buildUnnamed1135(); |
o.minimumWaitDuration = "foo"; |
o.negativeCacheDuration = "foo"; |
} |
@@ -262,7 +262,7 @@ buildFindFullHashesResponse() { |
checkFindFullHashesResponse(api.FindFullHashesResponse o) { |
buildCounterFindFullHashesResponse++; |
if (buildCounterFindFullHashesResponse < 3) { |
- checkUnnamed2708(o.matches); |
+ checkUnnamed1135(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--; |
} |
-buildUnnamed2709() { |
+buildUnnamed1136() { |
var o = new core.List<api.ThreatMatch>(); |
o.add(buildThreatMatch()); |
o.add(buildThreatMatch()); |
return o; |
} |
-checkUnnamed2709(core.List<api.ThreatMatch> o) { |
+checkUnnamed1136(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 = buildUnnamed2709(); |
+ o.matches = buildUnnamed1136(); |
} |
buildCounterFindThreatMatchesResponse--; |
return o; |
@@ -317,19 +317,19 @@ buildFindThreatMatchesResponse() { |
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) { |
buildCounterFindThreatMatchesResponse++; |
if (buildCounterFindThreatMatchesResponse < 3) { |
- checkUnnamed2709(o.matches); |
+ checkUnnamed1136(o.matches); |
} |
buildCounterFindThreatMatchesResponse--; |
} |
-buildUnnamed2710() { |
+buildUnnamed1137() { |
var o = new core.List<api.ThreatListDescriptor>(); |
o.add(buildThreatListDescriptor()); |
o.add(buildThreatListDescriptor()); |
return o; |
} |
-checkUnnamed2710(core.List<api.ThreatListDescriptor> o) { |
+checkUnnamed1137(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 = buildUnnamed2710(); |
+ o.threatLists = buildUnnamed1137(); |
} |
buildCounterListThreatListsResponse--; |
return o; |
@@ -349,7 +349,7 @@ buildListThreatListsResponse() { |
checkListThreatListsResponse(api.ListThreatListsResponse o) { |
buildCounterListThreatListsResponse++; |
if (buildCounterListThreatListsResponse < 3) { |
- checkUnnamed2710(o.threatLists); |
+ checkUnnamed1137(o.threatLists); |
} |
buildCounterListThreatListsResponse--; |
} |
@@ -381,27 +381,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) { |
buildCounterListUpdateRequest--; |
} |
-buildUnnamed2711() { |
+buildUnnamed1138() { |
var o = new core.List<api.ThreatEntrySet>(); |
o.add(buildThreatEntrySet()); |
o.add(buildThreatEntrySet()); |
return o; |
} |
-checkUnnamed2711(core.List<api.ThreatEntrySet> o) { |
+checkUnnamed1138(core.List<api.ThreatEntrySet> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkThreatEntrySet(o[0]); |
checkThreatEntrySet(o[1]); |
} |
-buildUnnamed2712() { |
+buildUnnamed1139() { |
var o = new core.List<api.ThreatEntrySet>(); |
o.add(buildThreatEntrySet()); |
o.add(buildThreatEntrySet()); |
return o; |
} |
-checkUnnamed2712(core.List<api.ThreatEntrySet> o) { |
+checkUnnamed1139(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 = buildUnnamed2711(); |
+ o.additions = buildUnnamed1138(); |
o.checksum = buildChecksum(); |
o.newClientState = "foo"; |
o.platformType = "foo"; |
- o.removals = buildUnnamed2712(); |
+ o.removals = buildUnnamed1139(); |
o.responseType = "foo"; |
o.threatEntryType = "foo"; |
o.threatType = "foo"; |
@@ -428,11 +428,11 @@ buildListUpdateResponse() { |
checkListUpdateResponse(api.ListUpdateResponse o) { |
buildCounterListUpdateResponse++; |
if (buildCounterListUpdateResponse < 3) { |
- checkUnnamed2711(o.additions); |
+ checkUnnamed1138(o.additions); |
checkChecksum(o.checksum); |
unittest.expect(o.newClientState, unittest.equals('foo')); |
unittest.expect(o.platformType, unittest.equals('foo')); |
- checkUnnamed2712(o.removals); |
+ checkUnnamed1139(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--; |
} |
-buildUnnamed2713() { |
+buildUnnamed1140() { |
var o = new core.List<core.int>(); |
o.add(42); |
o.add(42); |
return o; |
} |
-checkUnnamed2713(core.List<core.int> o) { |
+checkUnnamed1140(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 = buildUnnamed2713(); |
+ o.indices = buildUnnamed1140(); |
} |
buildCounterRawIndices--; |
return o; |
@@ -509,7 +509,7 @@ buildRawIndices() { |
checkRawIndices(api.RawIndices o) { |
buildCounterRawIndices++; |
if (buildCounterRawIndices < 3) { |
- checkUnnamed2713(o.indices); |
+ checkUnnamed1140(o.indices); |
} |
buildCounterRawIndices--; |
} |
@@ -544,6 +544,7 @@ buildThreatEntry() { |
var o = new api.ThreatEntry(); |
buildCounterThreatEntry++; |
if (buildCounterThreatEntry < 3) { |
+ o.digest = "foo"; |
o.hash = "foo"; |
o.url = "foo"; |
} |
@@ -554,20 +555,21 @@ buildThreatEntry() { |
checkThreatEntry(api.ThreatEntry o) { |
buildCounterThreatEntry++; |
if (buildCounterThreatEntry < 3) { |
+ unittest.expect(o.digest, unittest.equals('foo')); |
unittest.expect(o.hash, unittest.equals('foo')); |
unittest.expect(o.url, unittest.equals('foo')); |
} |
buildCounterThreatEntry--; |
} |
-buildUnnamed2714() { |
+buildUnnamed1141() { |
var o = new core.List<api.MetadataEntry>(); |
o.add(buildMetadataEntry()); |
o.add(buildMetadataEntry()); |
return o; |
} |
-checkUnnamed2714(core.List<api.MetadataEntry> o) { |
+checkUnnamed1141(core.List<api.MetadataEntry> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkMetadataEntry(o[0]); |
checkMetadataEntry(o[1]); |
@@ -578,7 +580,7 @@ buildThreatEntryMetadata() { |
var o = new api.ThreatEntryMetadata(); |
buildCounterThreatEntryMetadata++; |
if (buildCounterThreatEntryMetadata < 3) { |
- o.entries = buildUnnamed2714(); |
+ o.entries = buildUnnamed1141(); |
} |
buildCounterThreatEntryMetadata--; |
return o; |
@@ -587,7 +589,7 @@ buildThreatEntryMetadata() { |
checkThreatEntryMetadata(api.ThreatEntryMetadata o) { |
buildCounterThreatEntryMetadata++; |
if (buildCounterThreatEntryMetadata < 3) { |
- checkUnnamed2714(o.entries); |
+ checkUnnamed1141(o.entries); |
} |
buildCounterThreatEntryMetadata--; |
} |
@@ -619,53 +621,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) { |
buildCounterThreatEntrySet--; |
} |
-buildUnnamed2715() { |
+buildUnnamed1142() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2715(core.List<core.String> o) { |
+checkUnnamed1142(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')); |
} |
-buildUnnamed2716() { |
+buildUnnamed1143() { |
var o = new core.List<api.ThreatEntry>(); |
o.add(buildThreatEntry()); |
o.add(buildThreatEntry()); |
return o; |
} |
-checkUnnamed2716(core.List<api.ThreatEntry> o) { |
+checkUnnamed1143(core.List<api.ThreatEntry> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkThreatEntry(o[0]); |
checkThreatEntry(o[1]); |
} |
-buildUnnamed2717() { |
+buildUnnamed1144() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2717(core.List<core.String> o) { |
+checkUnnamed1144(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')); |
} |
-buildUnnamed2718() { |
+buildUnnamed1145() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed2718(core.List<core.String> o) { |
+checkUnnamed1145(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')); |
@@ -676,10 +678,10 @@ buildThreatInfo() { |
var o = new api.ThreatInfo(); |
buildCounterThreatInfo++; |
if (buildCounterThreatInfo < 3) { |
- o.platformTypes = buildUnnamed2715(); |
- o.threatEntries = buildUnnamed2716(); |
- o.threatEntryTypes = buildUnnamed2717(); |
- o.threatTypes = buildUnnamed2718(); |
+ o.platformTypes = buildUnnamed1142(); |
+ o.threatEntries = buildUnnamed1143(); |
+ o.threatEntryTypes = buildUnnamed1144(); |
+ o.threatTypes = buildUnnamed1145(); |
} |
buildCounterThreatInfo--; |
return o; |
@@ -688,10 +690,10 @@ buildThreatInfo() { |
checkThreatInfo(api.ThreatInfo o) { |
buildCounterThreatInfo++; |
if (buildCounterThreatInfo < 3) { |
- checkUnnamed2715(o.platformTypes); |
- checkUnnamed2716(o.threatEntries); |
- checkUnnamed2717(o.threatEntryTypes); |
- checkUnnamed2718(o.threatTypes); |
+ checkUnnamed1142(o.platformTypes); |
+ checkUnnamed1143(o.threatEntries); |
+ checkUnnamed1144(o.threatEntryTypes); |
+ checkUnnamed1145(o.threatTypes); |
} |
buildCounterThreatInfo--; |
} |