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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 139412effd4b5ea84859d3591d60ffdecc43933a..12a8d44cfa0dfedb1486d055c7b86a20b41327cb 100644
--- a/generated/googleapis_beta/test/logging/v2beta1_test.dart
+++ b/generated/googleapis_beta/test/logging/v2beta1_test.dart
@@ -136,27 +136,27 @@ checkLabelDescriptor(api.LabelDescriptor o) {
buildCounterLabelDescriptor--;
}
-buildUnnamed3325() {
+buildUnnamed3453() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3325(core.List<core.String> o) {
+checkUnnamed3453(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'));
}
-buildUnnamed3326() {
+buildUnnamed3454() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3326(core.List<core.String> o) {
+checkUnnamed3454(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'));
@@ -171,8 +171,8 @@ buildListLogEntriesRequest() {
o.orderBy = "foo";
o.pageSize = 42;
o.pageToken = "foo";
- o.projectIds = buildUnnamed3325();
- o.resourceNames = buildUnnamed3326();
+ o.projectIds = buildUnnamed3453();
+ o.resourceNames = buildUnnamed3454();
}
buildCounterListLogEntriesRequest--;
return o;
@@ -185,20 +185,20 @@ checkListLogEntriesRequest(api.ListLogEntriesRequest o) {
unittest.expect(o.orderBy, unittest.equals('foo'));
unittest.expect(o.pageSize, unittest.equals(42));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed3325(o.projectIds);
- checkUnnamed3326(o.resourceNames);
+ checkUnnamed3453(o.projectIds);
+ checkUnnamed3454(o.resourceNames);
}
buildCounterListLogEntriesRequest--;
}
-buildUnnamed3327() {
+buildUnnamed3455() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3327(core.List<api.LogEntry> o) {
+checkUnnamed3455(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
@@ -209,7 +209,7 @@ buildListLogEntriesResponse() {
var o = new api.ListLogEntriesResponse();
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- o.entries = buildUnnamed3327();
+ o.entries = buildUnnamed3455();
o.nextPageToken = "foo";
}
buildCounterListLogEntriesResponse--;
@@ -219,20 +219,20 @@ buildListLogEntriesResponse() {
checkListLogEntriesResponse(api.ListLogEntriesResponse o) {
buildCounterListLogEntriesResponse++;
if (buildCounterListLogEntriesResponse < 3) {
- checkUnnamed3327(o.entries);
+ checkUnnamed3455(o.entries);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogEntriesResponse--;
}
-buildUnnamed3328() {
+buildUnnamed3456() {
var o = new core.List<api.LogMetric>();
o.add(buildLogMetric());
o.add(buildLogMetric());
return o;
}
-checkUnnamed3328(core.List<api.LogMetric> o) {
+checkUnnamed3456(core.List<api.LogMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogMetric(o[0]);
checkLogMetric(o[1]);
@@ -243,7 +243,7 @@ buildListLogMetricsResponse() {
var o = new api.ListLogMetricsResponse();
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- o.metrics = buildUnnamed3328();
+ o.metrics = buildUnnamed3456();
o.nextPageToken = "foo";
}
buildCounterListLogMetricsResponse--;
@@ -253,20 +253,20 @@ buildListLogMetricsResponse() {
checkListLogMetricsResponse(api.ListLogMetricsResponse o) {
buildCounterListLogMetricsResponse++;
if (buildCounterListLogMetricsResponse < 3) {
- checkUnnamed3328(o.metrics);
+ checkUnnamed3456(o.metrics);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogMetricsResponse--;
}
-buildUnnamed3329() {
+buildUnnamed3457() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3329(core.List<core.String> o) {
+checkUnnamed3457(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'));
@@ -277,7 +277,7 @@ buildListLogsResponse() {
var o = new api.ListLogsResponse();
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- o.logNames = buildUnnamed3329();
+ o.logNames = buildUnnamed3457();
o.nextPageToken = "foo";
}
buildCounterListLogsResponse--;
@@ -287,20 +287,20 @@ buildListLogsResponse() {
checkListLogsResponse(api.ListLogsResponse o) {
buildCounterListLogsResponse++;
if (buildCounterListLogsResponse < 3) {
- checkUnnamed3329(o.logNames);
+ checkUnnamed3457(o.logNames);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListLogsResponse--;
}
-buildUnnamed3330() {
+buildUnnamed3458() {
var o = new core.List<api.MonitoredResourceDescriptor>();
o.add(buildMonitoredResourceDescriptor());
o.add(buildMonitoredResourceDescriptor());
return o;
}
-checkUnnamed3330(core.List<api.MonitoredResourceDescriptor> o) {
+checkUnnamed3458(core.List<api.MonitoredResourceDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkMonitoredResourceDescriptor(o[0]);
checkMonitoredResourceDescriptor(o[1]);
@@ -312,7 +312,7 @@ buildListMonitoredResourceDescriptorsResponse() {
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
o.nextPageToken = "foo";
- o.resourceDescriptors = buildUnnamed3330();
+ o.resourceDescriptors = buildUnnamed3458();
}
buildCounterListMonitoredResourceDescriptorsResponse--;
return o;
@@ -322,19 +322,19 @@ checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
buildCounterListMonitoredResourceDescriptorsResponse++;
if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3330(o.resourceDescriptors);
+ checkUnnamed3458(o.resourceDescriptors);
}
buildCounterListMonitoredResourceDescriptorsResponse--;
}
-buildUnnamed3331() {
+buildUnnamed3459() {
var o = new core.List<api.LogSink>();
o.add(buildLogSink());
o.add(buildLogSink());
return o;
}
-checkUnnamed3331(core.List<api.LogSink> o) {
+checkUnnamed3459(core.List<api.LogSink> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogSink(o[0]);
checkLogSink(o[1]);
@@ -346,7 +346,7 @@ buildListSinksResponse() {
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
o.nextPageToken = "foo";
- o.sinks = buildUnnamed3331();
+ o.sinks = buildUnnamed3459();
}
buildCounterListSinksResponse--;
return o;
@@ -356,45 +356,45 @@ checkListSinksResponse(api.ListSinksResponse o) {
buildCounterListSinksResponse++;
if (buildCounterListSinksResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3331(o.sinks);
+ checkUnnamed3459(o.sinks);
}
buildCounterListSinksResponse--;
}
-buildUnnamed3332() {
+buildUnnamed3460() {
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;
}
-checkUnnamed3332(core.Map<core.String, core.Object> o) {
+checkUnnamed3460(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'));
}
-buildUnnamed3333() {
+buildUnnamed3461() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3333(core.Map<core.String, core.String> o) {
+checkUnnamed3461(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'));
}
-buildUnnamed3334() {
+buildUnnamed3462() {
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;
}
-checkUnnamed3334(core.Map<core.String, core.Object> o) {
+checkUnnamed3462(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'));
@@ -407,11 +407,11 @@ buildLogEntry() {
if (buildCounterLogEntry < 3) {
o.httpRequest = buildHttpRequest();
o.insertId = "foo";
- o.jsonPayload = buildUnnamed3332();
- o.labels = buildUnnamed3333();
+ o.jsonPayload = buildUnnamed3460();
+ o.labels = buildUnnamed3461();
o.logName = "foo";
o.operation = buildLogEntryOperation();
- o.protoPayload = buildUnnamed3334();
+ o.protoPayload = buildUnnamed3462();
o.receiveTimestamp = "foo";
o.resource = buildMonitoredResource();
o.severity = "foo";
@@ -429,11 +429,11 @@ checkLogEntry(api.LogEntry o) {
if (buildCounterLogEntry < 3) {
checkHttpRequest(o.httpRequest);
unittest.expect(o.insertId, unittest.equals('foo'));
- checkUnnamed3332(o.jsonPayload);
- checkUnnamed3333(o.labels);
+ checkUnnamed3460(o.jsonPayload);
+ checkUnnamed3461(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
checkLogEntryOperation(o.operation);
- checkUnnamed3334(o.protoPayload);
+ checkUnnamed3462(o.protoPayload);
unittest.expect(o.receiveTimestamp, unittest.equals('foo'));
checkMonitoredResource(o.resource);
unittest.expect(o.severity, unittest.equals('foo'));
@@ -576,14 +576,14 @@ checkLogSink(api.LogSink o) {
buildCounterLogSink--;
}
-buildUnnamed3335() {
+buildUnnamed3463() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3335(core.Map<core.String, core.String> o) {
+checkUnnamed3463(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'));
@@ -594,7 +594,7 @@ buildMonitoredResource() {
var o = new api.MonitoredResource();
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- o.labels = buildUnnamed3335();
+ o.labels = buildUnnamed3463();
o.type = "foo";
}
buildCounterMonitoredResource--;
@@ -604,20 +604,20 @@ buildMonitoredResource() {
checkMonitoredResource(api.MonitoredResource o) {
buildCounterMonitoredResource++;
if (buildCounterMonitoredResource < 3) {
- checkUnnamed3335(o.labels);
+ checkUnnamed3463(o.labels);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResource--;
}
-buildUnnamed3336() {
+buildUnnamed3464() {
var o = new core.List<api.LabelDescriptor>();
o.add(buildLabelDescriptor());
o.add(buildLabelDescriptor());
return o;
}
-checkUnnamed3336(core.List<api.LabelDescriptor> o) {
+checkUnnamed3464(core.List<api.LabelDescriptor> o) {
unittest.expect(o, unittest.hasLength(2));
checkLabelDescriptor(o[0]);
checkLabelDescriptor(o[1]);
@@ -630,7 +630,7 @@ buildMonitoredResourceDescriptor() {
if (buildCounterMonitoredResourceDescriptor < 3) {
o.description = "foo";
o.displayName = "foo";
- o.labels = buildUnnamed3336();
+ o.labels = buildUnnamed3464();
o.name = "foo";
o.type = "foo";
}
@@ -643,34 +643,34 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
if (buildCounterMonitoredResourceDescriptor < 3) {
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.displayName, unittest.equals('foo'));
- checkUnnamed3336(o.labels);
+ checkUnnamed3464(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterMonitoredResourceDescriptor--;
}
-buildUnnamed3337() {
+buildUnnamed3465() {
var o = new core.List<api.LogLine>();
o.add(buildLogLine());
o.add(buildLogLine());
return o;
}
-checkUnnamed3337(core.List<api.LogLine> o) {
+checkUnnamed3465(core.List<api.LogLine> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogLine(o[0]);
checkLogLine(o[1]);
}
-buildUnnamed3338() {
+buildUnnamed3466() {
var o = new core.List<api.SourceReference>();
o.add(buildSourceReference());
o.add(buildSourceReference());
return o;
}
-checkUnnamed3338(core.List<api.SourceReference> o) {
+checkUnnamed3466(core.List<api.SourceReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkSourceReference(o[0]);
checkSourceReference(o[1]);
@@ -693,7 +693,7 @@ buildRequestLog() {
o.instanceIndex = 42;
o.ip = "foo";
o.latency = "foo";
- o.line = buildUnnamed3337();
+ o.line = buildUnnamed3465();
o.megaCycles = "foo";
o.method = "foo";
o.moduleId = "foo";
@@ -703,7 +703,7 @@ buildRequestLog() {
o.requestId = "foo";
o.resource = "foo";
o.responseSize = "foo";
- o.sourceReference = buildUnnamed3338();
+ o.sourceReference = buildUnnamed3466();
o.startTime = "foo";
o.status = 42;
o.taskName = "foo";
@@ -733,7 +733,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'));
- checkUnnamed3337(o.line);
+ checkUnnamed3465(o.line);
unittest.expect(o.megaCycles, unittest.equals('foo'));
unittest.expect(o.method, unittest.equals('foo'));
unittest.expect(o.moduleId, unittest.equals('foo'));
@@ -743,7 +743,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'));
- checkUnnamed3338(o.sourceReference);
+ checkUnnamed3466(o.sourceReference);
unittest.expect(o.startTime, unittest.equals('foo'));
unittest.expect(o.status, unittest.equals(42));
unittest.expect(o.taskName, unittest.equals('foo'));
@@ -801,27 +801,27 @@ checkSourceReference(api.SourceReference o) {
buildCounterSourceReference--;
}
-buildUnnamed3339() {
+buildUnnamed3467() {
var o = new core.List<api.LogEntry>();
o.add(buildLogEntry());
o.add(buildLogEntry());
return o;
}
-checkUnnamed3339(core.List<api.LogEntry> o) {
+checkUnnamed3467(core.List<api.LogEntry> o) {
unittest.expect(o, unittest.hasLength(2));
checkLogEntry(o[0]);
checkLogEntry(o[1]);
}
-buildUnnamed3340() {
+buildUnnamed3468() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3340(core.Map<core.String, core.String> o) {
+checkUnnamed3468(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'));
@@ -832,8 +832,8 @@ buildWriteLogEntriesRequest() {
var o = new api.WriteLogEntriesRequest();
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- o.entries = buildUnnamed3339();
- o.labels = buildUnnamed3340();
+ o.entries = buildUnnamed3467();
+ o.labels = buildUnnamed3468();
o.logName = "foo";
o.partialSuccess = true;
o.resource = buildMonitoredResource();
@@ -845,8 +845,8 @@ buildWriteLogEntriesRequest() {
checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) {
buildCounterWriteLogEntriesRequest++;
if (buildCounterWriteLogEntriesRequest < 3) {
- checkUnnamed3339(o.entries);
- checkUnnamed3340(o.labels);
+ checkUnnamed3467(o.entries);
+ checkUnnamed3468(o.labels);
unittest.expect(o.logName, unittest.equals('foo'));
unittest.expect(o.partialSuccess, unittest.isTrue);
checkMonitoredResource(o.resource);
« no previous file with comments | « generated/googleapis_beta/test/language/v1beta2_test.dart ('k') | generated/googleapis_beta/test/oslogin/v1alpha_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698