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

Unified Diff: generated/googleapis_beta/test/logging/v2beta1_test.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: generated/googleapis_beta/test/logging/v2beta1_test.dart
diff --git a/generated/googleapis_beta/test/logging/v2beta1_test.dart b/generated/googleapis_beta/test/logging/v2beta1_test.dart
index 84a49d466deaeb3e7fc6ebfe7ee19a491c02c1d8..238a4e3a47ae6ada461cfbe5be4f93cb89c21624 100644
--- a/generated/googleapis_beta/test/logging/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/logging/v2beta1_test.dart
@@ -132,14 +132,14 @@ checkLabelDescriptor(api.LabelDescriptor o) {
buildCounterLabelDescriptor--;
}
-buildUnnamed4031() {
+buildUnnamed4149() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed4031(core.List<core.String> o) {
+checkUnnamed4149(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'));
@@ -155,7 +155,7 @@ buildListLogEntriesRequest() {
o.pageSize = 42;
o.pageToken = "foo";
o.partialSuccess = true;
- o.projectIds = buildUnnamed4031();
+ o.projectIds = buildUnnamed4149();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -169,32 +169,32 @@ checkListLogEntriesRequest(api.ListLogEntriesRequest o) {
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
- checkUnnamed4031(o.projectIds);
+ checkUnnamed4149(o.projectIds);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed4032() {
+buildUnnamed4150() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed4032(core.List<api.LogEntry> o) {
+checkUnnamed4150(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed4033() {
+buildUnnamed4151() {
var o = new core.Map<core.String, api.Status>();
o["x"] = buildStatus();
o["y"] = buildStatus();
return o;
}
-checkUnnamed4033(core.Map<core.String, api.Status> o) {
+checkUnnamed4151(core.Map<core.String, api.Status> o) {
unittest.expect(o, unittest.hasLength(2));
checkStatus(o["x"]);
checkStatus(o["y"]);
@@ -205,9 +205,9 @@ buildListLogEntriesResponse() {
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed4032();
+ o.entries = buildUnnamed4150();
o.nextPageToken = "foo";
- o.projectIdErrors = buildUnnamed4033();
+ o.projectIdErrors = buildUnnamed4151();
}
buildCounterListLogEntriesResponse--;
return o;
@@ -216,21 +216,21 @@ buildListLogEntriesResponse() {
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed4032(o.entries);
+ checkUnnamed4150(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4033(o.projectIdErrors);
+ checkUnnamed4151(o.projectIdErrors);
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed4034() {
+buildUnnamed4152() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed4034(core.List<api.LogMetric> o) {
+checkUnnamed4152(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -241,7 +241,7 @@ buildListLogMetricsResponse() {
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed4034();
+ o.metrics = buildUnnamed4152();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -251,20 +251,20 @@ buildListLogMetricsResponse() {
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed4034(o.metrics);
+ checkUnnamed4152(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed4035() {
+buildUnnamed4153() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed4035(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed4153(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -276,7 +276,7 @@ buildListMonitoredResourceDescriptorsResponse() {
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed4035();
+ o.resourceDescriptors = buildUnnamed4153();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -286,19 +286,19 @@ checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4035(o.resourceDescriptors);
+ checkUnnamed4153(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed4036() {
+buildUnnamed4154() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed4036(core.List<api.LogSink> o) {
+checkUnnamed4154(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -310,7 +310,7 @@ buildListSinksResponse() {
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed4036();
+ o.sinks = buildUnnamed4154();
}
buildCounterListSinksResponse--;
return o;
@@ -320,45 +320,45 @@ checkListSinksResponse(api.ListSinksResponse o) {
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed4036(o.sinks);
+ checkUnnamed4154(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed4037() {
+buildUnnamed4155() {
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;
}
-checkUnnamed4037(core.Map<core.String, core.Object> o) {
+checkUnnamed4155(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed4038() {
+buildUnnamed4156() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4038(core.Map<core.String, core.String> o) {
+checkUnnamed4156(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'));
}
-buildUnnamed4039() {
+buildUnnamed4157() {
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;
}
-checkUnnamed4039(core.Map<core.String, core.Object> o) {
+checkUnnamed4157(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) 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'));
var casted4 = (o["y"]) 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'));
@@ -371,11 +371,11 @@ buildLogEntry() {
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed4037();
- o.labels = buildUnnamed4038();
+ o.jsonPayload = buildUnnamed4155();
+ o.labels = buildUnnamed4156();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed4039();
+ o.protoPayload = buildUnnamed4157();
o.resource = buildMonitoredResource();
o.severity = "foo";
o.textPayload = "foo";
@@ -390,11 +390,11 @@ checkLogEntry(api.LogEntry o) {
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed4037(o.jsonPayload);
- checkUnnamed4038(o.labels);
+ checkUnnamed4155(o.jsonPayload);
+ checkUnnamed4156(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed4039(o.protoPayload);
+ checkUnnamed4157(o.protoPayload);
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
unittest.expect(o.textPayload, unittest.equals('foo'));
@@ -501,14 +501,14 @@ checkLogSink(api.LogSink o) {
buildCounterLogSink--;
}
-buildUnnamed4040() {
+buildUnnamed4158() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4040(core.Map<core.String, core.String> o) {
+checkUnnamed4158(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'));
@@ -519,7 +519,7 @@ buildMonitoredResource() {
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed4040();
+ o.labels = buildUnnamed4158();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -529,20 +529,20 @@ buildMonitoredResource() {
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed4040(o.labels);
+ checkUnnamed4158(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed4041() {
+buildUnnamed4159() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed4041(core.List<api.LabelDescriptor> o) {
+checkUnnamed4159(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -555,7 +555,7 @@ buildMonitoredResourceDescriptor() {
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed4041();
+ o.labels = buildUnnamed4159();
o.name = "foo";
o.type = "foo";
}
@@ -568,34 +568,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed4041(o.labels);
+ checkUnnamed4159(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed4042() {
+buildUnnamed4160() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed4042(core.List<api.LogLine> o) {
+checkUnnamed4160(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed4043() {
+buildUnnamed4161() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed4043(core.List<api.SourceReference> o) {
+checkUnnamed4161(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -618,7 +618,7 @@ buildRequestLog() {
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed4042();
+ o.line = buildUnnamed4160();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -628,7 +628,7 @@ buildRequestLog() {
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed4043();
+ o.sourceReference = buildUnnamed4161();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -658,7 +658,7 @@ checkRequestLog(api.RequestLog o) {
unittest.expect(o.instanceIndex, unittest.equals(42));
unittest.expect(o.ip, unittest.equals('foo'));
unittest.expect(o.latency, unittest.equals('foo'));
- checkUnnamed4042(o.line);
+ checkUnnamed4160(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -668,7 +668,7 @@ checkRequestLog(api.RequestLog o) {
unittest.expect(o.requestId, unittest.equals('foo'));
unittest.expect(o.resource, unittest.equals('foo'));
unittest.expect(o.responseSize, unittest.equals('foo'));
- checkUnnamed4043(o.sourceReference);
+ checkUnnamed4161(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -726,30 +726,30 @@ checkSourceReference(api.SourceReference o) {
buildCounterSourceReference--;
}
-buildUnnamed4044() {
+buildUnnamed4162() {
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;
}
-checkUnnamed4044(core.Map<core.String, core.Object> o) {
+checkUnnamed4162(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) 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'));
var casted6 = (o["y"]) 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'));
}
-buildUnnamed4045() {
+buildUnnamed4163() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed4044());
- o.add(buildUnnamed4044());
+ o.add(buildUnnamed4162());
+ o.add(buildUnnamed4162());
return o;
}
-checkUnnamed4045(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed4163(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed4044(o[0]);
- checkUnnamed4044(o[1]);
+ checkUnnamed4162(o[0]);
+ checkUnnamed4162(o[1]);
}
core.int buildCounterStatus = 0;
@@ -758,7 +758,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed4045();
+ o.details = buildUnnamed4163();
o.message = "foo";
}
buildCounterStatus--;
@@ -769,33 +769,33 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed4045(o.details);
+ checkUnnamed4163(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed4046() {
+buildUnnamed4164() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed4046(core.List<api.LogEntry> o) {
+checkUnnamed4164(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed4047() {
+buildUnnamed4165() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed4047(core.Map<core.String, core.String> o) {
+checkUnnamed4165(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'));
@@ -806,8 +806,8 @@ buildWriteLogEntriesRequest() {
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed4046();
- o.labels = buildUnnamed4047();
+ o.entries = buildUnnamed4164();
+ o.labels = buildUnnamed4165();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -819,8 +819,8 @@ buildWriteLogEntriesRequest() {
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed4046(o.entries);
- checkUnnamed4047(o.labels);
+ checkUnnamed4164(o.entries);
+ checkUnnamed4165(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);

Powered by Google App Engine
This is Rietveld 408576698