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

Side by Side Diff: generated/googleapis/test/cloudbuild/v1_test.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 library googleapis.cloudbuild.v1.test; 1 library googleapis.cloudbuild.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 unittest.expect(o[1], unittest.equals('foo')); 220 unittest.expect(o[1], unittest.equals('foo'));
221 } 221 }
222 222
223 core.int buildCounterBuildStep = 0; 223 core.int buildCounterBuildStep = 0;
224 buildBuildStep() { 224 buildBuildStep() {
225 var o = new api.BuildStep(); 225 var o = new api.BuildStep();
226 buildCounterBuildStep++; 226 buildCounterBuildStep++;
227 if (buildCounterBuildStep < 3) { 227 if (buildCounterBuildStep < 3) {
228 o.args = buildUnnamed1178(); 228 o.args = buildUnnamed1178();
229 o.dir = "foo"; 229 o.dir = "foo";
230 o.entrypoint = "foo";
230 o.env = buildUnnamed1179(); 231 o.env = buildUnnamed1179();
231 o.id = "foo"; 232 o.id = "foo";
232 o.name = "foo"; 233 o.name = "foo";
233 o.waitFor = buildUnnamed1180(); 234 o.waitFor = buildUnnamed1180();
234 } 235 }
235 buildCounterBuildStep--; 236 buildCounterBuildStep--;
236 return o; 237 return o;
237 } 238 }
238 239
239 checkBuildStep(api.BuildStep o) { 240 checkBuildStep(api.BuildStep o) {
240 buildCounterBuildStep++; 241 buildCounterBuildStep++;
241 if (buildCounterBuildStep < 3) { 242 if (buildCounterBuildStep < 3) {
242 checkUnnamed1178(o.args); 243 checkUnnamed1178(o.args);
243 unittest.expect(o.dir, unittest.equals('foo')); 244 unittest.expect(o.dir, unittest.equals('foo'));
245 unittest.expect(o.entrypoint, unittest.equals('foo'));
244 checkUnnamed1179(o.env); 246 checkUnnamed1179(o.env);
245 unittest.expect(o.id, unittest.equals('foo')); 247 unittest.expect(o.id, unittest.equals('foo'));
246 unittest.expect(o.name, unittest.equals('foo')); 248 unittest.expect(o.name, unittest.equals('foo'));
247 checkUnnamed1180(o.waitFor); 249 checkUnnamed1180(o.waitFor);
248 } 250 }
249 buildCounterBuildStep--; 251 buildCounterBuildStep--;
250 } 252 }
251 253
252 core.int buildCounterBuildTrigger = 0; 254 core.int buildCounterBuildTrigger = 0;
253 buildBuildTrigger() { 255 buildBuildTrigger() {
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 res.patch(arg_request, arg_projectId, arg_triggerId).then(unittest.expectA sync(((api.BuildTrigger response) { 1611 res.patch(arg_request, arg_projectId, arg_triggerId).then(unittest.expectA sync(((api.BuildTrigger response) {
1610 checkBuildTrigger(response); 1612 checkBuildTrigger(response);
1611 }))); 1613 })));
1612 }); 1614 });
1613 1615
1614 }); 1616 });
1615 1617
1616 1618
1617 } 1619 }
1618 1620
OLDNEW
« no previous file with comments | « generated/googleapis/test/classroom/v1_test.dart ('k') | generated/googleapis/test/clouddebugger/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698