| Index: generated/googleapis_beta/test/dataflow/v1b3_test.dart
|
| diff --git a/generated/googleapis_beta/test/dataflow/v1b3_test.dart b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
|
| index 908928890b8b024d8a2967ab693337b63954f727..2551125635782fd45aaa1dba7bfac892197d01fc 100644
|
| --- a/generated/googleapis_beta/test/dataflow/v1b3_test.dart
|
| +++ b/generated/googleapis_beta/test/dataflow/v1b3_test.dart
|
| @@ -141,53 +141,53 @@ checkAutoscalingSettings(api.AutoscalingSettings o) {
|
| buildCounterAutoscalingSettings--;
|
| }
|
|
|
| -buildUnnamed3354() {
|
| +buildUnnamed3062() {
|
| var o = new core.List<api.StreamLocation>();
|
| o.add(buildStreamLocation());
|
| o.add(buildStreamLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3354(core.List<api.StreamLocation> o) {
|
| +checkUnnamed3062(core.List<api.StreamLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStreamLocation(o[0]);
|
| checkStreamLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed3355() {
|
| +buildUnnamed3063() {
|
| var o = new core.List<api.KeyRangeLocation>();
|
| o.add(buildKeyRangeLocation());
|
| o.add(buildKeyRangeLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3355(core.List<api.KeyRangeLocation> o) {
|
| +checkUnnamed3063(core.List<api.KeyRangeLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKeyRangeLocation(o[0]);
|
| checkKeyRangeLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed3356() {
|
| +buildUnnamed3064() {
|
| var o = new core.List<api.StreamLocation>();
|
| o.add(buildStreamLocation());
|
| o.add(buildStreamLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3356(core.List<api.StreamLocation> o) {
|
| +checkUnnamed3064(core.List<api.StreamLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStreamLocation(o[0]);
|
| checkStreamLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed3357() {
|
| +buildUnnamed3065() {
|
| var o = new core.List<api.StateFamilyConfig>();
|
| o.add(buildStateFamilyConfig());
|
| o.add(buildStateFamilyConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3357(core.List<api.StateFamilyConfig> o) {
|
| +checkUnnamed3065(core.List<api.StateFamilyConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStateFamilyConfig(o[0]);
|
| checkStateFamilyConfig(o[1]);
|
| @@ -199,10 +199,10 @@ buildComputationTopology() {
|
| buildCounterComputationTopology++;
|
| if (buildCounterComputationTopology < 3) {
|
| o.computationId = "foo";
|
| - o.inputs = buildUnnamed3354();
|
| - o.keyRanges = buildUnnamed3355();
|
| - o.outputs = buildUnnamed3356();
|
| - o.stateFamilies = buildUnnamed3357();
|
| + o.inputs = buildUnnamed3062();
|
| + o.keyRanges = buildUnnamed3063();
|
| + o.outputs = buildUnnamed3064();
|
| + o.stateFamilies = buildUnnamed3065();
|
| o.systemStageName = "foo";
|
| o.userStageName = "foo";
|
| }
|
| @@ -214,10 +214,10 @@ checkComputationTopology(api.ComputationTopology o) {
|
| buildCounterComputationTopology++;
|
| if (buildCounterComputationTopology < 3) {
|
| unittest.expect(o.computationId, unittest.equals('foo'));
|
| - checkUnnamed3354(o.inputs);
|
| - checkUnnamed3355(o.keyRanges);
|
| - checkUnnamed3356(o.outputs);
|
| - checkUnnamed3357(o.stateFamilies);
|
| + checkUnnamed3062(o.inputs);
|
| + checkUnnamed3063(o.keyRanges);
|
| + checkUnnamed3064(o.outputs);
|
| + checkUnnamed3065(o.stateFamilies);
|
| unittest.expect(o.systemStageName, unittest.equals('foo'));
|
| unittest.expect(o.userStageName, unittest.equals('foo'));
|
| }
|
| @@ -367,14 +367,14 @@ checkCounterUpdate(api.CounterUpdate o) {
|
| buildCounterCounterUpdate--;
|
| }
|
|
|
| -buildUnnamed3358() {
|
| +buildUnnamed3066() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3358(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3066(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -385,8 +385,10 @@ buildCreateJobFromTemplateRequest() {
|
| var o = new api.CreateJobFromTemplateRequest();
|
| buildCounterCreateJobFromTemplateRequest++;
|
| if (buildCounterCreateJobFromTemplateRequest < 3) {
|
| + o.environment = buildRuntimeEnvironment();
|
| o.gcsPath = "foo";
|
| - o.parameters = buildUnnamed3358();
|
| + o.jobName = "foo";
|
| + o.parameters = buildUnnamed3066();
|
| }
|
| buildCounterCreateJobFromTemplateRequest--;
|
| return o;
|
| @@ -395,8 +397,10 @@ buildCreateJobFromTemplateRequest() {
|
| checkCreateJobFromTemplateRequest(api.CreateJobFromTemplateRequest o) {
|
| buildCounterCreateJobFromTemplateRequest++;
|
| if (buildCounterCreateJobFromTemplateRequest < 3) {
|
| + checkRuntimeEnvironment(o.environment);
|
| unittest.expect(o.gcsPath, unittest.equals('foo'));
|
| - checkUnnamed3358(o.parameters);
|
| + unittest.expect(o.jobName, unittest.equals('foo'));
|
| + checkUnnamed3066(o.parameters);
|
| }
|
| buildCounterCreateJobFromTemplateRequest--;
|
| }
|
| @@ -420,14 +424,14 @@ checkCustomSourceLocation(api.CustomSourceLocation o) {
|
| buildCounterCustomSourceLocation--;
|
| }
|
|
|
| -buildUnnamed3359() {
|
| +buildUnnamed3067() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3359(core.List<core.String> o) {
|
| +checkUnnamed3067(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'));
|
| @@ -438,7 +442,7 @@ buildDataDiskAssignment() {
|
| var o = new api.DataDiskAssignment();
|
| buildCounterDataDiskAssignment++;
|
| if (buildCounterDataDiskAssignment < 3) {
|
| - o.dataDisks = buildUnnamed3359();
|
| + o.dataDisks = buildUnnamed3067();
|
| o.vmInstance = "foo";
|
| }
|
| buildCounterDataDiskAssignment--;
|
| @@ -448,7 +452,7 @@ buildDataDiskAssignment() {
|
| checkDataDiskAssignment(api.DataDiskAssignment o) {
|
| buildCounterDataDiskAssignment++;
|
| if (buildCounterDataDiskAssignment < 3) {
|
| - checkUnnamed3359(o.dataDisks);
|
| + checkUnnamed3067(o.dataDisks);
|
| unittest.expect(o.vmInstance, unittest.equals('foo'));
|
| }
|
| buildCounterDataDiskAssignment--;
|
| @@ -519,79 +523,79 @@ checkDynamicSourceSplit(api.DynamicSourceSplit o) {
|
| buildCounterDynamicSourceSplit--;
|
| }
|
|
|
| -buildUnnamed3360() {
|
| +buildUnnamed3068() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3360(core.List<core.String> o) {
|
| +checkUnnamed3068(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'));
|
| }
|
|
|
| -buildUnnamed3361() {
|
| +buildUnnamed3069() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3361(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3069(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted2 = (o["x"]) 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 casted3 = (o["y"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3362() {
|
| +buildUnnamed3070() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3362(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3070(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted4 = (o["x"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| var casted5 = (o["y"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3363() {
|
| +buildUnnamed3071() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3363(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3071(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted6 = (o["x"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
|
| var casted7 = (o["y"]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3364() {
|
| +buildUnnamed3072() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3364(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3072(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted8 = (o["x"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
|
| var casted9 = (o["y"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3365() {
|
| +buildUnnamed3073() {
|
| var o = new core.List<api.WorkerPool>();
|
| o.add(buildWorkerPool());
|
| o.add(buildWorkerPool());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3365(core.List<api.WorkerPool> o) {
|
| +checkUnnamed3073(core.List<api.WorkerPool> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkerPool(o[0]);
|
| checkWorkerPool(o[1]);
|
| @@ -604,14 +608,14 @@ buildEnvironment() {
|
| if (buildCounterEnvironment < 3) {
|
| o.clusterManagerApiService = "foo";
|
| o.dataset = "foo";
|
| - o.experiments = buildUnnamed3360();
|
| - o.internalExperiments = buildUnnamed3361();
|
| - o.sdkPipelineOptions = buildUnnamed3362();
|
| + o.experiments = buildUnnamed3068();
|
| + o.internalExperiments = buildUnnamed3069();
|
| + o.sdkPipelineOptions = buildUnnamed3070();
|
| o.serviceAccountEmail = "foo";
|
| o.tempStoragePrefix = "foo";
|
| - o.userAgent = buildUnnamed3363();
|
| - o.version = buildUnnamed3364();
|
| - o.workerPools = buildUnnamed3365();
|
| + o.userAgent = buildUnnamed3071();
|
| + o.version = buildUnnamed3072();
|
| + o.workerPools = buildUnnamed3073();
|
| }
|
| buildCounterEnvironment--;
|
| return o;
|
| @@ -622,14 +626,14 @@ checkEnvironment(api.Environment o) {
|
| if (buildCounterEnvironment < 3) {
|
| unittest.expect(o.clusterManagerApiService, unittest.equals('foo'));
|
| unittest.expect(o.dataset, unittest.equals('foo'));
|
| - checkUnnamed3360(o.experiments);
|
| - checkUnnamed3361(o.internalExperiments);
|
| - checkUnnamed3362(o.sdkPipelineOptions);
|
| + checkUnnamed3068(o.experiments);
|
| + checkUnnamed3069(o.internalExperiments);
|
| + checkUnnamed3070(o.sdkPipelineOptions);
|
| unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
|
| unittest.expect(o.tempStoragePrefix, unittest.equals('foo'));
|
| - checkUnnamed3363(o.userAgent);
|
| - checkUnnamed3364(o.version);
|
| - checkUnnamed3365(o.workerPools);
|
| + checkUnnamed3071(o.userAgent);
|
| + checkUnnamed3072(o.version);
|
| + checkUnnamed3073(o.workerPools);
|
| }
|
| buildCounterEnvironment--;
|
| }
|
| @@ -653,14 +657,14 @@ checkFailedLocation(api.FailedLocation o) {
|
| buildCounterFailedLocation--;
|
| }
|
|
|
| -buildUnnamed3366() {
|
| +buildUnnamed3074() {
|
| var o = new core.List<api.InstructionInput>();
|
| o.add(buildInstructionInput());
|
| o.add(buildInstructionInput());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3366(core.List<api.InstructionInput> o) {
|
| +checkUnnamed3074(core.List<api.InstructionInput> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstructionInput(o[0]);
|
| checkInstructionInput(o[1]);
|
| @@ -671,7 +675,7 @@ buildFlattenInstruction() {
|
| var o = new api.FlattenInstruction();
|
| buildCounterFlattenInstruction++;
|
| if (buildCounterFlattenInstruction < 3) {
|
| - o.inputs = buildUnnamed3366();
|
| + o.inputs = buildUnnamed3074();
|
| }
|
| buildCounterFlattenInstruction--;
|
| return o;
|
| @@ -680,19 +684,19 @@ buildFlattenInstruction() {
|
| checkFlattenInstruction(api.FlattenInstruction o) {
|
| buildCounterFlattenInstruction++;
|
| if (buildCounterFlattenInstruction < 3) {
|
| - checkUnnamed3366(o.inputs);
|
| + checkUnnamed3074(o.inputs);
|
| }
|
| buildCounterFlattenInstruction--;
|
| }
|
|
|
| -buildUnnamed3367() {
|
| +buildUnnamed3075() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed3367(core.List<core.double> o) {
|
| +checkUnnamed3075(core.List<core.double> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals(42.0));
|
| unittest.expect(o[1], unittest.equals(42.0));
|
| @@ -703,7 +707,7 @@ buildFloatingPointList() {
|
| var o = new api.FloatingPointList();
|
| buildCounterFloatingPointList++;
|
| if (buildCounterFloatingPointList < 3) {
|
| - o.elements = buildUnnamed3367();
|
| + o.elements = buildUnnamed3075();
|
| }
|
| buildCounterFloatingPointList--;
|
| return o;
|
| @@ -712,7 +716,7 @@ buildFloatingPointList() {
|
| checkFloatingPointList(api.FloatingPointList o) {
|
| buildCounterFloatingPointList++;
|
| if (buildCounterFloatingPointList < 3) {
|
| - checkUnnamed3367(o.elements);
|
| + checkUnnamed3075(o.elements);
|
| }
|
| buildCounterFloatingPointList--;
|
| }
|
| @@ -799,14 +803,14 @@ checkInstructionInput(api.InstructionInput o) {
|
| buildCounterInstructionInput--;
|
| }
|
|
|
| -buildUnnamed3368() {
|
| +buildUnnamed3076() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3368(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3076(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted10 = (o["x"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
|
| var casted11 = (o["y"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
|
| @@ -817,7 +821,7 @@ buildInstructionOutput() {
|
| var o = new api.InstructionOutput();
|
| buildCounterInstructionOutput++;
|
| if (buildCounterInstructionOutput < 3) {
|
| - o.codec = buildUnnamed3368();
|
| + o.codec = buildUnnamed3076();
|
| o.name = "foo";
|
| o.onlyCountKeyBytes = true;
|
| o.onlyCountValueBytes = true;
|
| @@ -831,7 +835,7 @@ buildInstructionOutput() {
|
| checkInstructionOutput(api.InstructionOutput o) {
|
| buildCounterInstructionOutput++;
|
| if (buildCounterInstructionOutput < 3) {
|
| - checkUnnamed3368(o.codec);
|
| + checkUnnamed3076(o.codec);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.onlyCountKeyBytes, unittest.isTrue);
|
| unittest.expect(o.onlyCountValueBytes, unittest.isTrue);
|
| @@ -841,14 +845,14 @@ checkInstructionOutput(api.InstructionOutput o) {
|
| buildCounterInstructionOutput--;
|
| }
|
|
|
| -buildUnnamed3369() {
|
| +buildUnnamed3077() {
|
| var o = new core.List<api.SplitInt64>();
|
| o.add(buildSplitInt64());
|
| o.add(buildSplitInt64());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3369(core.List<api.SplitInt64> o) {
|
| +checkUnnamed3077(core.List<api.SplitInt64> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSplitInt64(o[0]);
|
| checkSplitInt64(o[1]);
|
| @@ -859,7 +863,7 @@ buildIntegerList() {
|
| var o = new api.IntegerList();
|
| buildCounterIntegerList++;
|
| if (buildCounterIntegerList < 3) {
|
| - o.elements = buildUnnamed3369();
|
| + o.elements = buildUnnamed3077();
|
| }
|
| buildCounterIntegerList--;
|
| return o;
|
| @@ -868,7 +872,7 @@ buildIntegerList() {
|
| checkIntegerList(api.IntegerList o) {
|
| buildCounterIntegerList++;
|
| if (buildCounterIntegerList < 3) {
|
| - checkUnnamed3369(o.elements);
|
| + checkUnnamed3077(o.elements);
|
| }
|
| buildCounterIntegerList--;
|
| }
|
| @@ -894,53 +898,53 @@ checkIntegerMean(api.IntegerMean o) {
|
| buildCounterIntegerMean--;
|
| }
|
|
|
| -buildUnnamed3370() {
|
| +buildUnnamed3078() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3370(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3078(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3371() {
|
| +buildUnnamed3079() {
|
| var o = new core.List<api.Step>();
|
| o.add(buildStep());
|
| o.add(buildStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3371(core.List<api.Step> o) {
|
| +checkUnnamed3079(core.List<api.Step> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStep(o[0]);
|
| checkStep(o[1]);
|
| }
|
|
|
| -buildUnnamed3372() {
|
| +buildUnnamed3080() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3372(core.List<core.String> o) {
|
| +checkUnnamed3080(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'));
|
| }
|
|
|
| -buildUnnamed3373() {
|
| +buildUnnamed3081() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3373(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3081(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -958,16 +962,16 @@ buildJob() {
|
| o.environment = buildEnvironment();
|
| o.executionInfo = buildJobExecutionInfo();
|
| o.id = "foo";
|
| - o.labels = buildUnnamed3370();
|
| + o.labels = buildUnnamed3078();
|
| o.location = "foo";
|
| o.name = "foo";
|
| o.projectId = "foo";
|
| o.replaceJobId = "foo";
|
| o.replacedByJobId = "foo";
|
| o.requestedState = "foo";
|
| - o.steps = buildUnnamed3371();
|
| - o.tempFiles = buildUnnamed3372();
|
| - o.transformNameMapping = buildUnnamed3373();
|
| + o.steps = buildUnnamed3079();
|
| + o.tempFiles = buildUnnamed3080();
|
| + o.transformNameMapping = buildUnnamed3081();
|
| o.type = "foo";
|
| }
|
| buildCounterJob--;
|
| @@ -984,29 +988,29 @@ checkJob(api.Job o) {
|
| checkEnvironment(o.environment);
|
| checkJobExecutionInfo(o.executionInfo);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed3370(o.labels);
|
| + checkUnnamed3078(o.labels);
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| unittest.expect(o.replaceJobId, unittest.equals('foo'));
|
| unittest.expect(o.replacedByJobId, unittest.equals('foo'));
|
| unittest.expect(o.requestedState, unittest.equals('foo'));
|
| - checkUnnamed3371(o.steps);
|
| - checkUnnamed3372(o.tempFiles);
|
| - checkUnnamed3373(o.transformNameMapping);
|
| + checkUnnamed3079(o.steps);
|
| + checkUnnamed3080(o.tempFiles);
|
| + checkUnnamed3081(o.transformNameMapping);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterJob--;
|
| }
|
|
|
| -buildUnnamed3374() {
|
| +buildUnnamed3082() {
|
| var o = new core.Map<core.String, api.JobExecutionStageInfo>();
|
| o["x"] = buildJobExecutionStageInfo();
|
| o["y"] = buildJobExecutionStageInfo();
|
| return o;
|
| }
|
|
|
| -checkUnnamed3374(core.Map<core.String, api.JobExecutionStageInfo> o) {
|
| +checkUnnamed3082(core.Map<core.String, api.JobExecutionStageInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobExecutionStageInfo(o["x"]);
|
| checkJobExecutionStageInfo(o["y"]);
|
| @@ -1017,7 +1021,7 @@ buildJobExecutionInfo() {
|
| var o = new api.JobExecutionInfo();
|
| buildCounterJobExecutionInfo++;
|
| if (buildCounterJobExecutionInfo < 3) {
|
| - o.stages = buildUnnamed3374();
|
| + o.stages = buildUnnamed3082();
|
| }
|
| buildCounterJobExecutionInfo--;
|
| return o;
|
| @@ -1026,19 +1030,19 @@ buildJobExecutionInfo() {
|
| checkJobExecutionInfo(api.JobExecutionInfo o) {
|
| buildCounterJobExecutionInfo++;
|
| if (buildCounterJobExecutionInfo < 3) {
|
| - checkUnnamed3374(o.stages);
|
| + checkUnnamed3082(o.stages);
|
| }
|
| buildCounterJobExecutionInfo--;
|
| }
|
|
|
| -buildUnnamed3375() {
|
| +buildUnnamed3083() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3375(core.List<core.String> o) {
|
| +checkUnnamed3083(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'));
|
| @@ -1049,7 +1053,7 @@ buildJobExecutionStageInfo() {
|
| var o = new api.JobExecutionStageInfo();
|
| buildCounterJobExecutionStageInfo++;
|
| if (buildCounterJobExecutionStageInfo < 3) {
|
| - o.stepName = buildUnnamed3375();
|
| + o.stepName = buildUnnamed3083();
|
| }
|
| buildCounterJobExecutionStageInfo--;
|
| return o;
|
| @@ -1058,7 +1062,7 @@ buildJobExecutionStageInfo() {
|
| checkJobExecutionStageInfo(api.JobExecutionStageInfo o) {
|
| buildCounterJobExecutionStageInfo++;
|
| if (buildCounterJobExecutionStageInfo < 3) {
|
| - checkUnnamed3375(o.stepName);
|
| + checkUnnamed3083(o.stepName);
|
| }
|
| buildCounterJobExecutionStageInfo--;
|
| }
|
| @@ -1088,14 +1092,14 @@ checkJobMessage(api.JobMessage o) {
|
| buildCounterJobMessage--;
|
| }
|
|
|
| -buildUnnamed3376() {
|
| +buildUnnamed3084() {
|
| var o = new core.List<api.MetricUpdate>();
|
| o.add(buildMetricUpdate());
|
| o.add(buildMetricUpdate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3376(core.List<api.MetricUpdate> o) {
|
| +checkUnnamed3084(core.List<api.MetricUpdate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricUpdate(o[0]);
|
| checkMetricUpdate(o[1]);
|
| @@ -1107,7 +1111,7 @@ buildJobMetrics() {
|
| buildCounterJobMetrics++;
|
| if (buildCounterJobMetrics < 3) {
|
| o.metricTime = "foo";
|
| - o.metrics = buildUnnamed3376();
|
| + o.metrics = buildUnnamed3084();
|
| }
|
| buildCounterJobMetrics--;
|
| return o;
|
| @@ -1117,7 +1121,7 @@ checkJobMetrics(api.JobMetrics o) {
|
| buildCounterJobMetrics++;
|
| if (buildCounterJobMetrics < 3) {
|
| unittest.expect(o.metricTime, unittest.equals('foo'));
|
| - checkUnnamed3376(o.metrics);
|
| + checkUnnamed3084(o.metrics);
|
| }
|
| buildCounterJobMetrics--;
|
| }
|
| @@ -1172,27 +1176,27 @@ checkKeyRangeLocation(api.KeyRangeLocation o) {
|
| buildCounterKeyRangeLocation--;
|
| }
|
|
|
| -buildUnnamed3377() {
|
| +buildUnnamed3085() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3377(core.List<core.String> o) {
|
| +checkUnnamed3085(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'));
|
| }
|
|
|
| -buildUnnamed3378() {
|
| +buildUnnamed3086() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3378(core.List<core.String> o) {
|
| +checkUnnamed3086(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'));
|
| @@ -1206,8 +1210,8 @@ buildLeaseWorkItemRequest() {
|
| o.currentWorkerTime = "foo";
|
| o.location = "foo";
|
| o.requestedLeaseDuration = "foo";
|
| - o.workItemTypes = buildUnnamed3377();
|
| - o.workerCapabilities = buildUnnamed3378();
|
| + o.workItemTypes = buildUnnamed3085();
|
| + o.workerCapabilities = buildUnnamed3086();
|
| o.workerId = "foo";
|
| }
|
| buildCounterLeaseWorkItemRequest--;
|
| @@ -1220,21 +1224,21 @@ checkLeaseWorkItemRequest(api.LeaseWorkItemRequest o) {
|
| unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| unittest.expect(o.requestedLeaseDuration, unittest.equals('foo'));
|
| - checkUnnamed3377(o.workItemTypes);
|
| - checkUnnamed3378(o.workerCapabilities);
|
| + checkUnnamed3085(o.workItemTypes);
|
| + checkUnnamed3086(o.workerCapabilities);
|
| unittest.expect(o.workerId, unittest.equals('foo'));
|
| }
|
| buildCounterLeaseWorkItemRequest--;
|
| }
|
|
|
| -buildUnnamed3379() {
|
| +buildUnnamed3087() {
|
| var o = new core.List<api.WorkItem>();
|
| o.add(buildWorkItem());
|
| o.add(buildWorkItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3379(core.List<api.WorkItem> o) {
|
| +checkUnnamed3087(core.List<api.WorkItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkItem(o[0]);
|
| checkWorkItem(o[1]);
|
| @@ -1245,7 +1249,7 @@ buildLeaseWorkItemResponse() {
|
| var o = new api.LeaseWorkItemResponse();
|
| buildCounterLeaseWorkItemResponse++;
|
| if (buildCounterLeaseWorkItemResponse < 3) {
|
| - o.workItems = buildUnnamed3379();
|
| + o.workItems = buildUnnamed3087();
|
| }
|
| buildCounterLeaseWorkItemResponse--;
|
| return o;
|
| @@ -1254,19 +1258,19 @@ buildLeaseWorkItemResponse() {
|
| checkLeaseWorkItemResponse(api.LeaseWorkItemResponse o) {
|
| buildCounterLeaseWorkItemResponse++;
|
| if (buildCounterLeaseWorkItemResponse < 3) {
|
| - checkUnnamed3379(o.workItems);
|
| + checkUnnamed3087(o.workItems);
|
| }
|
| buildCounterLeaseWorkItemResponse--;
|
| }
|
|
|
| -buildUnnamed3380() {
|
| +buildUnnamed3088() {
|
| var o = new core.List<api.JobMessage>();
|
| o.add(buildJobMessage());
|
| o.add(buildJobMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3380(core.List<api.JobMessage> o) {
|
| +checkUnnamed3088(core.List<api.JobMessage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobMessage(o[0]);
|
| checkJobMessage(o[1]);
|
| @@ -1277,7 +1281,7 @@ buildListJobMessagesResponse() {
|
| var o = new api.ListJobMessagesResponse();
|
| buildCounterListJobMessagesResponse++;
|
| if (buildCounterListJobMessagesResponse < 3) {
|
| - o.jobMessages = buildUnnamed3380();
|
| + o.jobMessages = buildUnnamed3088();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListJobMessagesResponse--;
|
| @@ -1287,33 +1291,33 @@ buildListJobMessagesResponse() {
|
| checkListJobMessagesResponse(api.ListJobMessagesResponse o) {
|
| buildCounterListJobMessagesResponse++;
|
| if (buildCounterListJobMessagesResponse < 3) {
|
| - checkUnnamed3380(o.jobMessages);
|
| + checkUnnamed3088(o.jobMessages);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListJobMessagesResponse--;
|
| }
|
|
|
| -buildUnnamed3381() {
|
| +buildUnnamed3089() {
|
| var o = new core.List<api.FailedLocation>();
|
| o.add(buildFailedLocation());
|
| o.add(buildFailedLocation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3381(core.List<api.FailedLocation> o) {
|
| +checkUnnamed3089(core.List<api.FailedLocation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFailedLocation(o[0]);
|
| checkFailedLocation(o[1]);
|
| }
|
|
|
| -buildUnnamed3382() {
|
| +buildUnnamed3090() {
|
| var o = new core.List<api.Job>();
|
| o.add(buildJob());
|
| o.add(buildJob());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3382(core.List<api.Job> o) {
|
| +checkUnnamed3090(core.List<api.Job> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJob(o[0]);
|
| checkJob(o[1]);
|
| @@ -1324,8 +1328,8 @@ buildListJobsResponse() {
|
| var o = new api.ListJobsResponse();
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - o.failedLocation = buildUnnamed3381();
|
| - o.jobs = buildUnnamed3382();
|
| + o.failedLocation = buildUnnamed3089();
|
| + o.jobs = buildUnnamed3090();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListJobsResponse--;
|
| @@ -1335,21 +1339,21 @@ buildListJobsResponse() {
|
| checkListJobsResponse(api.ListJobsResponse o) {
|
| buildCounterListJobsResponse++;
|
| if (buildCounterListJobsResponse < 3) {
|
| - checkUnnamed3381(o.failedLocation);
|
| - checkUnnamed3382(o.jobs);
|
| + checkUnnamed3089(o.failedLocation);
|
| + checkUnnamed3090(o.jobs);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListJobsResponse--;
|
| }
|
|
|
| -buildUnnamed3383() {
|
| +buildUnnamed3091() {
|
| var o = new core.List<api.ParallelInstruction>();
|
| o.add(buildParallelInstruction());
|
| o.add(buildParallelInstruction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3383(core.List<api.ParallelInstruction> o) {
|
| +checkUnnamed3091(core.List<api.ParallelInstruction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParallelInstruction(o[0]);
|
| checkParallelInstruction(o[1]);
|
| @@ -1360,7 +1364,7 @@ buildMapTask() {
|
| var o = new api.MapTask();
|
| buildCounterMapTask++;
|
| if (buildCounterMapTask < 3) {
|
| - o.instructions = buildUnnamed3383();
|
| + o.instructions = buildUnnamed3091();
|
| o.stageName = "foo";
|
| o.systemName = "foo";
|
| }
|
| @@ -1371,7 +1375,7 @@ buildMapTask() {
|
| checkMapTask(api.MapTask o) {
|
| buildCounterMapTask++;
|
| if (buildCounterMapTask < 3) {
|
| - checkUnnamed3383(o.instructions);
|
| + checkUnnamed3091(o.instructions);
|
| unittest.expect(o.stageName, unittest.equals('foo'));
|
| unittest.expect(o.systemName, unittest.equals('foo'));
|
| }
|
| @@ -1399,14 +1403,14 @@ checkMetricShortId(api.MetricShortId o) {
|
| buildCounterMetricShortId--;
|
| }
|
|
|
| -buildUnnamed3384() {
|
| +buildUnnamed3092() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3384(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3092(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -1417,7 +1421,7 @@ buildMetricStructuredName() {
|
| var o = new api.MetricStructuredName();
|
| buildCounterMetricStructuredName++;
|
| if (buildCounterMetricStructuredName < 3) {
|
| - o.context = buildUnnamed3384();
|
| + o.context = buildUnnamed3092();
|
| o.name = "foo";
|
| o.origin = "foo";
|
| }
|
| @@ -1428,7 +1432,7 @@ buildMetricStructuredName() {
|
| checkMetricStructuredName(api.MetricStructuredName o) {
|
| buildCounterMetricStructuredName++;
|
| if (buildCounterMetricStructuredName < 3) {
|
| - checkUnnamed3384(o.context);
|
| + checkUnnamed3092(o.context);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.origin, unittest.equals('foo'));
|
| }
|
| @@ -1550,40 +1554,40 @@ checkPackage(api.Package o) {
|
| buildCounterPackage--;
|
| }
|
|
|
| -buildUnnamed3385() {
|
| +buildUnnamed3093() {
|
| var o = new core.List<api.MultiOutputInfo>();
|
| o.add(buildMultiOutputInfo());
|
| o.add(buildMultiOutputInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3385(core.List<api.MultiOutputInfo> o) {
|
| +checkUnnamed3093(core.List<api.MultiOutputInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMultiOutputInfo(o[0]);
|
| checkMultiOutputInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed3386() {
|
| +buildUnnamed3094() {
|
| var o = new core.List<api.SideInputInfo>();
|
| o.add(buildSideInputInfo());
|
| o.add(buildSideInputInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3386(core.List<api.SideInputInfo> o) {
|
| +checkUnnamed3094(core.List<api.SideInputInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSideInputInfo(o[0]);
|
| checkSideInputInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed3387() {
|
| +buildUnnamed3095() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3387(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3095(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted17 = (o["x"]) as core.Map; unittest.expect(casted17, unittest.hasLength(3)); unittest.expect(casted17["list"], unittest.equals([1, 2, 3])); unittest.expect(casted17["bool"], unittest.equals(true)); unittest.expect(casted17["string"], unittest.equals('foo'));
|
| var casted18 = (o["y"]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); unittest.expect(casted18["list"], unittest.equals([1, 2, 3])); unittest.expect(casted18["bool"], unittest.equals(true)); unittest.expect(casted18["string"], unittest.equals('foo'));
|
| @@ -1595,10 +1599,10 @@ buildParDoInstruction() {
|
| buildCounterParDoInstruction++;
|
| if (buildCounterParDoInstruction < 3) {
|
| o.input = buildInstructionInput();
|
| - o.multiOutputInfos = buildUnnamed3385();
|
| + o.multiOutputInfos = buildUnnamed3093();
|
| o.numOutputs = 42;
|
| - o.sideInputs = buildUnnamed3386();
|
| - o.userFn = buildUnnamed3387();
|
| + o.sideInputs = buildUnnamed3094();
|
| + o.userFn = buildUnnamed3095();
|
| }
|
| buildCounterParDoInstruction--;
|
| return o;
|
| @@ -1608,22 +1612,22 @@ checkParDoInstruction(api.ParDoInstruction o) {
|
| buildCounterParDoInstruction++;
|
| if (buildCounterParDoInstruction < 3) {
|
| checkInstructionInput(o.input);
|
| - checkUnnamed3385(o.multiOutputInfos);
|
| + checkUnnamed3093(o.multiOutputInfos);
|
| unittest.expect(o.numOutputs, unittest.equals(42));
|
| - checkUnnamed3386(o.sideInputs);
|
| - checkUnnamed3387(o.userFn);
|
| + checkUnnamed3094(o.sideInputs);
|
| + checkUnnamed3095(o.userFn);
|
| }
|
| buildCounterParDoInstruction--;
|
| }
|
|
|
| -buildUnnamed3388() {
|
| +buildUnnamed3096() {
|
| var o = new core.List<api.InstructionOutput>();
|
| o.add(buildInstructionOutput());
|
| o.add(buildInstructionOutput());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3388(core.List<api.InstructionOutput> o) {
|
| +checkUnnamed3096(core.List<api.InstructionOutput> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstructionOutput(o[0]);
|
| checkInstructionOutput(o[1]);
|
| @@ -1637,7 +1641,7 @@ buildParallelInstruction() {
|
| o.flatten = buildFlattenInstruction();
|
| o.name = "foo";
|
| o.originalName = "foo";
|
| - o.outputs = buildUnnamed3388();
|
| + o.outputs = buildUnnamed3096();
|
| o.parDo = buildParDoInstruction();
|
| o.partialGroupByKey = buildPartialGroupByKeyInstruction();
|
| o.read = buildReadInstruction();
|
| @@ -1654,7 +1658,7 @@ checkParallelInstruction(api.ParallelInstruction o) {
|
| checkFlattenInstruction(o.flatten);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.originalName, unittest.equals('foo'));
|
| - checkUnnamed3388(o.outputs);
|
| + checkUnnamed3096(o.outputs);
|
| checkParDoInstruction(o.parDo);
|
| checkPartialGroupByKeyInstruction(o.partialGroupByKey);
|
| checkReadInstruction(o.read);
|
| @@ -1664,40 +1668,40 @@ checkParallelInstruction(api.ParallelInstruction o) {
|
| buildCounterParallelInstruction--;
|
| }
|
|
|
| -buildUnnamed3389() {
|
| +buildUnnamed3097() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3389(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3097(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted19 = (o["x"]) as core.Map; unittest.expect(casted19, unittest.hasLength(3)); unittest.expect(casted19["list"], unittest.equals([1, 2, 3])); unittest.expect(casted19["bool"], unittest.equals(true)); unittest.expect(casted19["string"], unittest.equals('foo'));
|
| var casted20 = (o["y"]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); unittest.expect(casted20["list"], unittest.equals([1, 2, 3])); unittest.expect(casted20["bool"], unittest.equals(true)); unittest.expect(casted20["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3390() {
|
| +buildUnnamed3098() {
|
| var o = new core.List<api.SideInputInfo>();
|
| o.add(buildSideInputInfo());
|
| o.add(buildSideInputInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3390(core.List<api.SideInputInfo> o) {
|
| +checkUnnamed3098(core.List<api.SideInputInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSideInputInfo(o[0]);
|
| checkSideInputInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed3391() {
|
| +buildUnnamed3099() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3391(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3099(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted21 = (o["x"]) as core.Map; unittest.expect(casted21, unittest.hasLength(3)); unittest.expect(casted21["list"], unittest.equals([1, 2, 3])); unittest.expect(casted21["bool"], unittest.equals(true)); unittest.expect(casted21["string"], unittest.equals('foo'));
|
| var casted22 = (o["y"]) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); unittest.expect(casted22["list"], unittest.equals([1, 2, 3])); unittest.expect(casted22["bool"], unittest.equals(true)); unittest.expect(casted22["string"], unittest.equals('foo'));
|
| @@ -1709,11 +1713,11 @@ buildPartialGroupByKeyInstruction() {
|
| buildCounterPartialGroupByKeyInstruction++;
|
| if (buildCounterPartialGroupByKeyInstruction < 3) {
|
| o.input = buildInstructionInput();
|
| - o.inputElementCodec = buildUnnamed3389();
|
| + o.inputElementCodec = buildUnnamed3097();
|
| o.originalCombineValuesInputStoreName = "foo";
|
| o.originalCombineValuesStepName = "foo";
|
| - o.sideInputs = buildUnnamed3390();
|
| - o.valueCombiningFn = buildUnnamed3391();
|
| + o.sideInputs = buildUnnamed3098();
|
| + o.valueCombiningFn = buildUnnamed3099();
|
| }
|
| buildCounterPartialGroupByKeyInstruction--;
|
| return o;
|
| @@ -1723,11 +1727,11 @@ checkPartialGroupByKeyInstruction(api.PartialGroupByKeyInstruction o) {
|
| buildCounterPartialGroupByKeyInstruction++;
|
| if (buildCounterPartialGroupByKeyInstruction < 3) {
|
| checkInstructionInput(o.input);
|
| - checkUnnamed3389(o.inputElementCodec);
|
| + checkUnnamed3097(o.inputElementCodec);
|
| unittest.expect(o.originalCombineValuesInputStoreName, unittest.equals('foo'));
|
| unittest.expect(o.originalCombineValuesStepName, unittest.equals('foo'));
|
| - checkUnnamed3390(o.sideInputs);
|
| - checkUnnamed3391(o.valueCombiningFn);
|
| + checkUnnamed3098(o.sideInputs);
|
| + checkUnnamed3099(o.valueCombiningFn);
|
| }
|
| buildCounterPartialGroupByKeyInstruction--;
|
| }
|
| @@ -1772,6 +1776,7 @@ buildPubsubLocation() {
|
| o.timestampLabel = "foo";
|
| o.topic = "foo";
|
| o.trackingSubscription = "foo";
|
| + o.withAttributes = true;
|
| }
|
| buildCounterPubsubLocation--;
|
| return o;
|
| @@ -1786,6 +1791,7 @@ checkPubsubLocation(api.PubsubLocation o) {
|
| unittest.expect(o.timestampLabel, unittest.equals('foo'));
|
| unittest.expect(o.topic, unittest.equals('foo'));
|
| unittest.expect(o.trackingSubscription, unittest.equals('foo'));
|
| + unittest.expect(o.withAttributes, unittest.isTrue);
|
| }
|
| buildCounterPubsubLocation--;
|
| }
|
| @@ -1809,14 +1815,14 @@ checkReadInstruction(api.ReadInstruction o) {
|
| buildCounterReadInstruction--;
|
| }
|
|
|
| -buildUnnamed3392() {
|
| +buildUnnamed3100() {
|
| var o = new core.List<api.WorkItemStatus>();
|
| o.add(buildWorkItemStatus());
|
| o.add(buildWorkItemStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3392(core.List<api.WorkItemStatus> o) {
|
| +checkUnnamed3100(core.List<api.WorkItemStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkItemStatus(o[0]);
|
| checkWorkItemStatus(o[1]);
|
| @@ -1829,7 +1835,7 @@ buildReportWorkItemStatusRequest() {
|
| if (buildCounterReportWorkItemStatusRequest < 3) {
|
| o.currentWorkerTime = "foo";
|
| o.location = "foo";
|
| - o.workItemStatuses = buildUnnamed3392();
|
| + o.workItemStatuses = buildUnnamed3100();
|
| o.workerId = "foo";
|
| }
|
| buildCounterReportWorkItemStatusRequest--;
|
| @@ -1841,20 +1847,20 @@ checkReportWorkItemStatusRequest(api.ReportWorkItemStatusRequest o) {
|
| if (buildCounterReportWorkItemStatusRequest < 3) {
|
| unittest.expect(o.currentWorkerTime, unittest.equals('foo'));
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| - checkUnnamed3392(o.workItemStatuses);
|
| + checkUnnamed3100(o.workItemStatuses);
|
| unittest.expect(o.workerId, unittest.equals('foo'));
|
| }
|
| buildCounterReportWorkItemStatusRequest--;
|
| }
|
|
|
| -buildUnnamed3393() {
|
| +buildUnnamed3101() {
|
| var o = new core.List<api.WorkItemServiceState>();
|
| o.add(buildWorkItemServiceState());
|
| o.add(buildWorkItemServiceState());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3393(core.List<api.WorkItemServiceState> o) {
|
| +checkUnnamed3101(core.List<api.WorkItemServiceState> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkItemServiceState(o[0]);
|
| checkWorkItemServiceState(o[1]);
|
| @@ -1865,7 +1871,7 @@ buildReportWorkItemStatusResponse() {
|
| var o = new api.ReportWorkItemStatusResponse();
|
| buildCounterReportWorkItemStatusResponse++;
|
| if (buildCounterReportWorkItemStatusResponse < 3) {
|
| - o.workItemServiceStates = buildUnnamed3393();
|
| + o.workItemServiceStates = buildUnnamed3101();
|
| }
|
| buildCounterReportWorkItemStatusResponse--;
|
| return o;
|
| @@ -1874,7 +1880,7 @@ buildReportWorkItemStatusResponse() {
|
| checkReportWorkItemStatusResponse(api.ReportWorkItemStatusResponse o) {
|
| buildCounterReportWorkItemStatusResponse++;
|
| if (buildCounterReportWorkItemStatusResponse < 3) {
|
| - checkUnnamed3393(o.workItemServiceStates);
|
| + checkUnnamed3101(o.workItemServiceStates);
|
| }
|
| buildCounterReportWorkItemStatusResponse--;
|
| }
|
| @@ -1900,6 +1906,29 @@ checkReportedParallelism(api.ReportedParallelism o) {
|
| buildCounterReportedParallelism--;
|
| }
|
|
|
| +core.int buildCounterRuntimeEnvironment = 0;
|
| +buildRuntimeEnvironment() {
|
| + var o = new api.RuntimeEnvironment();
|
| + buildCounterRuntimeEnvironment++;
|
| + if (buildCounterRuntimeEnvironment < 3) {
|
| + o.maxWorkers = 42;
|
| + o.serviceAccountEmail = "foo";
|
| + o.zone = "foo";
|
| + }
|
| + buildCounterRuntimeEnvironment--;
|
| + return o;
|
| +}
|
| +
|
| +checkRuntimeEnvironment(api.RuntimeEnvironment o) {
|
| + buildCounterRuntimeEnvironment++;
|
| + if (buildCounterRuntimeEnvironment < 3) {
|
| + unittest.expect(o.maxWorkers, unittest.equals(42));
|
| + unittest.expect(o.serviceAccountEmail, unittest.equals('foo'));
|
| + unittest.expect(o.zone, unittest.equals('foo'));
|
| + }
|
| + buildCounterRuntimeEnvironment--;
|
| +}
|
| +
|
| core.int buildCounterSendDebugCaptureRequest = 0;
|
| buildSendDebugCaptureRequest() {
|
| var o = new api.SendDebugCaptureRequest();
|
| @@ -1940,14 +1969,14 @@ checkSendDebugCaptureResponse(api.SendDebugCaptureResponse o) {
|
| buildCounterSendDebugCaptureResponse--;
|
| }
|
|
|
| -buildUnnamed3394() {
|
| +buildUnnamed3102() {
|
| var o = new core.List<api.WorkerMessage>();
|
| o.add(buildWorkerMessage());
|
| o.add(buildWorkerMessage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3394(core.List<api.WorkerMessage> o) {
|
| +checkUnnamed3102(core.List<api.WorkerMessage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkerMessage(o[0]);
|
| checkWorkerMessage(o[1]);
|
| @@ -1958,7 +1987,7 @@ buildSendWorkerMessagesRequest() {
|
| var o = new api.SendWorkerMessagesRequest();
|
| buildCounterSendWorkerMessagesRequest++;
|
| if (buildCounterSendWorkerMessagesRequest < 3) {
|
| - o.workerMessages = buildUnnamed3394();
|
| + o.workerMessages = buildUnnamed3102();
|
| }
|
| buildCounterSendWorkerMessagesRequest--;
|
| return o;
|
| @@ -1967,19 +1996,19 @@ buildSendWorkerMessagesRequest() {
|
| checkSendWorkerMessagesRequest(api.SendWorkerMessagesRequest o) {
|
| buildCounterSendWorkerMessagesRequest++;
|
| if (buildCounterSendWorkerMessagesRequest < 3) {
|
| - checkUnnamed3394(o.workerMessages);
|
| + checkUnnamed3102(o.workerMessages);
|
| }
|
| buildCounterSendWorkerMessagesRequest--;
|
| }
|
|
|
| -buildUnnamed3395() {
|
| +buildUnnamed3103() {
|
| var o = new core.List<api.WorkerMessageResponse>();
|
| o.add(buildWorkerMessageResponse());
|
| o.add(buildWorkerMessageResponse());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3395(core.List<api.WorkerMessageResponse> o) {
|
| +checkUnnamed3103(core.List<api.WorkerMessageResponse> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWorkerMessageResponse(o[0]);
|
| checkWorkerMessageResponse(o[1]);
|
| @@ -1990,7 +2019,7 @@ buildSendWorkerMessagesResponse() {
|
| var o = new api.SendWorkerMessagesResponse();
|
| buildCounterSendWorkerMessagesResponse++;
|
| if (buildCounterSendWorkerMessagesResponse < 3) {
|
| - o.workerMessageResponses = buildUnnamed3395();
|
| + o.workerMessageResponses = buildUnnamed3103();
|
| }
|
| buildCounterSendWorkerMessagesResponse--;
|
| return o;
|
| @@ -1999,45 +2028,45 @@ buildSendWorkerMessagesResponse() {
|
| checkSendWorkerMessagesResponse(api.SendWorkerMessagesResponse o) {
|
| buildCounterSendWorkerMessagesResponse++;
|
| if (buildCounterSendWorkerMessagesResponse < 3) {
|
| - checkUnnamed3395(o.workerMessageResponses);
|
| + checkUnnamed3103(o.workerMessageResponses);
|
| }
|
| buildCounterSendWorkerMessagesResponse--;
|
| }
|
|
|
| -buildUnnamed3396() {
|
| +buildUnnamed3104() {
|
| var o = new core.List<api.SideInputInfo>();
|
| o.add(buildSideInputInfo());
|
| o.add(buildSideInputInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3396(core.List<api.SideInputInfo> o) {
|
| +checkUnnamed3104(core.List<api.SideInputInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSideInputInfo(o[0]);
|
| checkSideInputInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed3397() {
|
| +buildUnnamed3105() {
|
| var o = new core.List<api.SeqMapTaskOutputInfo>();
|
| o.add(buildSeqMapTaskOutputInfo());
|
| o.add(buildSeqMapTaskOutputInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3397(core.List<api.SeqMapTaskOutputInfo> o) {
|
| +checkUnnamed3105(core.List<api.SeqMapTaskOutputInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSeqMapTaskOutputInfo(o[0]);
|
| checkSeqMapTaskOutputInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed3398() {
|
| +buildUnnamed3106() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3398(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3106(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted23 = (o["x"]) as core.Map; unittest.expect(casted23, unittest.hasLength(3)); unittest.expect(casted23["list"], unittest.equals([1, 2, 3])); unittest.expect(casted23["bool"], unittest.equals(true)); unittest.expect(casted23["string"], unittest.equals('foo'));
|
| var casted24 = (o["y"]) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); unittest.expect(casted24["list"], unittest.equals([1, 2, 3])); unittest.expect(casted24["bool"], unittest.equals(true)); unittest.expect(casted24["string"], unittest.equals('foo'));
|
| @@ -2048,12 +2077,12 @@ buildSeqMapTask() {
|
| var o = new api.SeqMapTask();
|
| buildCounterSeqMapTask++;
|
| if (buildCounterSeqMapTask < 3) {
|
| - o.inputs = buildUnnamed3396();
|
| + o.inputs = buildUnnamed3104();
|
| o.name = "foo";
|
| - o.outputInfos = buildUnnamed3397();
|
| + o.outputInfos = buildUnnamed3105();
|
| o.stageName = "foo";
|
| o.systemName = "foo";
|
| - o.userFn = buildUnnamed3398();
|
| + o.userFn = buildUnnamed3106();
|
| }
|
| buildCounterSeqMapTask--;
|
| return o;
|
| @@ -2062,12 +2091,12 @@ buildSeqMapTask() {
|
| checkSeqMapTask(api.SeqMapTask o) {
|
| buildCounterSeqMapTask++;
|
| if (buildCounterSeqMapTask < 3) {
|
| - checkUnnamed3396(o.inputs);
|
| + checkUnnamed3104(o.inputs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3397(o.outputInfos);
|
| + checkUnnamed3105(o.outputInfos);
|
| unittest.expect(o.stageName, unittest.equals('foo'));
|
| unittest.expect(o.systemName, unittest.equals('foo'));
|
| - checkUnnamed3398(o.userFn);
|
| + checkUnnamed3106(o.userFn);
|
| }
|
| buildCounterSeqMapTask--;
|
| }
|
| @@ -2114,27 +2143,27 @@ checkShellTask(api.ShellTask o) {
|
| buildCounterShellTask--;
|
| }
|
|
|
| -buildUnnamed3399() {
|
| +buildUnnamed3107() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3399(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3107(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted25 = (o["x"]) as core.Map; unittest.expect(casted25, unittest.hasLength(3)); unittest.expect(casted25["list"], unittest.equals([1, 2, 3])); unittest.expect(casted25["bool"], unittest.equals(true)); unittest.expect(casted25["string"], unittest.equals('foo'));
|
| var casted26 = (o["y"]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); unittest.expect(casted26["list"], unittest.equals([1, 2, 3])); unittest.expect(casted26["bool"], unittest.equals(true)); unittest.expect(casted26["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3400() {
|
| +buildUnnamed3108() {
|
| var o = new core.List<api.Source>();
|
| o.add(buildSource());
|
| o.add(buildSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3400(core.List<api.Source> o) {
|
| +checkUnnamed3108(core.List<api.Source> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSource(o[0]);
|
| checkSource(o[1]);
|
| @@ -2145,8 +2174,8 @@ buildSideInputInfo() {
|
| var o = new api.SideInputInfo();
|
| buildCounterSideInputInfo++;
|
| if (buildCounterSideInputInfo < 3) {
|
| - o.kind = buildUnnamed3399();
|
| - o.sources = buildUnnamed3400();
|
| + o.kind = buildUnnamed3107();
|
| + o.sources = buildUnnamed3108();
|
| o.tag = "foo";
|
| }
|
| buildCounterSideInputInfo--;
|
| @@ -2156,34 +2185,34 @@ buildSideInputInfo() {
|
| checkSideInputInfo(api.SideInputInfo o) {
|
| buildCounterSideInputInfo++;
|
| if (buildCounterSideInputInfo < 3) {
|
| - checkUnnamed3399(o.kind);
|
| - checkUnnamed3400(o.sources);
|
| + checkUnnamed3107(o.kind);
|
| + checkUnnamed3108(o.sources);
|
| unittest.expect(o.tag, unittest.equals('foo'));
|
| }
|
| buildCounterSideInputInfo--;
|
| }
|
|
|
| -buildUnnamed3401() {
|
| +buildUnnamed3109() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3401(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3109(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted27 = (o["x"]) as core.Map; unittest.expect(casted27, unittest.hasLength(3)); unittest.expect(casted27["list"], unittest.equals([1, 2, 3])); unittest.expect(casted27["bool"], unittest.equals(true)); unittest.expect(casted27["string"], unittest.equals('foo'));
|
| var casted28 = (o["y"]) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect(casted28["list"], unittest.equals([1, 2, 3])); unittest.expect(casted28["bool"], unittest.equals(true)); unittest.expect(casted28["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3402() {
|
| +buildUnnamed3110() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3402(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3110(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted29 = (o["x"]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); unittest.expect(casted29["list"], unittest.equals([1, 2, 3])); unittest.expect(casted29["bool"], unittest.equals(true)); unittest.expect(casted29["string"], unittest.equals('foo'));
|
| var casted30 = (o["y"]) as core.Map; unittest.expect(casted30, unittest.hasLength(3)); unittest.expect(casted30["list"], unittest.equals([1, 2, 3])); unittest.expect(casted30["bool"], unittest.equals(true)); unittest.expect(casted30["string"], unittest.equals('foo'));
|
| @@ -2194,8 +2223,8 @@ buildSink() {
|
| var o = new api.Sink();
|
| buildCounterSink++;
|
| if (buildCounterSink < 3) {
|
| - o.codec = buildUnnamed3401();
|
| - o.spec = buildUnnamed3402();
|
| + o.codec = buildUnnamed3109();
|
| + o.spec = buildUnnamed3110();
|
| }
|
| buildCounterSink--;
|
| return o;
|
| @@ -2204,59 +2233,59 @@ buildSink() {
|
| checkSink(api.Sink o) {
|
| buildCounterSink++;
|
| if (buildCounterSink < 3) {
|
| - checkUnnamed3401(o.codec);
|
| - checkUnnamed3402(o.spec);
|
| + checkUnnamed3109(o.codec);
|
| + checkUnnamed3110(o.spec);
|
| }
|
| buildCounterSink--;
|
| }
|
|
|
| -buildUnnamed3403() {
|
| +buildUnnamed3111() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3403(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3111(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted31 = (o["x"]) as core.Map; unittest.expect(casted31, unittest.hasLength(3)); unittest.expect(casted31["list"], unittest.equals([1, 2, 3])); unittest.expect(casted31["bool"], unittest.equals(true)); unittest.expect(casted31["string"], unittest.equals('foo'));
|
| var casted32 = (o["y"]) as core.Map; unittest.expect(casted32, unittest.hasLength(3)); unittest.expect(casted32["list"], unittest.equals([1, 2, 3])); unittest.expect(casted32["bool"], unittest.equals(true)); unittest.expect(casted32["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3404() {
|
| +buildUnnamed3112() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3403());
|
| - o.add(buildUnnamed3403());
|
| + o.add(buildUnnamed3111());
|
| + o.add(buildUnnamed3111());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3404(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3112(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3403(o[0]);
|
| - checkUnnamed3403(o[1]);
|
| + checkUnnamed3111(o[0]);
|
| + checkUnnamed3111(o[1]);
|
| }
|
|
|
| -buildUnnamed3405() {
|
| +buildUnnamed3113() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3405(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3113(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted33 = (o["x"]) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); unittest.expect(casted33["list"], unittest.equals([1, 2, 3])); unittest.expect(casted33["bool"], unittest.equals(true)); unittest.expect(casted33["string"], unittest.equals('foo'));
|
| var casted34 = (o["y"]) as core.Map; unittest.expect(casted34, unittest.hasLength(3)); unittest.expect(casted34["list"], unittest.equals([1, 2, 3])); unittest.expect(casted34["bool"], unittest.equals(true)); unittest.expect(casted34["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3406() {
|
| +buildUnnamed3114() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3406(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3114(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted35 = (o["x"]) as core.Map; unittest.expect(casted35, unittest.hasLength(3)); unittest.expect(casted35["list"], unittest.equals([1, 2, 3])); unittest.expect(casted35["bool"], unittest.equals(true)); unittest.expect(casted35["string"], unittest.equals('foo'));
|
| var casted36 = (o["y"]) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); unittest.expect(casted36["list"], unittest.equals([1, 2, 3])); unittest.expect(casted36["bool"], unittest.equals(true)); unittest.expect(casted36["string"], unittest.equals('foo'));
|
| @@ -2267,11 +2296,11 @@ buildSource() {
|
| var o = new api.Source();
|
| buildCounterSource++;
|
| if (buildCounterSource < 3) {
|
| - o.baseSpecs = buildUnnamed3404();
|
| - o.codec = buildUnnamed3405();
|
| + o.baseSpecs = buildUnnamed3112();
|
| + o.codec = buildUnnamed3113();
|
| o.doesNotNeedSplitting = true;
|
| o.metadata = buildSourceMetadata();
|
| - o.spec = buildUnnamed3406();
|
| + o.spec = buildUnnamed3114();
|
| }
|
| buildCounterSource--;
|
| return o;
|
| @@ -2280,11 +2309,11 @@ buildSource() {
|
| checkSource(api.Source o) {
|
| buildCounterSource++;
|
| if (buildCounterSource < 3) {
|
| - checkUnnamed3404(o.baseSpecs);
|
| - checkUnnamed3405(o.codec);
|
| + checkUnnamed3112(o.baseSpecs);
|
| + checkUnnamed3113(o.codec);
|
| unittest.expect(o.doesNotNeedSplitting, unittest.isTrue);
|
| checkSourceMetadata(o.metadata);
|
| - checkUnnamed3406(o.spec);
|
| + checkUnnamed3114(o.spec);
|
| }
|
| buildCounterSource--;
|
| }
|
| @@ -2459,27 +2488,27 @@ checkSourceSplitRequest(api.SourceSplitRequest o) {
|
| buildCounterSourceSplitRequest--;
|
| }
|
|
|
| -buildUnnamed3407() {
|
| +buildUnnamed3115() {
|
| var o = new core.List<api.DerivedSource>();
|
| o.add(buildDerivedSource());
|
| o.add(buildDerivedSource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3407(core.List<api.DerivedSource> o) {
|
| +checkUnnamed3115(core.List<api.DerivedSource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDerivedSource(o[0]);
|
| checkDerivedSource(o[1]);
|
| }
|
|
|
| -buildUnnamed3408() {
|
| +buildUnnamed3116() {
|
| var o = new core.List<api.SourceSplitShard>();
|
| o.add(buildSourceSplitShard());
|
| o.add(buildSourceSplitShard());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3408(core.List<api.SourceSplitShard> o) {
|
| +checkUnnamed3116(core.List<api.SourceSplitShard> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSourceSplitShard(o[0]);
|
| checkSourceSplitShard(o[1]);
|
| @@ -2490,9 +2519,9 @@ buildSourceSplitResponse() {
|
| var o = new api.SourceSplitResponse();
|
| buildCounterSourceSplitResponse++;
|
| if (buildCounterSourceSplitResponse < 3) {
|
| - o.bundles = buildUnnamed3407();
|
| + o.bundles = buildUnnamed3115();
|
| o.outcome = "foo";
|
| - o.shards = buildUnnamed3408();
|
| + o.shards = buildUnnamed3116();
|
| }
|
| buildCounterSourceSplitResponse--;
|
| return o;
|
| @@ -2501,9 +2530,9 @@ buildSourceSplitResponse() {
|
| checkSourceSplitResponse(api.SourceSplitResponse o) {
|
| buildCounterSourceSplitResponse++;
|
| if (buildCounterSourceSplitResponse < 3) {
|
| - checkUnnamed3407(o.bundles);
|
| + checkUnnamed3115(o.bundles);
|
| unittest.expect(o.outcome, unittest.equals('foo'));
|
| - checkUnnamed3408(o.shards);
|
| + checkUnnamed3116(o.shards);
|
| }
|
| buildCounterSourceSplitResponse--;
|
| }
|
| @@ -2571,30 +2600,30 @@ checkStateFamilyConfig(api.StateFamilyConfig o) {
|
| buildCounterStateFamilyConfig--;
|
| }
|
|
|
| -buildUnnamed3409() {
|
| +buildUnnamed3117() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3409(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3117(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted37 = (o["x"]) as core.Map; unittest.expect(casted37, unittest.hasLength(3)); unittest.expect(casted37["list"], unittest.equals([1, 2, 3])); unittest.expect(casted37["bool"], unittest.equals(true)); unittest.expect(casted37["string"], unittest.equals('foo'));
|
| var casted38 = (o["y"]) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); unittest.expect(casted38["list"], unittest.equals([1, 2, 3])); unittest.expect(casted38["bool"], unittest.equals(true)); unittest.expect(casted38["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3410() {
|
| +buildUnnamed3118() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3409());
|
| - o.add(buildUnnamed3409());
|
| + o.add(buildUnnamed3117());
|
| + o.add(buildUnnamed3117());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3410(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3118(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3409(o[0]);
|
| - checkUnnamed3409(o[1]);
|
| + checkUnnamed3117(o[0]);
|
| + checkUnnamed3117(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -2603,7 +2632,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed3410();
|
| + o.details = buildUnnamed3118();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -2614,20 +2643,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed3410(o.details);
|
| + checkUnnamed3118(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed3411() {
|
| +buildUnnamed3119() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3411(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3119(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted39 = (o["x"]) as core.Map; unittest.expect(casted39, unittest.hasLength(3)); unittest.expect(casted39["list"], unittest.equals([1, 2, 3])); unittest.expect(casted39["bool"], unittest.equals(true)); unittest.expect(casted39["string"], unittest.equals('foo'));
|
| var casted40 = (o["y"]) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); unittest.expect(casted40["list"], unittest.equals([1, 2, 3])); unittest.expect(casted40["bool"], unittest.equals(true)); unittest.expect(casted40["string"], unittest.equals('foo'));
|
| @@ -2640,7 +2669,7 @@ buildStep() {
|
| if (buildCounterStep < 3) {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.properties = buildUnnamed3411();
|
| + o.properties = buildUnnamed3119();
|
| }
|
| buildCounterStep--;
|
| return o;
|
| @@ -2651,7 +2680,7 @@ checkStep(api.Step o) {
|
| if (buildCounterStep < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3411(o.properties);
|
| + checkUnnamed3119(o.properties);
|
| }
|
| buildCounterStep--;
|
| }
|
| @@ -2681,14 +2710,14 @@ checkStreamLocation(api.StreamLocation o) {
|
| buildCounterStreamLocation--;
|
| }
|
|
|
| -buildUnnamed3412() {
|
| +buildUnnamed3120() {
|
| var o = new core.List<api.ParallelInstruction>();
|
| o.add(buildParallelInstruction());
|
| o.add(buildParallelInstruction());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3412(core.List<api.ParallelInstruction> o) {
|
| +checkUnnamed3120(core.List<api.ParallelInstruction> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParallelInstruction(o[0]);
|
| checkParallelInstruction(o[1]);
|
| @@ -2700,7 +2729,7 @@ buildStreamingComputationConfig() {
|
| buildCounterStreamingComputationConfig++;
|
| if (buildCounterStreamingComputationConfig < 3) {
|
| o.computationId = "foo";
|
| - o.instructions = buildUnnamed3412();
|
| + o.instructions = buildUnnamed3120();
|
| o.stageName = "foo";
|
| o.systemName = "foo";
|
| }
|
| @@ -2712,21 +2741,21 @@ checkStreamingComputationConfig(api.StreamingComputationConfig o) {
|
| buildCounterStreamingComputationConfig++;
|
| if (buildCounterStreamingComputationConfig < 3) {
|
| unittest.expect(o.computationId, unittest.equals('foo'));
|
| - checkUnnamed3412(o.instructions);
|
| + checkUnnamed3120(o.instructions);
|
| unittest.expect(o.stageName, unittest.equals('foo'));
|
| unittest.expect(o.systemName, unittest.equals('foo'));
|
| }
|
| buildCounterStreamingComputationConfig--;
|
| }
|
|
|
| -buildUnnamed3413() {
|
| +buildUnnamed3121() {
|
| var o = new core.List<api.KeyRangeDataDiskAssignment>();
|
| o.add(buildKeyRangeDataDiskAssignment());
|
| o.add(buildKeyRangeDataDiskAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3413(core.List<api.KeyRangeDataDiskAssignment> o) {
|
| +checkUnnamed3121(core.List<api.KeyRangeDataDiskAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKeyRangeDataDiskAssignment(o[0]);
|
| checkKeyRangeDataDiskAssignment(o[1]);
|
| @@ -2738,7 +2767,7 @@ buildStreamingComputationRanges() {
|
| buildCounterStreamingComputationRanges++;
|
| if (buildCounterStreamingComputationRanges < 3) {
|
| o.computationId = "foo";
|
| - o.rangeAssignments = buildUnnamed3413();
|
| + o.rangeAssignments = buildUnnamed3121();
|
| }
|
| buildCounterStreamingComputationRanges--;
|
| return o;
|
| @@ -2748,32 +2777,32 @@ checkStreamingComputationRanges(api.StreamingComputationRanges o) {
|
| buildCounterStreamingComputationRanges++;
|
| if (buildCounterStreamingComputationRanges < 3) {
|
| unittest.expect(o.computationId, unittest.equals('foo'));
|
| - checkUnnamed3413(o.rangeAssignments);
|
| + checkUnnamed3121(o.rangeAssignments);
|
| }
|
| buildCounterStreamingComputationRanges--;
|
| }
|
|
|
| -buildUnnamed3414() {
|
| +buildUnnamed3122() {
|
| var o = new core.List<api.StreamingComputationRanges>();
|
| o.add(buildStreamingComputationRanges());
|
| o.add(buildStreamingComputationRanges());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3414(core.List<api.StreamingComputationRanges> o) {
|
| +checkUnnamed3122(core.List<api.StreamingComputationRanges> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStreamingComputationRanges(o[0]);
|
| checkStreamingComputationRanges(o[1]);
|
| }
|
|
|
| -buildUnnamed3415() {
|
| +buildUnnamed3123() {
|
| var o = new core.List<api.MountedDataDisk>();
|
| o.add(buildMountedDataDisk());
|
| o.add(buildMountedDataDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3415(core.List<api.MountedDataDisk> o) {
|
| +checkUnnamed3123(core.List<api.MountedDataDisk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMountedDataDisk(o[0]);
|
| checkMountedDataDisk(o[1]);
|
| @@ -2784,8 +2813,8 @@ buildStreamingComputationTask() {
|
| var o = new api.StreamingComputationTask();
|
| buildCounterStreamingComputationTask++;
|
| if (buildCounterStreamingComputationTask < 3) {
|
| - o.computationRanges = buildUnnamed3414();
|
| - o.dataDisks = buildUnnamed3415();
|
| + o.computationRanges = buildUnnamed3122();
|
| + o.dataDisks = buildUnnamed3123();
|
| o.taskType = "foo";
|
| }
|
| buildCounterStreamingComputationTask--;
|
| @@ -2795,34 +2824,34 @@ buildStreamingComputationTask() {
|
| checkStreamingComputationTask(api.StreamingComputationTask o) {
|
| buildCounterStreamingComputationTask++;
|
| if (buildCounterStreamingComputationTask < 3) {
|
| - checkUnnamed3414(o.computationRanges);
|
| - checkUnnamed3415(o.dataDisks);
|
| + checkUnnamed3122(o.computationRanges);
|
| + checkUnnamed3123(o.dataDisks);
|
| unittest.expect(o.taskType, unittest.equals('foo'));
|
| }
|
| buildCounterStreamingComputationTask--;
|
| }
|
|
|
| -buildUnnamed3416() {
|
| +buildUnnamed3124() {
|
| var o = new core.List<api.StreamingComputationConfig>();
|
| o.add(buildStreamingComputationConfig());
|
| o.add(buildStreamingComputationConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3416(core.List<api.StreamingComputationConfig> o) {
|
| +checkUnnamed3124(core.List<api.StreamingComputationConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStreamingComputationConfig(o[0]);
|
| checkStreamingComputationConfig(o[1]);
|
| }
|
|
|
| -buildUnnamed3417() {
|
| +buildUnnamed3125() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3417(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3125(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -2833,8 +2862,8 @@ buildStreamingConfigTask() {
|
| var o = new api.StreamingConfigTask();
|
| buildCounterStreamingConfigTask++;
|
| if (buildCounterStreamingConfigTask < 3) {
|
| - o.streamingComputationConfigs = buildUnnamed3416();
|
| - o.userStepToStateFamilyNameMap = buildUnnamed3417();
|
| + o.streamingComputationConfigs = buildUnnamed3124();
|
| + o.userStepToStateFamilyNameMap = buildUnnamed3125();
|
| }
|
| buildCounterStreamingConfigTask--;
|
| return o;
|
| @@ -2843,8 +2872,8 @@ buildStreamingConfigTask() {
|
| checkStreamingConfigTask(api.StreamingConfigTask o) {
|
| buildCounterStreamingConfigTask++;
|
| if (buildCounterStreamingConfigTask < 3) {
|
| - checkUnnamed3416(o.streamingComputationConfigs);
|
| - checkUnnamed3417(o.userStepToStateFamilyNameMap);
|
| + checkUnnamed3124(o.streamingComputationConfigs);
|
| + checkUnnamed3125(o.userStepToStateFamilyNameMap);
|
| }
|
| buildCounterStreamingConfigTask--;
|
| }
|
| @@ -2914,14 +2943,14 @@ checkStreamingStageLocation(api.StreamingStageLocation o) {
|
| buildCounterStreamingStageLocation--;
|
| }
|
|
|
| -buildUnnamed3418() {
|
| +buildUnnamed3126() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3418(core.List<core.String> o) {
|
| +checkUnnamed3126(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'));
|
| @@ -2932,7 +2961,7 @@ buildStringList() {
|
| var o = new api.StringList();
|
| buildCounterStringList++;
|
| if (buildCounterStringList < 3) {
|
| - o.elements = buildUnnamed3418();
|
| + o.elements = buildUnnamed3126();
|
| }
|
| buildCounterStringList--;
|
| return o;
|
| @@ -2941,19 +2970,19 @@ buildStringList() {
|
| checkStringList(api.StringList o) {
|
| buildCounterStringList++;
|
| if (buildCounterStringList < 3) {
|
| - checkUnnamed3418(o.elements);
|
| + checkUnnamed3126(o.elements);
|
| }
|
| buildCounterStringList--;
|
| }
|
|
|
| -buildUnnamed3419() {
|
| +buildUnnamed3127() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3419(core.List<core.String> o) {
|
| +checkUnnamed3127(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'));
|
| @@ -2975,7 +3004,7 @@ buildTaskRunnerSettings() {
|
| o.logDir = "foo";
|
| o.logToSerialconsole = true;
|
| o.logUploadLocation = "foo";
|
| - o.oauthScopes = buildUnnamed3419();
|
| + o.oauthScopes = buildUnnamed3127();
|
| o.parallelWorkerSettings = buildWorkerSettings();
|
| o.streamingWorkerMainClass = "foo";
|
| o.taskGroup = "foo";
|
| @@ -3002,7 +3031,7 @@ checkTaskRunnerSettings(api.TaskRunnerSettings o) {
|
| unittest.expect(o.logDir, unittest.equals('foo'));
|
| unittest.expect(o.logToSerialconsole, unittest.isTrue);
|
| unittest.expect(o.logUploadLocation, unittest.equals('foo'));
|
| - checkUnnamed3419(o.oauthScopes);
|
| + checkUnnamed3127(o.oauthScopes);
|
| checkWorkerSettings(o.parallelWorkerSettings);
|
| unittest.expect(o.streamingWorkerMainClass, unittest.equals('foo'));
|
| unittest.expect(o.taskGroup, unittest.equals('foo'));
|
| @@ -3014,40 +3043,40 @@ checkTaskRunnerSettings(api.TaskRunnerSettings o) {
|
| buildCounterTaskRunnerSettings--;
|
| }
|
|
|
| -buildUnnamed3420() {
|
| +buildUnnamed3128() {
|
| var o = new core.List<api.ComputationTopology>();
|
| o.add(buildComputationTopology());
|
| o.add(buildComputationTopology());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3420(core.List<api.ComputationTopology> o) {
|
| +checkUnnamed3128(core.List<api.ComputationTopology> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComputationTopology(o[0]);
|
| checkComputationTopology(o[1]);
|
| }
|
|
|
| -buildUnnamed3421() {
|
| +buildUnnamed3129() {
|
| var o = new core.List<api.DataDiskAssignment>();
|
| o.add(buildDataDiskAssignment());
|
| o.add(buildDataDiskAssignment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3421(core.List<api.DataDiskAssignment> o) {
|
| +checkUnnamed3129(core.List<api.DataDiskAssignment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDataDiskAssignment(o[0]);
|
| checkDataDiskAssignment(o[1]);
|
| }
|
|
|
| -buildUnnamed3422() {
|
| +buildUnnamed3130() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3422(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3130(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -3058,11 +3087,11 @@ buildTopologyConfig() {
|
| var o = new api.TopologyConfig();
|
| buildCounterTopologyConfig++;
|
| if (buildCounterTopologyConfig < 3) {
|
| - o.computations = buildUnnamed3420();
|
| - o.dataDiskAssignments = buildUnnamed3421();
|
| + o.computations = buildUnnamed3128();
|
| + o.dataDiskAssignments = buildUnnamed3129();
|
| o.forwardingKeyBits = 42;
|
| o.persistentStateVersion = 42;
|
| - o.userStageToComputationNameMap = buildUnnamed3422();
|
| + o.userStageToComputationNameMap = buildUnnamed3130();
|
| }
|
| buildCounterTopologyConfig--;
|
| return o;
|
| @@ -3071,23 +3100,23 @@ buildTopologyConfig() {
|
| checkTopologyConfig(api.TopologyConfig o) {
|
| buildCounterTopologyConfig++;
|
| if (buildCounterTopologyConfig < 3) {
|
| - checkUnnamed3420(o.computations);
|
| - checkUnnamed3421(o.dataDiskAssignments);
|
| + checkUnnamed3128(o.computations);
|
| + checkUnnamed3129(o.dataDiskAssignments);
|
| unittest.expect(o.forwardingKeyBits, unittest.equals(42));
|
| unittest.expect(o.persistentStateVersion, unittest.equals(42));
|
| - checkUnnamed3422(o.userStageToComputationNameMap);
|
| + checkUnnamed3130(o.userStageToComputationNameMap);
|
| }
|
| buildCounterTopologyConfig--;
|
| }
|
|
|
| -buildUnnamed3423() {
|
| +buildUnnamed3131() {
|
| var o = new core.List<api.Package>();
|
| o.add(buildPackage());
|
| o.add(buildPackage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3423(core.List<api.Package> o) {
|
| +checkUnnamed3131(core.List<api.Package> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPackage(o[0]);
|
| checkPackage(o[1]);
|
| @@ -3104,7 +3133,7 @@ buildWorkItem() {
|
| o.jobId = "foo";
|
| o.leaseExpireTime = "foo";
|
| o.mapTask = buildMapTask();
|
| - o.packages = buildUnnamed3423();
|
| + o.packages = buildUnnamed3131();
|
| o.projectId = "foo";
|
| o.reportStatusInterval = "foo";
|
| o.seqMapTask = buildSeqMapTask();
|
| @@ -3127,7 +3156,7 @@ checkWorkItem(api.WorkItem o) {
|
| unittest.expect(o.jobId, unittest.equals('foo'));
|
| unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
|
| checkMapTask(o.mapTask);
|
| - checkUnnamed3423(o.packages);
|
| + checkUnnamed3131(o.packages);
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
|
| checkSeqMapTask(o.seqMapTask);
|
| @@ -3140,27 +3169,27 @@ checkWorkItem(api.WorkItem o) {
|
| buildCounterWorkItem--;
|
| }
|
|
|
| -buildUnnamed3424() {
|
| +buildUnnamed3132() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3424(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3132(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted41 = (o["x"]) as core.Map; unittest.expect(casted41, unittest.hasLength(3)); unittest.expect(casted41["list"], unittest.equals([1, 2, 3])); unittest.expect(casted41["bool"], unittest.equals(true)); unittest.expect(casted41["string"], unittest.equals('foo'));
|
| var casted42 = (o["y"]) as core.Map; unittest.expect(casted42, unittest.hasLength(3)); unittest.expect(casted42["list"], unittest.equals([1, 2, 3])); unittest.expect(casted42["bool"], unittest.equals(true)); unittest.expect(casted42["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3425() {
|
| +buildUnnamed3133() {
|
| var o = new core.List<api.MetricShortId>();
|
| o.add(buildMetricShortId());
|
| o.add(buildMetricShortId());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3425(core.List<api.MetricShortId> o) {
|
| +checkUnnamed3133(core.List<api.MetricShortId> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricShortId(o[0]);
|
| checkMetricShortId(o[1]);
|
| @@ -3171,9 +3200,9 @@ buildWorkItemServiceState() {
|
| var o = new api.WorkItemServiceState();
|
| buildCounterWorkItemServiceState++;
|
| if (buildCounterWorkItemServiceState < 3) {
|
| - o.harnessData = buildUnnamed3424();
|
| + o.harnessData = buildUnnamed3132();
|
| o.leaseExpireTime = "foo";
|
| - o.metricShortId = buildUnnamed3425();
|
| + o.metricShortId = buildUnnamed3133();
|
| o.nextReportIndex = "foo";
|
| o.reportStatusInterval = "foo";
|
| o.splitRequest = buildApproximateSplitRequest();
|
| @@ -3187,9 +3216,9 @@ buildWorkItemServiceState() {
|
| checkWorkItemServiceState(api.WorkItemServiceState o) {
|
| buildCounterWorkItemServiceState++;
|
| if (buildCounterWorkItemServiceState < 3) {
|
| - checkUnnamed3424(o.harnessData);
|
| + checkUnnamed3132(o.harnessData);
|
| unittest.expect(o.leaseExpireTime, unittest.equals('foo'));
|
| - checkUnnamed3425(o.metricShortId);
|
| + checkUnnamed3133(o.metricShortId);
|
| unittest.expect(o.nextReportIndex, unittest.equals('foo'));
|
| unittest.expect(o.reportStatusInterval, unittest.equals('foo'));
|
| checkApproximateSplitRequest(o.splitRequest);
|
| @@ -3199,40 +3228,40 @@ checkWorkItemServiceState(api.WorkItemServiceState o) {
|
| buildCounterWorkItemServiceState--;
|
| }
|
|
|
| -buildUnnamed3426() {
|
| +buildUnnamed3134() {
|
| var o = new core.List<api.CounterUpdate>();
|
| o.add(buildCounterUpdate());
|
| o.add(buildCounterUpdate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3426(core.List<api.CounterUpdate> o) {
|
| +checkUnnamed3134(core.List<api.CounterUpdate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCounterUpdate(o[0]);
|
| checkCounterUpdate(o[1]);
|
| }
|
|
|
| -buildUnnamed3427() {
|
| +buildUnnamed3135() {
|
| var o = new core.List<api.Status>();
|
| o.add(buildStatus());
|
| o.add(buildStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3427(core.List<api.Status> o) {
|
| +checkUnnamed3135(core.List<api.Status> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStatus(o[0]);
|
| checkStatus(o[1]);
|
| }
|
|
|
| -buildUnnamed3428() {
|
| +buildUnnamed3136() {
|
| var o = new core.List<api.MetricUpdate>();
|
| o.add(buildMetricUpdate());
|
| o.add(buildMetricUpdate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3428(core.List<api.MetricUpdate> o) {
|
| +checkUnnamed3136(core.List<api.MetricUpdate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricUpdate(o[0]);
|
| checkMetricUpdate(o[1]);
|
| @@ -3244,10 +3273,10 @@ buildWorkItemStatus() {
|
| buildCounterWorkItemStatus++;
|
| if (buildCounterWorkItemStatus < 3) {
|
| o.completed = true;
|
| - o.counterUpdates = buildUnnamed3426();
|
| + o.counterUpdates = buildUnnamed3134();
|
| o.dynamicSourceSplit = buildDynamicSourceSplit();
|
| - o.errors = buildUnnamed3427();
|
| - o.metricUpdates = buildUnnamed3428();
|
| + o.errors = buildUnnamed3135();
|
| + o.metricUpdates = buildUnnamed3136();
|
| o.progress = buildApproximateProgress();
|
| o.reportIndex = "foo";
|
| o.reportedProgress = buildApproximateReportedProgress();
|
| @@ -3265,10 +3294,10 @@ checkWorkItemStatus(api.WorkItemStatus o) {
|
| buildCounterWorkItemStatus++;
|
| if (buildCounterWorkItemStatus < 3) {
|
| unittest.expect(o.completed, unittest.isTrue);
|
| - checkUnnamed3426(o.counterUpdates);
|
| + checkUnnamed3134(o.counterUpdates);
|
| checkDynamicSourceSplit(o.dynamicSourceSplit);
|
| - checkUnnamed3427(o.errors);
|
| - checkUnnamed3428(o.metricUpdates);
|
| + checkUnnamed3135(o.errors);
|
| + checkUnnamed3136(o.metricUpdates);
|
| checkApproximateProgress(o.progress);
|
| unittest.expect(o.reportIndex, unittest.equals('foo'));
|
| checkApproximateReportedProgress(o.reportedProgress);
|
| @@ -3281,30 +3310,30 @@ checkWorkItemStatus(api.WorkItemStatus o) {
|
| buildCounterWorkItemStatus--;
|
| }
|
|
|
| -buildUnnamed3429() {
|
| +buildUnnamed3137() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3429(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3137(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted43 = (o["x"]) as core.Map; unittest.expect(casted43, unittest.hasLength(3)); unittest.expect(casted43["list"], unittest.equals([1, 2, 3])); unittest.expect(casted43["bool"], unittest.equals(true)); unittest.expect(casted43["string"], unittest.equals('foo'));
|
| var casted44 = (o["y"]) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); unittest.expect(casted44["list"], unittest.equals([1, 2, 3])); unittest.expect(casted44["bool"], unittest.equals(true)); unittest.expect(casted44["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3430() {
|
| +buildUnnamed3138() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3429());
|
| - o.add(buildUnnamed3429());
|
| + o.add(buildUnnamed3137());
|
| + o.add(buildUnnamed3137());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3430(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3138(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3429(o[0]);
|
| - checkUnnamed3429(o[1]);
|
| + checkUnnamed3137(o[0]);
|
| + checkUnnamed3137(o[1]);
|
| }
|
|
|
| core.int buildCounterWorkerHealthReport = 0;
|
| @@ -3312,7 +3341,7 @@ buildWorkerHealthReport() {
|
| var o = new api.WorkerHealthReport();
|
| buildCounterWorkerHealthReport++;
|
| if (buildCounterWorkerHealthReport < 3) {
|
| - o.pods = buildUnnamed3430();
|
| + o.pods = buildUnnamed3138();
|
| o.reportInterval = "foo";
|
| o.vmIsHealthy = true;
|
| o.vmStartupTime = "foo";
|
| @@ -3324,7 +3353,7 @@ buildWorkerHealthReport() {
|
| checkWorkerHealthReport(api.WorkerHealthReport o) {
|
| buildCounterWorkerHealthReport++;
|
| if (buildCounterWorkerHealthReport < 3) {
|
| - checkUnnamed3430(o.pods);
|
| + checkUnnamed3138(o.pods);
|
| unittest.expect(o.reportInterval, unittest.equals('foo'));
|
| unittest.expect(o.vmIsHealthy, unittest.isTrue);
|
| unittest.expect(o.vmStartupTime, unittest.equals('foo'));
|
| @@ -3351,14 +3380,14 @@ checkWorkerHealthReportResponse(api.WorkerHealthReportResponse o) {
|
| buildCounterWorkerHealthReportResponse--;
|
| }
|
|
|
| -buildUnnamed3431() {
|
| +buildUnnamed3139() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3431(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3139(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -3369,7 +3398,7 @@ buildWorkerMessage() {
|
| var o = new api.WorkerMessage();
|
| buildCounterWorkerMessage++;
|
| if (buildCounterWorkerMessage < 3) {
|
| - o.labels = buildUnnamed3431();
|
| + o.labels = buildUnnamed3139();
|
| o.time = "foo";
|
| o.workerHealthReport = buildWorkerHealthReport();
|
| o.workerMessageCode = buildWorkerMessageCode();
|
| @@ -3381,7 +3410,7 @@ buildWorkerMessage() {
|
| checkWorkerMessage(api.WorkerMessage o) {
|
| buildCounterWorkerMessage++;
|
| if (buildCounterWorkerMessage < 3) {
|
| - checkUnnamed3431(o.labels);
|
| + checkUnnamed3139(o.labels);
|
| unittest.expect(o.time, unittest.equals('foo'));
|
| checkWorkerHealthReport(o.workerHealthReport);
|
| checkWorkerMessageCode(o.workerMessageCode);
|
| @@ -3389,14 +3418,14 @@ checkWorkerMessage(api.WorkerMessage o) {
|
| buildCounterWorkerMessage--;
|
| }
|
|
|
| -buildUnnamed3432() {
|
| +buildUnnamed3140() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3432(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3140(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted45 = (o["x"]) as core.Map; unittest.expect(casted45, unittest.hasLength(3)); unittest.expect(casted45["list"], unittest.equals([1, 2, 3])); unittest.expect(casted45["bool"], unittest.equals(true)); unittest.expect(casted45["string"], unittest.equals('foo'));
|
| var casted46 = (o["y"]) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); unittest.expect(casted46["list"], unittest.equals([1, 2, 3])); unittest.expect(casted46["bool"], unittest.equals(true)); unittest.expect(casted46["string"], unittest.equals('foo'));
|
| @@ -3408,7 +3437,7 @@ buildWorkerMessageCode() {
|
| buildCounterWorkerMessageCode++;
|
| if (buildCounterWorkerMessageCode < 3) {
|
| o.code = "foo";
|
| - o.parameters = buildUnnamed3432();
|
| + o.parameters = buildUnnamed3140();
|
| }
|
| buildCounterWorkerMessageCode--;
|
| return o;
|
| @@ -3418,7 +3447,7 @@ checkWorkerMessageCode(api.WorkerMessageCode o) {
|
| buildCounterWorkerMessageCode++;
|
| if (buildCounterWorkerMessageCode < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed3432(o.parameters);
|
| + checkUnnamed3140(o.parameters);
|
| }
|
| buildCounterWorkerMessageCode--;
|
| }
|
| @@ -3442,53 +3471,53 @@ checkWorkerMessageResponse(api.WorkerMessageResponse o) {
|
| buildCounterWorkerMessageResponse--;
|
| }
|
|
|
| -buildUnnamed3433() {
|
| +buildUnnamed3141() {
|
| var o = new core.List<api.Disk>();
|
| o.add(buildDisk());
|
| o.add(buildDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3433(core.List<api.Disk> o) {
|
| +checkUnnamed3141(core.List<api.Disk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDisk(o[0]);
|
| checkDisk(o[1]);
|
| }
|
|
|
| -buildUnnamed3434() {
|
| +buildUnnamed3142() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3434(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3142(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed3435() {
|
| +buildUnnamed3143() {
|
| var o = new core.List<api.Package>();
|
| o.add(buildPackage());
|
| o.add(buildPackage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3435(core.List<api.Package> o) {
|
| +checkUnnamed3143(core.List<api.Package> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPackage(o[0]);
|
| checkPackage(o[1]);
|
| }
|
|
|
| -buildUnnamed3436() {
|
| +buildUnnamed3144() {
|
| 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'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed3436(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3144(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted47 = (o["x"]) as core.Map; unittest.expect(casted47, unittest.hasLength(3)); unittest.expect(casted47["list"], unittest.equals([1, 2, 3])); unittest.expect(casted47["bool"], unittest.equals(true)); unittest.expect(casted47["string"], unittest.equals('foo'));
|
| var casted48 = (o["y"]) as core.Map; unittest.expect(casted48, unittest.hasLength(3)); unittest.expect(casted48["list"], unittest.equals([1, 2, 3])); unittest.expect(casted48["bool"], unittest.equals(true)); unittest.expect(casted48["string"], unittest.equals('foo'));
|
| @@ -3500,7 +3529,7 @@ buildWorkerPool() {
|
| buildCounterWorkerPool++;
|
| if (buildCounterWorkerPool < 3) {
|
| o.autoscalingSettings = buildAutoscalingSettings();
|
| - o.dataDisks = buildUnnamed3433();
|
| + o.dataDisks = buildUnnamed3141();
|
| o.defaultPackageSet = "foo";
|
| o.diskSizeGb = 42;
|
| o.diskSourceImage = "foo";
|
| @@ -3508,13 +3537,13 @@ buildWorkerPool() {
|
| o.ipConfiguration = "foo";
|
| o.kind = "foo";
|
| o.machineType = "foo";
|
| - o.metadata = buildUnnamed3434();
|
| + o.metadata = buildUnnamed3142();
|
| o.network = "foo";
|
| o.numThreadsPerWorker = 42;
|
| o.numWorkers = 42;
|
| o.onHostMaintenance = "foo";
|
| - o.packages = buildUnnamed3435();
|
| - o.poolArgs = buildUnnamed3436();
|
| + o.packages = buildUnnamed3143();
|
| + o.poolArgs = buildUnnamed3144();
|
| o.subnetwork = "foo";
|
| o.taskrunnerSettings = buildTaskRunnerSettings();
|
| o.teardownPolicy = "foo";
|
| @@ -3529,7 +3558,7 @@ checkWorkerPool(api.WorkerPool o) {
|
| buildCounterWorkerPool++;
|
| if (buildCounterWorkerPool < 3) {
|
| checkAutoscalingSettings(o.autoscalingSettings);
|
| - checkUnnamed3433(o.dataDisks);
|
| + checkUnnamed3141(o.dataDisks);
|
| unittest.expect(o.defaultPackageSet, unittest.equals('foo'));
|
| unittest.expect(o.diskSizeGb, unittest.equals(42));
|
| unittest.expect(o.diskSourceImage, unittest.equals('foo'));
|
| @@ -3537,13 +3566,13 @@ checkWorkerPool(api.WorkerPool o) {
|
| unittest.expect(o.ipConfiguration, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.machineType, unittest.equals('foo'));
|
| - checkUnnamed3434(o.metadata);
|
| + checkUnnamed3142(o.metadata);
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| unittest.expect(o.numThreadsPerWorker, unittest.equals(42));
|
| unittest.expect(o.numWorkers, unittest.equals(42));
|
| unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
|
| - checkUnnamed3435(o.packages);
|
| - checkUnnamed3436(o.poolArgs);
|
| + checkUnnamed3143(o.packages);
|
| + checkUnnamed3144(o.poolArgs);
|
| unittest.expect(o.subnetwork, unittest.equals('foo'));
|
| checkTaskRunnerSettings(o.taskrunnerSettings);
|
| unittest.expect(o.teardownPolicy, unittest.equals('foo'));
|
| @@ -4100,6 +4129,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-RuntimeEnvironment", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRuntimeEnvironment();
|
| + var od = new api.RuntimeEnvironment.fromJson(o.toJson());
|
| + checkRuntimeEnvironment(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-SendDebugCaptureRequest", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildSendDebugCaptureRequest();
|
|
|