Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: generated/googleapis/test/safebrowsing/v4_test.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/test/runtimeconfig/v1_test.dart ('k') | generated/googleapis/test/script/v1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 610d04d96e79efb18cddfad219bf5933d6b5c918..cd24f1dd8c40b1cfccb168a7d938f2d3aebee224 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--;
}
-buildUnnamed999() {
+buildUnnamed990() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed999(core.List<core.String> o) {
+checkUnnamed990(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 = buildUnnamed999();
+ o.supportedCompressions = buildUnnamed990();
}
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'));
- checkUnnamed999(o.supportedCompressions);
+ checkUnnamed990(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed1000() {
+buildUnnamed991() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed1000(core.List<api.ListUpdateRequest> o) {
+checkUnnamed991(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 = buildUnnamed1000();
+ o.listUpdateRequests = buildUnnamed991();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) {
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed1000(o.listUpdateRequests);
+ checkUnnamed991(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed1001() {
+buildUnnamed992() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed1001(core.List<api.ListUpdateResponse> o) {
+checkUnnamed992(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 = buildUnnamed1001();
+ o.listUpdateResponses = buildUnnamed992();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() {
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed1001(o.listUpdateResponses);
+ checkUnnamed992(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed1002() {
+buildUnnamed993() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1002(core.List<core.String> o) {
+checkUnnamed993(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'));
@@ -217,7 +217,7 @@ buildFindFullHashesRequest() {
if (buildCounterFindFullHashesRequest < 3) {
o.apiClient = buildClientInfo();
o.client = buildClientInfo();
- o.clientStates = buildUnnamed1002();
+ o.clientStates = buildUnnamed993();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -229,20 +229,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) {
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.apiClient);
checkClientInfo(o.client);
- checkUnnamed1002(o.clientStates);
+ checkUnnamed993(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed1003() {
+buildUnnamed994() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1003(core.List<api.ThreatMatch> o) {
+checkUnnamed994(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -253,7 +253,7 @@ buildFindFullHashesResponse() {
var o = new api.FindFullHashesResponse();
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- o.matches = buildUnnamed1003();
+ o.matches = buildUnnamed994();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -264,7 +264,7 @@ buildFindFullHashesResponse() {
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed1003(o.matches);
+ checkUnnamed994(o.matches);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
unittest.expect(o.negativeCacheDuration, unittest.equals('foo'));
}
@@ -292,14 +292,14 @@ checkFindThreatMatchesRequest(api.FindThreatMatchesRequest o) {
buildCounterFindThreatMatchesRequest--;
}
-buildUnnamed1004() {
+buildUnnamed995() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed1004(core.List<api.ThreatMatch> o) {
+checkUnnamed995(core.List<api.ThreatMatch> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatMatch(o[0]);
checkThreatMatch(o[1]);
@@ -310,7 +310,7 @@ buildFindThreatMatchesResponse() {
var o = new api.FindThreatMatchesResponse();
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- o.matches = buildUnnamed1004();
+ o.matches = buildUnnamed995();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -319,19 +319,19 @@ buildFindThreatMatchesResponse() {
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed1004(o.matches);
+ checkUnnamed995(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed1005() {
+buildUnnamed996() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed1005(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed996(core.List<api.ThreatListDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatListDescriptor(o[0]);
checkThreatListDescriptor(o[1]);
@@ -342,7 +342,7 @@ buildListThreatListsResponse() {
var o = new api.ListThreatListsResponse();
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- o.threatLists = buildUnnamed1005();
+ o.threatLists = buildUnnamed996();
}
buildCounterListThreatListsResponse--;
return o;
@@ -351,7 +351,7 @@ buildListThreatListsResponse() {
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed1005(o.threatLists);
+ checkUnnamed996(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -383,27 +383,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) {
buildCounterListUpdateRequest--;
}
-buildUnnamed1006() {
+buildUnnamed997() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1006(core.List<api.ThreatEntrySet> o) {
+checkUnnamed997(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed1007() {
+buildUnnamed998() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed1007(core.List<api.ThreatEntrySet> o) {
+checkUnnamed998(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
@@ -414,11 +414,11 @@ buildListUpdateResponse() {
var o = new api.ListUpdateResponse();
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- o.additions = buildUnnamed1006();
+ o.additions = buildUnnamed997();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed1007();
+ o.removals = buildUnnamed998();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -430,11 +430,11 @@ buildListUpdateResponse() {
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed1006(o.additions);
+ checkUnnamed997(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed1007(o.removals);
+ checkUnnamed998(o.removals);
unittest.expect(o.responseType, unittest.equals('foo'));
unittest.expect(o.threatEntryType, unittest.equals('foo'));
unittest.expect(o.threatType, unittest.equals('foo'));
@@ -484,14 +484,14 @@ checkRawHashes(api.RawHashes o) {
buildCounterRawHashes--;
}
-buildUnnamed1008() {
+buildUnnamed999() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed1008(core.List<core.int> o) {
+checkUnnamed999(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));
@@ -502,7 +502,7 @@ buildRawIndices() {
var o = new api.RawIndices();
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- o.indices = buildUnnamed1008();
+ o.indices = buildUnnamed999();
}
buildCounterRawIndices--;
return o;
@@ -511,7 +511,7 @@ buildRawIndices() {
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed1008(o.indices);
+ checkUnnamed999(o.indices);
}
buildCounterRawIndices--;
}
@@ -564,14 +564,14 @@ checkThreatEntry(api.ThreatEntry o) {
buildCounterThreatEntry--;
}
-buildUnnamed1009() {
+buildUnnamed1000() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed1009(core.List<api.MetadataEntry> o) {
+checkUnnamed1000(core.List<api.MetadataEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkMetadataEntry(o[0]);
checkMetadataEntry(o[1]);
@@ -582,7 +582,7 @@ buildThreatEntryMetadata() {
var o = new api.ThreatEntryMetadata();
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- o.entries = buildUnnamed1009();
+ o.entries = buildUnnamed1000();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -591,7 +591,7 @@ buildThreatEntryMetadata() {
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed1009(o.entries);
+ checkUnnamed1000(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -623,53 +623,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) {
buildCounterThreatEntrySet--;
}
-buildUnnamed1010() {
+buildUnnamed1001() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1010(core.List<core.String> o) {
+checkUnnamed1001(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'));
}
-buildUnnamed1011() {
+buildUnnamed1002() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed1011(core.List<api.ThreatEntry> o) {
+checkUnnamed1002(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed1012() {
+buildUnnamed1003() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1012(core.List<core.String> o) {
+checkUnnamed1003(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'));
}
-buildUnnamed1013() {
+buildUnnamed1004() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1013(core.List<core.String> o) {
+checkUnnamed1004(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'));
@@ -680,10 +680,10 @@ buildThreatInfo() {
var o = new api.ThreatInfo();
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- o.platformTypes = buildUnnamed1010();
- o.threatEntries = buildUnnamed1011();
- o.threatEntryTypes = buildUnnamed1012();
- o.threatTypes = buildUnnamed1013();
+ o.platformTypes = buildUnnamed1001();
+ o.threatEntries = buildUnnamed1002();
+ o.threatEntryTypes = buildUnnamed1003();
+ o.threatTypes = buildUnnamed1004();
}
buildCounterThreatInfo--;
return o;
@@ -692,10 +692,10 @@ buildThreatInfo() {
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed1010(o.platformTypes);
- checkUnnamed1011(o.threatEntries);
- checkUnnamed1012(o.threatEntryTypes);
- checkUnnamed1013(o.threatTypes);
+ checkUnnamed1001(o.platformTypes);
+ checkUnnamed1002(o.threatEntries);
+ checkUnnamed1003(o.threatEntryTypes);
+ checkUnnamed1004(o.threatTypes);
}
buildCounterThreatInfo--;
}
« no previous file with comments | « generated/googleapis/test/runtimeconfig/v1_test.dart ('k') | generated/googleapis/test/script/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698