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

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

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 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/reseller/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 54e0d9ca3a1057cd19ada8e47ca1620cc0875418..f92e8fc6b501fe1d1feead8dad3db7bcb4693f59 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--;
}
-buildUnnamed2725() {
+buildUnnamed1124() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2725(core.List<core.String> o) {
+checkUnnamed1124(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 = buildUnnamed2725();
+ o.supportedCompressions = buildUnnamed1124();
}
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'));
- checkUnnamed2725(o.supportedCompressions);
+ checkUnnamed1124(o.supportedCompressions);
}
buildCounterConstraints--;
}
-buildUnnamed2726() {
+buildUnnamed1125() {
var o = new core.List<api.ListUpdateRequest>();
o.add(buildListUpdateRequest());
o.add(buildListUpdateRequest());
return o;
}
-checkUnnamed2726(core.List<api.ListUpdateRequest> o) {
+checkUnnamed1125(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 = buildUnnamed2726();
+ o.listUpdateRequests = buildUnnamed1125();
}
buildCounterFetchThreatListUpdatesRequest--;
return o;
@@ -158,19 +158,19 @@ checkFetchThreatListUpdatesRequest(api.FetchThreatListUpdatesRequest o) {
buildCounterFetchThreatListUpdatesRequest++;
if (buildCounterFetchThreatListUpdatesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed2726(o.listUpdateRequests);
+ checkUnnamed1125(o.listUpdateRequests);
}
buildCounterFetchThreatListUpdatesRequest--;
}
-buildUnnamed2727() {
+buildUnnamed1126() {
var o = new core.List<api.ListUpdateResponse>();
o.add(buildListUpdateResponse());
o.add(buildListUpdateResponse());
return o;
}
-checkUnnamed2727(core.List<api.ListUpdateResponse> o) {
+checkUnnamed1126(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 = buildUnnamed2727();
+ o.listUpdateResponses = buildUnnamed1126();
o.minimumWaitDuration = "foo";
}
buildCounterFetchThreatListUpdatesResponse--;
@@ -191,20 +191,20 @@ buildFetchThreatListUpdatesResponse() {
checkFetchThreatListUpdatesResponse(api.FetchThreatListUpdatesResponse o) {
buildCounterFetchThreatListUpdatesResponse++;
if (buildCounterFetchThreatListUpdatesResponse < 3) {
- checkUnnamed2727(o.listUpdateResponses);
+ checkUnnamed1126(o.listUpdateResponses);
unittest.expect(o.minimumWaitDuration, unittest.equals('foo'));
}
buildCounterFetchThreatListUpdatesResponse--;
}
-buildUnnamed2728() {
+buildUnnamed1127() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2728(core.List<core.String> o) {
+checkUnnamed1127(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 = buildUnnamed2728();
+ o.clientStates = buildUnnamed1127();
o.threatInfo = buildThreatInfo();
}
buildCounterFindFullHashesRequest--;
@@ -227,20 +227,20 @@ checkFindFullHashesRequest(api.FindFullHashesRequest o) {
buildCounterFindFullHashesRequest++;
if (buildCounterFindFullHashesRequest < 3) {
checkClientInfo(o.client);
- checkUnnamed2728(o.clientStates);
+ checkUnnamed1127(o.clientStates);
checkThreatInfo(o.threatInfo);
}
buildCounterFindFullHashesRequest--;
}
-buildUnnamed2729() {
+buildUnnamed1128() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed2729(core.List<api.ThreatMatch> o) {
+checkUnnamed1128(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 = buildUnnamed2729();
+ o.matches = buildUnnamed1128();
o.minimumWaitDuration = "foo";
o.negativeCacheDuration = "foo";
}
@@ -262,7 +262,7 @@ buildFindFullHashesResponse() {
checkFindFullHashesResponse(api.FindFullHashesResponse o) {
buildCounterFindFullHashesResponse++;
if (buildCounterFindFullHashesResponse < 3) {
- checkUnnamed2729(o.matches);
+ checkUnnamed1128(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--;
}
-buildUnnamed2730() {
+buildUnnamed1129() {
var o = new core.List<api.ThreatMatch>();
o.add(buildThreatMatch());
o.add(buildThreatMatch());
return o;
}
-checkUnnamed2730(core.List<api.ThreatMatch> o) {
+checkUnnamed1129(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 = buildUnnamed2730();
+ o.matches = buildUnnamed1129();
}
buildCounterFindThreatMatchesResponse--;
return o;
@@ -317,19 +317,19 @@ buildFindThreatMatchesResponse() {
checkFindThreatMatchesResponse(api.FindThreatMatchesResponse o) {
buildCounterFindThreatMatchesResponse++;
if (buildCounterFindThreatMatchesResponse < 3) {
- checkUnnamed2730(o.matches);
+ checkUnnamed1129(o.matches);
}
buildCounterFindThreatMatchesResponse--;
}
-buildUnnamed2731() {
+buildUnnamed1130() {
var o = new core.List<api.ThreatListDescriptor>();
o.add(buildThreatListDescriptor());
o.add(buildThreatListDescriptor());
return o;
}
-checkUnnamed2731(core.List<api.ThreatListDescriptor> o) {
+checkUnnamed1130(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 = buildUnnamed2731();
+ o.threatLists = buildUnnamed1130();
}
buildCounterListThreatListsResponse--;
return o;
@@ -349,7 +349,7 @@ buildListThreatListsResponse() {
checkListThreatListsResponse(api.ListThreatListsResponse o) {
buildCounterListThreatListsResponse++;
if (buildCounterListThreatListsResponse < 3) {
- checkUnnamed2731(o.threatLists);
+ checkUnnamed1130(o.threatLists);
}
buildCounterListThreatListsResponse--;
}
@@ -381,27 +381,27 @@ checkListUpdateRequest(api.ListUpdateRequest o) {
buildCounterListUpdateRequest--;
}
-buildUnnamed2732() {
+buildUnnamed1131() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed2732(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1131(core.List<api.ThreatEntrySet> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntrySet(o[0]);
checkThreatEntrySet(o[1]);
}
-buildUnnamed2733() {
+buildUnnamed1132() {
var o = new core.List<api.ThreatEntrySet>();
o.add(buildThreatEntrySet());
o.add(buildThreatEntrySet());
return o;
}
-checkUnnamed2733(core.List<api.ThreatEntrySet> o) {
+checkUnnamed1132(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 = buildUnnamed2732();
+ o.additions = buildUnnamed1131();
o.checksum = buildChecksum();
o.newClientState = "foo";
o.platformType = "foo";
- o.removals = buildUnnamed2733();
+ o.removals = buildUnnamed1132();
o.responseType = "foo";
o.threatEntryType = "foo";
o.threatType = "foo";
@@ -428,11 +428,11 @@ buildListUpdateResponse() {
checkListUpdateResponse(api.ListUpdateResponse o) {
buildCounterListUpdateResponse++;
if (buildCounterListUpdateResponse < 3) {
- checkUnnamed2732(o.additions);
+ checkUnnamed1131(o.additions);
checkChecksum(o.checksum);
unittest.expect(o.newClientState, unittest.equals('foo'));
unittest.expect(o.platformType, unittest.equals('foo'));
- checkUnnamed2733(o.removals);
+ checkUnnamed1132(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--;
}
-buildUnnamed2734() {
+buildUnnamed1133() {
var o = new core.List<core.int>();
o.add(42);
o.add(42);
return o;
}
-checkUnnamed2734(core.List<core.int> o) {
+checkUnnamed1133(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 = buildUnnamed2734();
+ o.indices = buildUnnamed1133();
}
buildCounterRawIndices--;
return o;
@@ -509,7 +509,7 @@ buildRawIndices() {
checkRawIndices(api.RawIndices o) {
buildCounterRawIndices++;
if (buildCounterRawIndices < 3) {
- checkUnnamed2734(o.indices);
+ checkUnnamed1133(o.indices);
}
buildCounterRawIndices--;
}
@@ -562,14 +562,14 @@ checkThreatEntry(api.ThreatEntry o) {
buildCounterThreatEntry--;
}
-buildUnnamed2735() {
+buildUnnamed1134() {
var o = new core.List<api.MetadataEntry>();
o.add(buildMetadataEntry());
o.add(buildMetadataEntry());
return o;
}
-checkUnnamed2735(core.List<api.MetadataEntry> o) {
+checkUnnamed1134(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 = buildUnnamed2735();
+ o.entries = buildUnnamed1134();
}
buildCounterThreatEntryMetadata--;
return o;
@@ -589,7 +589,7 @@ buildThreatEntryMetadata() {
checkThreatEntryMetadata(api.ThreatEntryMetadata o) {
buildCounterThreatEntryMetadata++;
if (buildCounterThreatEntryMetadata < 3) {
- checkUnnamed2735(o.entries);
+ checkUnnamed1134(o.entries);
}
buildCounterThreatEntryMetadata--;
}
@@ -621,53 +621,53 @@ checkThreatEntrySet(api.ThreatEntrySet o) {
buildCounterThreatEntrySet--;
}
-buildUnnamed2736() {
+buildUnnamed1135() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2736(core.List<core.String> o) {
+checkUnnamed1135(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'));
}
-buildUnnamed2737() {
+buildUnnamed1136() {
var o = new core.List<api.ThreatEntry>();
o.add(buildThreatEntry());
o.add(buildThreatEntry());
return o;
}
-checkUnnamed2737(core.List<api.ThreatEntry> o) {
+checkUnnamed1136(core.List<api.ThreatEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkThreatEntry(o[0]);
checkThreatEntry(o[1]);
}
-buildUnnamed2738() {
+buildUnnamed1137() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2738(core.List<core.String> o) {
+checkUnnamed1137(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'));
}
-buildUnnamed2739() {
+buildUnnamed1138() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed2739(core.List<core.String> o) {
+checkUnnamed1138(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 = buildUnnamed2736();
- o.threatEntries = buildUnnamed2737();
- o.threatEntryTypes = buildUnnamed2738();
- o.threatTypes = buildUnnamed2739();
+ o.platformTypes = buildUnnamed1135();
+ o.threatEntries = buildUnnamed1136();
+ o.threatEntryTypes = buildUnnamed1137();
+ o.threatTypes = buildUnnamed1138();
}
buildCounterThreatInfo--;
return o;
@@ -690,10 +690,10 @@ buildThreatInfo() {
checkThreatInfo(api.ThreatInfo o) {
buildCounterThreatInfo++;
if (buildCounterThreatInfo < 3) {
- checkUnnamed2736(o.platformTypes);
- checkUnnamed2737(o.threatEntries);
- checkUnnamed2738(o.threatEntryTypes);
- checkUnnamed2739(o.threatTypes);
+ checkUnnamed1135(o.platformTypes);
+ checkUnnamed1136(o.threatEntries);
+ checkUnnamed1137(o.threatEntryTypes);
+ checkUnnamed1138(o.threatTypes);
}
buildCounterThreatInfo--;
}
« no previous file with comments | « generated/googleapis/test/reseller/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