Index: generated/googleapis/test/customsearch/v1_test.dart |
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart |
index 82e0765832ed22a0647846c8f16e2d6e749e404e..abad8541d22560e47e355da8330e5228ec1b90e7 100644 |
--- a/generated/googleapis/test/customsearch/v1_test.dart |
+++ b/generated/googleapis/test/customsearch/v1_test.dart |
@@ -1,12 +1,10 @@ |
library googleapis.customsearch.v1.test; |
import "dart:core" as core; |
-import "dart:collection" as collection; |
import "dart:async" as async; |
import "dart:convert" as convert; |
import 'package:http/http.dart' as http; |
-import 'package:http/testing.dart' as http_testing; |
import 'package:test/test.dart' as unittest; |
import 'package:googleapis/customsearch/v1.dart' as api; |
@@ -22,7 +20,8 @@ class HttpServerMock extends http.BaseClient { |
async.Future<http.StreamedResponse> send(http.BaseRequest request) { |
if (_expectJson) { |
- return request.finalize() |
+ return request |
+ .finalize() |
.transform(convert.UTF8.decoder) |
.join('') |
.then((core.String jsonString) { |
@@ -45,8 +44,8 @@ class HttpServerMock extends http.BaseClient { |
} |
} |
-http.StreamedResponse stringResponse( |
- core.int status, core.Map<core.String, core.String> headers, core.String body) { |
+http.StreamedResponse stringResponse(core.int status, |
+ core.Map<core.String, core.String> headers, core.String body) { |
var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
return new http.StreamedResponse(stream, status, headers: headers); |
} |
@@ -74,30 +73,30 @@ checkContextFacets(api.ContextFacets o) { |
buildCounterContextFacets--; |
} |
-buildUnnamed299() { |
+buildUnnamed298() { |
var o = new core.List<api.ContextFacets>(); |
o.add(buildContextFacets()); |
o.add(buildContextFacets()); |
return o; |
} |
-checkUnnamed299(core.List<api.ContextFacets> o) { |
+checkUnnamed298(core.List<api.ContextFacets> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkContextFacets(o[0]); |
checkContextFacets(o[1]); |
} |
-buildUnnamed300() { |
+buildUnnamed299() { |
var o = new core.List<core.List<api.ContextFacets>>(); |
- o.add(buildUnnamed299()); |
- o.add(buildUnnamed299()); |
+ o.add(buildUnnamed298()); |
+ o.add(buildUnnamed298()); |
return o; |
} |
-checkUnnamed300(core.List<core.List<api.ContextFacets>> o) { |
+checkUnnamed299(core.List<core.List<api.ContextFacets>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed299(o[0]); |
- checkUnnamed299(o[1]); |
+ checkUnnamed298(o[0]); |
+ checkUnnamed298(o[1]); |
} |
core.int buildCounterContext = 0; |
@@ -105,7 +104,7 @@ buildContext() { |
var o = new api.Context(); |
buildCounterContext++; |
if (buildCounterContext < 3) { |
- o.facets = buildUnnamed300(); |
+ o.facets = buildUnnamed299(); |
o.title = "foo"; |
} |
buildCounterContext--; |
@@ -115,7 +114,7 @@ buildContext() { |
checkContext(api.Context o) { |
buildCounterContext++; |
if (buildCounterContext < 3) { |
- checkUnnamed300(o.facets); |
+ checkUnnamed299(o.facets); |
unittest.expect(o.title, unittest.equals('foo')); |
} |
buildCounterContext--; |
@@ -146,14 +145,14 @@ checkPromotionBodyLines(api.PromotionBodyLines o) { |
buildCounterPromotionBodyLines--; |
} |
-buildUnnamed301() { |
+buildUnnamed300() { |
var o = new core.List<api.PromotionBodyLines>(); |
o.add(buildPromotionBodyLines()); |
o.add(buildPromotionBodyLines()); |
return o; |
} |
-checkUnnamed301(core.List<api.PromotionBodyLines> o) { |
+checkUnnamed300(core.List<api.PromotionBodyLines> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPromotionBodyLines(o[0]); |
checkPromotionBodyLines(o[1]); |
@@ -187,7 +186,7 @@ buildPromotion() { |
var o = new api.Promotion(); |
buildCounterPromotion++; |
if (buildCounterPromotion < 3) { |
- o.bodyLines = buildUnnamed301(); |
+ o.bodyLines = buildUnnamed300(); |
o.displayLink = "foo"; |
o.htmlTitle = "foo"; |
o.image = buildPromotionImage(); |
@@ -201,7 +200,7 @@ buildPromotion() { |
checkPromotion(api.Promotion o) { |
buildCounterPromotion++; |
if (buildCounterPromotion < 3) { |
- checkUnnamed301(o.bodyLines); |
+ checkUnnamed300(o.bodyLines); |
unittest.expect(o.displayLink, unittest.equals('foo')); |
unittest.expect(o.htmlTitle, unittest.equals('foo')); |
checkPromotionImage(o.image); |
@@ -354,56 +353,74 @@ checkResultLabels(api.ResultLabels o) { |
buildCounterResultLabels--; |
} |
-buildUnnamed302() { |
+buildUnnamed301() { |
var o = new core.List<api.ResultLabels>(); |
o.add(buildResultLabels()); |
o.add(buildResultLabels()); |
return o; |
} |
-checkUnnamed302(core.List<api.ResultLabels> o) { |
+checkUnnamed301(core.List<api.ResultLabels> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkResultLabels(o[0]); |
checkResultLabels(o[1]); |
} |
-buildUnnamed303() { |
+buildUnnamed302() { |
var o = new core.Map<core.String, core.Object>(); |
- o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
- o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
+ o["x"] = { |
+ 'list': [1, 2, 3], |
+ 'bool': true, |
+ 'string': 'foo' |
+ }; |
+ o["y"] = { |
+ 'list': [1, 2, 3], |
+ 'bool': true, |
+ 'string': 'foo' |
+ }; |
return o; |
} |
-checkUnnamed303(core.Map<core.String, core.Object> o) { |
+checkUnnamed302(core.Map<core.String, core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); |
- var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); |
+ var casted1 = (o["x"]) as core.Map; |
+ unittest.expect(casted1, unittest.hasLength(3)); |
+ unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); |
+ unittest.expect(casted1["bool"], unittest.equals(true)); |
+ unittest.expect(casted1["string"], unittest.equals('foo')); |
+ var casted2 = (o["y"]) as core.Map; |
+ unittest.expect(casted2, unittest.hasLength(3)); |
+ unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); |
+ unittest.expect(casted2["bool"], unittest.equals(true)); |
+ unittest.expect(casted2["string"], unittest.equals('foo')); |
} |
-buildUnnamed304() { |
+buildUnnamed303() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed303()); |
- o.add(buildUnnamed303()); |
+ o.add(buildUnnamed302()); |
+ o.add(buildUnnamed302()); |
return o; |
} |
-checkUnnamed304(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed303(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed303(o[0]); |
- checkUnnamed303(o[1]); |
+ checkUnnamed302(o[0]); |
+ checkUnnamed302(o[1]); |
} |
-buildUnnamed305() { |
- var o = new core.Map<core.String, core.List<core.Map<core.String, core.Object>>>(); |
- o["x"] = buildUnnamed304(); |
- o["y"] = buildUnnamed304(); |
+buildUnnamed304() { |
+ var o = new core |
+ .Map<core.String, core.List<core.Map<core.String, core.Object>>>(); |
+ o["x"] = buildUnnamed303(); |
+ o["y"] = buildUnnamed303(); |
return o; |
} |
-checkUnnamed305(core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) { |
+checkUnnamed304( |
+ core.Map<core.String, core.List<core.Map<core.String, core.Object>>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed304(o["x"]); |
- checkUnnamed304(o["y"]); |
+ checkUnnamed303(o["x"]); |
+ checkUnnamed303(o["y"]); |
} |
core.int buildCounterResult = 0; |
@@ -420,10 +437,10 @@ buildResult() { |
o.htmlTitle = "foo"; |
o.image = buildResultImage(); |
o.kind = "foo"; |
- o.labels = buildUnnamed302(); |
+ o.labels = buildUnnamed301(); |
o.link = "foo"; |
o.mime = "foo"; |
- o.pagemap = buildUnnamed305(); |
+ o.pagemap = buildUnnamed304(); |
o.snippet = "foo"; |
o.title = "foo"; |
} |
@@ -443,66 +460,66 @@ checkResult(api.Result o) { |
unittest.expect(o.htmlTitle, unittest.equals('foo')); |
checkResultImage(o.image); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed302(o.labels); |
+ checkUnnamed301(o.labels); |
unittest.expect(o.link, unittest.equals('foo')); |
unittest.expect(o.mime, unittest.equals('foo')); |
- checkUnnamed305(o.pagemap); |
+ checkUnnamed304(o.pagemap); |
unittest.expect(o.snippet, unittest.equals('foo')); |
unittest.expect(o.title, unittest.equals('foo')); |
} |
buildCounterResult--; |
} |
-buildUnnamed306() { |
+buildUnnamed305() { |
var o = new core.List<api.Result>(); |
o.add(buildResult()); |
o.add(buildResult()); |
return o; |
} |
-checkUnnamed306(core.List<api.Result> o) { |
+checkUnnamed305(core.List<api.Result> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkResult(o[0]); |
checkResult(o[1]); |
} |
-buildUnnamed307() { |
+buildUnnamed306() { |
var o = new core.List<api.Promotion>(); |
o.add(buildPromotion()); |
o.add(buildPromotion()); |
return o; |
} |
-checkUnnamed307(core.List<api.Promotion> o) { |
+checkUnnamed306(core.List<api.Promotion> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPromotion(o[0]); |
checkPromotion(o[1]); |
} |
-buildUnnamed308() { |
+buildUnnamed307() { |
var o = new core.List<api.Query>(); |
o.add(buildQuery()); |
o.add(buildQuery()); |
return o; |
} |
-checkUnnamed308(core.List<api.Query> o) { |
+checkUnnamed307(core.List<api.Query> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkQuery(o[0]); |
checkQuery(o[1]); |
} |
-buildUnnamed309() { |
+buildUnnamed308() { |
var o = new core.Map<core.String, core.List<api.Query>>(); |
- o["x"] = buildUnnamed308(); |
- o["y"] = buildUnnamed308(); |
+ o["x"] = buildUnnamed307(); |
+ o["y"] = buildUnnamed307(); |
return o; |
} |
-checkUnnamed309(core.Map<core.String, core.List<api.Query>> o) { |
+checkUnnamed308(core.Map<core.String, core.List<api.Query>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed308(o["x"]); |
- checkUnnamed308(o["y"]); |
+ checkUnnamed307(o["x"]); |
+ checkUnnamed307(o["y"]); |
} |
core.int buildCounterSearchSearchInformation = 0; |
@@ -578,10 +595,10 @@ buildSearch() { |
buildCounterSearch++; |
if (buildCounterSearch < 3) { |
o.context = buildContext(); |
- o.items = buildUnnamed306(); |
+ o.items = buildUnnamed305(); |
o.kind = "foo"; |
- o.promotions = buildUnnamed307(); |
- o.queries = buildUnnamed309(); |
+ o.promotions = buildUnnamed306(); |
+ o.queries = buildUnnamed308(); |
o.searchInformation = buildSearchSearchInformation(); |
o.spelling = buildSearchSpelling(); |
o.url = buildSearchUrl(); |
@@ -594,10 +611,10 @@ checkSearch(api.Search o) { |
buildCounterSearch++; |
if (buildCounterSearch < 3) { |
checkContext(o.context); |
- checkUnnamed306(o.items); |
+ checkUnnamed305(o.items); |
unittest.expect(o.kind, unittest.equals('foo')); |
- checkUnnamed307(o.promotions); |
- checkUnnamed309(o.queries); |
+ checkUnnamed306(o.promotions); |
+ checkUnnamed308(o.queries); |
checkSearchSearchInformation(o.searchInformation); |
checkSearchSpelling(o.spelling); |
checkSearchUrl(o.url); |
@@ -605,7 +622,6 @@ checkSearch(api.Search o) { |
buildCounterSearch--; |
} |
- |
main() { |
unittest.group("obj-schema-ContextFacets", () { |
unittest.test("to-json--from-json", () { |
@@ -615,7 +631,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-Context", () { |
unittest.test("to-json--from-json", () { |
var o = buildContext(); |
@@ -624,7 +639,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-PromotionBodyLines", () { |
unittest.test("to-json--from-json", () { |
var o = buildPromotionBodyLines(); |
@@ -633,7 +647,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-PromotionImage", () { |
unittest.test("to-json--from-json", () { |
var o = buildPromotionImage(); |
@@ -642,7 +655,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-Promotion", () { |
unittest.test("to-json--from-json", () { |
var o = buildPromotion(); |
@@ -651,7 +663,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-Query", () { |
unittest.test("to-json--from-json", () { |
var o = buildQuery(); |
@@ -660,7 +671,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-ResultImage", () { |
unittest.test("to-json--from-json", () { |
var o = buildResultImage(); |
@@ -669,7 +679,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-ResultLabels", () { |
unittest.test("to-json--from-json", () { |
var o = buildResultLabels(); |
@@ -678,7 +687,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-Result", () { |
unittest.test("to-json--from-json", () { |
var o = buildResult(); |
@@ -687,7 +695,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-SearchSearchInformation", () { |
unittest.test("to-json--from-json", () { |
var o = buildSearchSearchInformation(); |
@@ -696,7 +703,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-SearchSpelling", () { |
unittest.test("to-json--from-json", () { |
var o = buildSearchSpelling(); |
@@ -705,7 +711,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-SearchUrl", () { |
unittest.test("to-json--from-json", () { |
var o = buildSearchUrl(); |
@@ -714,7 +719,6 @@ main() { |
}); |
}); |
- |
unittest.group("obj-schema-Search", () { |
unittest.test("to-json--from-json", () { |
var o = buildSearch(); |
@@ -723,10 +727,8 @@ main() { |
}); |
}); |
- |
unittest.group("resource-CseResourceApi", () { |
unittest.test("method--list", () { |
- |
var mock = new HttpServerMock(); |
api.CseResourceApi res = new api.CustomsearchApi(mock).cse; |
var arg_q = "foo"; |
@@ -765,11 +767,14 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ unittest.expect( |
+ path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
pathOffset += 1; |
- unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("customsearch/")); |
+ unittest.expect(path.substring(pathOffset, pathOffset + 13), |
+ unittest.equals("customsearch/")); |
pathOffset += 13; |
- unittest.expect(path.substring(pathOffset, pathOffset + 2), unittest.equals("v1")); |
+ unittest.expect( |
+ path.substring(pathOffset, pathOffset + 2), unittest.equals("v1")); |
pathOffset += 2; |
var query = (req.url).query; |
@@ -782,58 +787,106 @@ main() { |
if (n == null) return null; |
throw new core.ArgumentError("Invalid boolean: $n"); |
} |
+ |
if (query.length > 0) { |
for (var part in query.split("&")) { |
var keyvalue = part.split("="); |
- addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
+ addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), |
+ core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
unittest.expect(queryMap["q"].first, unittest.equals(arg_q)); |
unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff)); |
unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr)); |
unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx)); |
- unittest.expect(queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict)); |
- unittest.expect(queryMap["exactTerms"].first, unittest.equals(arg_exactTerms)); |
- unittest.expect(queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms)); |
- unittest.expect(queryMap["fileType"].first, unittest.equals(arg_fileType)); |
+ unittest.expect( |
+ queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict)); |
+ unittest.expect( |
+ queryMap["exactTerms"].first, unittest.equals(arg_exactTerms)); |
+ unittest.expect( |
+ queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms)); |
+ unittest.expect( |
+ queryMap["fileType"].first, unittest.equals(arg_fileType)); |
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl)); |
- unittest.expect(queryMap["googlehost"].first, unittest.equals(arg_googlehost)); |
- unittest.expect(queryMap["highRange"].first, unittest.equals(arg_highRange)); |
+ unittest.expect( |
+ queryMap["googlehost"].first, unittest.equals(arg_googlehost)); |
+ unittest.expect( |
+ queryMap["highRange"].first, unittest.equals(arg_highRange)); |
unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl)); |
unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq)); |
- unittest.expect(queryMap["imgColorType"].first, unittest.equals(arg_imgColorType)); |
- unittest.expect(queryMap["imgDominantColor"].first, unittest.equals(arg_imgDominantColor)); |
- unittest.expect(queryMap["imgSize"].first, unittest.equals(arg_imgSize)); |
- unittest.expect(queryMap["imgType"].first, unittest.equals(arg_imgType)); |
- unittest.expect(queryMap["linkSite"].first, unittest.equals(arg_linkSite)); |
- unittest.expect(queryMap["lowRange"].first, unittest.equals(arg_lowRange)); |
+ unittest.expect( |
+ queryMap["imgColorType"].first, unittest.equals(arg_imgColorType)); |
+ unittest.expect(queryMap["imgDominantColor"].first, |
+ unittest.equals(arg_imgDominantColor)); |
+ unittest.expect( |
+ queryMap["imgSize"].first, unittest.equals(arg_imgSize)); |
+ unittest.expect( |
+ queryMap["imgType"].first, unittest.equals(arg_imgType)); |
+ unittest.expect( |
+ queryMap["linkSite"].first, unittest.equals(arg_linkSite)); |
+ unittest.expect( |
+ queryMap["lowRange"].first, unittest.equals(arg_lowRange)); |
unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr)); |
- unittest.expect(core.int.parse(queryMap["num"].first), unittest.equals(arg_num)); |
- unittest.expect(queryMap["orTerms"].first, unittest.equals(arg_orTerms)); |
- unittest.expect(queryMap["relatedSite"].first, unittest.equals(arg_relatedSite)); |
+ unittest.expect( |
+ core.int.parse(queryMap["num"].first), unittest.equals(arg_num)); |
+ unittest.expect( |
+ queryMap["orTerms"].first, unittest.equals(arg_orTerms)); |
+ unittest.expect( |
+ queryMap["relatedSite"].first, unittest.equals(arg_relatedSite)); |
unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights)); |
unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe)); |
- unittest.expect(queryMap["searchType"].first, unittest.equals(arg_searchType)); |
- unittest.expect(queryMap["siteSearch"].first, unittest.equals(arg_siteSearch)); |
- unittest.expect(queryMap["siteSearchFilter"].first, unittest.equals(arg_siteSearchFilter)); |
+ unittest.expect( |
+ queryMap["searchType"].first, unittest.equals(arg_searchType)); |
+ unittest.expect( |
+ queryMap["siteSearch"].first, unittest.equals(arg_siteSearch)); |
+ unittest.expect(queryMap["siteSearchFilter"].first, |
+ unittest.equals(arg_siteSearchFilter)); |
unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort)); |
- unittest.expect(core.int.parse(queryMap["start"].first), unittest.equals(arg_start)); |
- |
+ unittest.expect(core.int.parse(queryMap["start"].first), |
+ unittest.equals(arg_start)); |
var h = { |
- "content-type" : "application/json; charset=utf-8", |
+ "content-type": "application/json; charset=utf-8", |
}; |
var resp = convert.JSON.encode(buildSearch()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_q, c2coff: arg_c2coff, cr: arg_cr, cx: arg_cx, dateRestrict: arg_dateRestrict, exactTerms: arg_exactTerms, excludeTerms: arg_excludeTerms, fileType: arg_fileType, filter: arg_filter, gl: arg_gl, googlehost: arg_googlehost, highRange: arg_highRange, hl: arg_hl, hq: arg_hq, imgColorType: arg_imgColorType, imgDominantColor: arg_imgDominantColor, imgSize: arg_imgSize, imgType: arg_imgType, linkSite: arg_linkSite, lowRange: arg_lowRange, lr: arg_lr, num: arg_num, orTerms: arg_orTerms, relatedSite: arg_relatedSite, rights: arg_rights, safe: arg_safe, searchType: arg_searchType, siteSearch: arg_siteSearch, siteSearchFilter: arg_siteSearchFilter, sort: arg_sort, start: arg_start).then(unittest.expectAsync1(((api.Search response) { |
+ res |
+ .list(arg_q, |
+ c2coff: arg_c2coff, |
+ cr: arg_cr, |
+ cx: arg_cx, |
+ dateRestrict: arg_dateRestrict, |
+ exactTerms: arg_exactTerms, |
+ excludeTerms: arg_excludeTerms, |
+ fileType: arg_fileType, |
+ filter: arg_filter, |
+ gl: arg_gl, |
+ googlehost: arg_googlehost, |
+ highRange: arg_highRange, |
+ hl: arg_hl, |
+ hq: arg_hq, |
+ imgColorType: arg_imgColorType, |
+ imgDominantColor: arg_imgDominantColor, |
+ imgSize: arg_imgSize, |
+ imgType: arg_imgType, |
+ linkSite: arg_linkSite, |
+ lowRange: arg_lowRange, |
+ lr: arg_lr, |
+ num: arg_num, |
+ orTerms: arg_orTerms, |
+ relatedSite: arg_relatedSite, |
+ rights: arg_rights, |
+ safe: arg_safe, |
+ searchType: arg_searchType, |
+ siteSearch: arg_siteSearch, |
+ siteSearchFilter: arg_siteSearchFilter, |
+ sort: arg_sort, |
+ start: arg_start) |
+ .then(unittest.expectAsync1(((api.Search response) { |
checkSearch(response); |
}))); |
}); |
- |
}); |
- |
- |
} |
- |