| OLD | NEW |
| 1 library googleapis_beta.logging.v2beta1.test; | 1 library googleapis_beta.logging.v2beta1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 checkLabelDescriptor(api.LabelDescriptor o) { | 121 checkLabelDescriptor(api.LabelDescriptor o) { |
| 122 buildCounterLabelDescriptor++; | 122 buildCounterLabelDescriptor++; |
| 123 if (buildCounterLabelDescriptor < 3) { | 123 if (buildCounterLabelDescriptor < 3) { |
| 124 unittest.expect(o.description, unittest.equals('foo')); | 124 unittest.expect(o.description, unittest.equals('foo')); |
| 125 unittest.expect(o.key, unittest.equals('foo')); | 125 unittest.expect(o.key, unittest.equals('foo')); |
| 126 unittest.expect(o.valueType, unittest.equals('foo')); | 126 unittest.expect(o.valueType, unittest.equals('foo')); |
| 127 } | 127 } |
| 128 buildCounterLabelDescriptor--; | 128 buildCounterLabelDescriptor--; |
| 129 } | 129 } |
| 130 | 130 |
| 131 buildUnnamed3099() { | 131 buildUnnamed3445() { |
| 132 var o = new core.List<core.String>(); | 132 var o = new core.List<core.String>(); |
| 133 o.add("foo"); | 133 o.add("foo"); |
| 134 o.add("foo"); | 134 o.add("foo"); |
| 135 return o; | 135 return o; |
| 136 } | 136 } |
| 137 | 137 |
| 138 checkUnnamed3099(core.List<core.String> o) { | 138 checkUnnamed3445(core.List<core.String> o) { |
| 139 unittest.expect(o, unittest.hasLength(2)); | 139 unittest.expect(o, unittest.hasLength(2)); |
| 140 unittest.expect(o[0], unittest.equals('foo')); | 140 unittest.expect(o[0], unittest.equals('foo')); |
| 141 unittest.expect(o[1], unittest.equals('foo')); | 141 unittest.expect(o[1], unittest.equals('foo')); |
| 142 } | 142 } |
| 143 | 143 |
| 144 core.int buildCounterListLogEntriesRequest = 0; | 144 core.int buildCounterListLogEntriesRequest = 0; |
| 145 buildListLogEntriesRequest() { | 145 buildListLogEntriesRequest() { |
| 146 var o = new api.ListLogEntriesRequest(); | 146 var o = new api.ListLogEntriesRequest(); |
| 147 buildCounterListLogEntriesRequest++; | 147 buildCounterListLogEntriesRequest++; |
| 148 if (buildCounterListLogEntriesRequest < 3) { | 148 if (buildCounterListLogEntriesRequest < 3) { |
| 149 o.filter = "foo"; | 149 o.filter = "foo"; |
| 150 o.orderBy = "foo"; | 150 o.orderBy = "foo"; |
| 151 o.pageSize = 42; | 151 o.pageSize = 42; |
| 152 o.pageToken = "foo"; | 152 o.pageToken = "foo"; |
| 153 o.projectIds = buildUnnamed3099(); | 153 o.projectIds = buildUnnamed3445(); |
| 154 } | 154 } |
| 155 buildCounterListLogEntriesRequest--; | 155 buildCounterListLogEntriesRequest--; |
| 156 return o; | 156 return o; |
| 157 } | 157 } |
| 158 | 158 |
| 159 checkListLogEntriesRequest(api.ListLogEntriesRequest o) { | 159 checkListLogEntriesRequest(api.ListLogEntriesRequest o) { |
| 160 buildCounterListLogEntriesRequest++; | 160 buildCounterListLogEntriesRequest++; |
| 161 if (buildCounterListLogEntriesRequest < 3) { | 161 if (buildCounterListLogEntriesRequest < 3) { |
| 162 unittest.expect(o.filter, unittest.equals('foo')); | 162 unittest.expect(o.filter, unittest.equals('foo')); |
| 163 unittest.expect(o.orderBy, unittest.equals('foo')); | 163 unittest.expect(o.orderBy, unittest.equals('foo')); |
| 164 unittest.expect(o.pageSize, unittest.equals(42)); | 164 unittest.expect(o.pageSize, unittest.equals(42)); |
| 165 unittest.expect(o.pageToken, unittest.equals('foo')); | 165 unittest.expect(o.pageToken, unittest.equals('foo')); |
| 166 checkUnnamed3099(o.projectIds); | 166 checkUnnamed3445(o.projectIds); |
| 167 } | 167 } |
| 168 buildCounterListLogEntriesRequest--; | 168 buildCounterListLogEntriesRequest--; |
| 169 } | 169 } |
| 170 | 170 |
| 171 buildUnnamed3100() { | 171 buildUnnamed3446() { |
| 172 var o = new core.List<api.LogEntry>(); | 172 var o = new core.List<api.LogEntry>(); |
| 173 o.add(buildLogEntry()); | 173 o.add(buildLogEntry()); |
| 174 o.add(buildLogEntry()); | 174 o.add(buildLogEntry()); |
| 175 return o; | 175 return o; |
| 176 } | 176 } |
| 177 | 177 |
| 178 checkUnnamed3100(core.List<api.LogEntry> o) { | 178 checkUnnamed3446(core.List<api.LogEntry> o) { |
| 179 unittest.expect(o, unittest.hasLength(2)); | 179 unittest.expect(o, unittest.hasLength(2)); |
| 180 checkLogEntry(o[0]); | 180 checkLogEntry(o[0]); |
| 181 checkLogEntry(o[1]); | 181 checkLogEntry(o[1]); |
| 182 } | 182 } |
| 183 | 183 |
| 184 core.int buildCounterListLogEntriesResponse = 0; | 184 core.int buildCounterListLogEntriesResponse = 0; |
| 185 buildListLogEntriesResponse() { | 185 buildListLogEntriesResponse() { |
| 186 var o = new api.ListLogEntriesResponse(); | 186 var o = new api.ListLogEntriesResponse(); |
| 187 buildCounterListLogEntriesResponse++; | 187 buildCounterListLogEntriesResponse++; |
| 188 if (buildCounterListLogEntriesResponse < 3) { | 188 if (buildCounterListLogEntriesResponse < 3) { |
| 189 o.entries = buildUnnamed3100(); | 189 o.entries = buildUnnamed3446(); |
| 190 o.nextPageToken = "foo"; | 190 o.nextPageToken = "foo"; |
| 191 } | 191 } |
| 192 buildCounterListLogEntriesResponse--; | 192 buildCounterListLogEntriesResponse--; |
| 193 return o; | 193 return o; |
| 194 } | 194 } |
| 195 | 195 |
| 196 checkListLogEntriesResponse(api.ListLogEntriesResponse o) { | 196 checkListLogEntriesResponse(api.ListLogEntriesResponse o) { |
| 197 buildCounterListLogEntriesResponse++; | 197 buildCounterListLogEntriesResponse++; |
| 198 if (buildCounterListLogEntriesResponse < 3) { | 198 if (buildCounterListLogEntriesResponse < 3) { |
| 199 checkUnnamed3100(o.entries); | 199 checkUnnamed3446(o.entries); |
| 200 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 200 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 201 } | 201 } |
| 202 buildCounterListLogEntriesResponse--; | 202 buildCounterListLogEntriesResponse--; |
| 203 } | 203 } |
| 204 | 204 |
| 205 buildUnnamed3101() { | 205 buildUnnamed3447() { |
| 206 var o = new core.List<api.LogMetric>(); | 206 var o = new core.List<api.LogMetric>(); |
| 207 o.add(buildLogMetric()); | 207 o.add(buildLogMetric()); |
| 208 o.add(buildLogMetric()); | 208 o.add(buildLogMetric()); |
| 209 return o; | 209 return o; |
| 210 } | 210 } |
| 211 | 211 |
| 212 checkUnnamed3101(core.List<api.LogMetric> o) { | 212 checkUnnamed3447(core.List<api.LogMetric> o) { |
| 213 unittest.expect(o, unittest.hasLength(2)); | 213 unittest.expect(o, unittest.hasLength(2)); |
| 214 checkLogMetric(o[0]); | 214 checkLogMetric(o[0]); |
| 215 checkLogMetric(o[1]); | 215 checkLogMetric(o[1]); |
| 216 } | 216 } |
| 217 | 217 |
| 218 core.int buildCounterListLogMetricsResponse = 0; | 218 core.int buildCounterListLogMetricsResponse = 0; |
| 219 buildListLogMetricsResponse() { | 219 buildListLogMetricsResponse() { |
| 220 var o = new api.ListLogMetricsResponse(); | 220 var o = new api.ListLogMetricsResponse(); |
| 221 buildCounterListLogMetricsResponse++; | 221 buildCounterListLogMetricsResponse++; |
| 222 if (buildCounterListLogMetricsResponse < 3) { | 222 if (buildCounterListLogMetricsResponse < 3) { |
| 223 o.metrics = buildUnnamed3101(); | 223 o.metrics = buildUnnamed3447(); |
| 224 o.nextPageToken = "foo"; | 224 o.nextPageToken = "foo"; |
| 225 } | 225 } |
| 226 buildCounterListLogMetricsResponse--; | 226 buildCounterListLogMetricsResponse--; |
| 227 return o; | 227 return o; |
| 228 } | 228 } |
| 229 | 229 |
| 230 checkListLogMetricsResponse(api.ListLogMetricsResponse o) { | 230 checkListLogMetricsResponse(api.ListLogMetricsResponse o) { |
| 231 buildCounterListLogMetricsResponse++; | 231 buildCounterListLogMetricsResponse++; |
| 232 if (buildCounterListLogMetricsResponse < 3) { | 232 if (buildCounterListLogMetricsResponse < 3) { |
| 233 checkUnnamed3101(o.metrics); | 233 checkUnnamed3447(o.metrics); |
| 234 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 234 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 235 } | 235 } |
| 236 buildCounterListLogMetricsResponse--; | 236 buildCounterListLogMetricsResponse--; |
| 237 } | 237 } |
| 238 | 238 |
| 239 buildUnnamed3102() { | 239 buildUnnamed3448() { |
| 240 var o = new core.List<api.MonitoredResourceDescriptor>(); | 240 var o = new core.List<api.MonitoredResourceDescriptor>(); |
| 241 o.add(buildMonitoredResourceDescriptor()); | 241 o.add(buildMonitoredResourceDescriptor()); |
| 242 o.add(buildMonitoredResourceDescriptor()); | 242 o.add(buildMonitoredResourceDescriptor()); |
| 243 return o; | 243 return o; |
| 244 } | 244 } |
| 245 | 245 |
| 246 checkUnnamed3102(core.List<api.MonitoredResourceDescriptor> o) { | 246 checkUnnamed3448(core.List<api.MonitoredResourceDescriptor> o) { |
| 247 unittest.expect(o, unittest.hasLength(2)); | 247 unittest.expect(o, unittest.hasLength(2)); |
| 248 checkMonitoredResourceDescriptor(o[0]); | 248 checkMonitoredResourceDescriptor(o[0]); |
| 249 checkMonitoredResourceDescriptor(o[1]); | 249 checkMonitoredResourceDescriptor(o[1]); |
| 250 } | 250 } |
| 251 | 251 |
| 252 core.int buildCounterListMonitoredResourceDescriptorsResponse = 0; | 252 core.int buildCounterListMonitoredResourceDescriptorsResponse = 0; |
| 253 buildListMonitoredResourceDescriptorsResponse() { | 253 buildListMonitoredResourceDescriptorsResponse() { |
| 254 var o = new api.ListMonitoredResourceDescriptorsResponse(); | 254 var o = new api.ListMonitoredResourceDescriptorsResponse(); |
| 255 buildCounterListMonitoredResourceDescriptorsResponse++; | 255 buildCounterListMonitoredResourceDescriptorsResponse++; |
| 256 if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { | 256 if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { |
| 257 o.nextPageToken = "foo"; | 257 o.nextPageToken = "foo"; |
| 258 o.resourceDescriptors = buildUnnamed3102(); | 258 o.resourceDescriptors = buildUnnamed3448(); |
| 259 } | 259 } |
| 260 buildCounterListMonitoredResourceDescriptorsResponse--; | 260 buildCounterListMonitoredResourceDescriptorsResponse--; |
| 261 return o; | 261 return o; |
| 262 } | 262 } |
| 263 | 263 |
| 264 checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
rsResponse o) { | 264 checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
rsResponse o) { |
| 265 buildCounterListMonitoredResourceDescriptorsResponse++; | 265 buildCounterListMonitoredResourceDescriptorsResponse++; |
| 266 if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { | 266 if (buildCounterListMonitoredResourceDescriptorsResponse < 3) { |
| 267 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 267 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 268 checkUnnamed3102(o.resourceDescriptors); | 268 checkUnnamed3448(o.resourceDescriptors); |
| 269 } | 269 } |
| 270 buildCounterListMonitoredResourceDescriptorsResponse--; | 270 buildCounterListMonitoredResourceDescriptorsResponse--; |
| 271 } | 271 } |
| 272 | 272 |
| 273 buildUnnamed3103() { | 273 buildUnnamed3449() { |
| 274 var o = new core.List<api.LogSink>(); | 274 var o = new core.List<api.LogSink>(); |
| 275 o.add(buildLogSink()); | 275 o.add(buildLogSink()); |
| 276 o.add(buildLogSink()); | 276 o.add(buildLogSink()); |
| 277 return o; | 277 return o; |
| 278 } | 278 } |
| 279 | 279 |
| 280 checkUnnamed3103(core.List<api.LogSink> o) { | 280 checkUnnamed3449(core.List<api.LogSink> o) { |
| 281 unittest.expect(o, unittest.hasLength(2)); | 281 unittest.expect(o, unittest.hasLength(2)); |
| 282 checkLogSink(o[0]); | 282 checkLogSink(o[0]); |
| 283 checkLogSink(o[1]); | 283 checkLogSink(o[1]); |
| 284 } | 284 } |
| 285 | 285 |
| 286 core.int buildCounterListSinksResponse = 0; | 286 core.int buildCounterListSinksResponse = 0; |
| 287 buildListSinksResponse() { | 287 buildListSinksResponse() { |
| 288 var o = new api.ListSinksResponse(); | 288 var o = new api.ListSinksResponse(); |
| 289 buildCounterListSinksResponse++; | 289 buildCounterListSinksResponse++; |
| 290 if (buildCounterListSinksResponse < 3) { | 290 if (buildCounterListSinksResponse < 3) { |
| 291 o.nextPageToken = "foo"; | 291 o.nextPageToken = "foo"; |
| 292 o.sinks = buildUnnamed3103(); | 292 o.sinks = buildUnnamed3449(); |
| 293 } | 293 } |
| 294 buildCounterListSinksResponse--; | 294 buildCounterListSinksResponse--; |
| 295 return o; | 295 return o; |
| 296 } | 296 } |
| 297 | 297 |
| 298 checkListSinksResponse(api.ListSinksResponse o) { | 298 checkListSinksResponse(api.ListSinksResponse o) { |
| 299 buildCounterListSinksResponse++; | 299 buildCounterListSinksResponse++; |
| 300 if (buildCounterListSinksResponse < 3) { | 300 if (buildCounterListSinksResponse < 3) { |
| 301 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 301 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 302 checkUnnamed3103(o.sinks); | 302 checkUnnamed3449(o.sinks); |
| 303 } | 303 } |
| 304 buildCounterListSinksResponse--; | 304 buildCounterListSinksResponse--; |
| 305 } | 305 } |
| 306 | 306 |
| 307 buildUnnamed3104() { | 307 buildUnnamed3450() { |
| 308 var o = new core.Map<core.String, core.Object>(); | 308 var o = new core.Map<core.String, core.Object>(); |
| 309 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 309 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 310 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 310 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 311 return o; | 311 return o; |
| 312 } | 312 } |
| 313 | 313 |
| 314 checkUnnamed3104(core.Map<core.String, core.Object> o) { | 314 checkUnnamed3450(core.Map<core.String, core.Object> o) { |
| 315 unittest.expect(o, unittest.hasLength(2)); | 315 unittest.expect(o, unittest.hasLength(2)); |
| 316 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); | 316 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt
h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"],
unittest.equals('foo')); |
| 317 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); | 317 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt
h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"],
unittest.equals('foo')); |
| 318 } | 318 } |
| 319 | 319 |
| 320 buildUnnamed3105() { | 320 buildUnnamed3451() { |
| 321 var o = new core.Map<core.String, core.String>(); | 321 var o = new core.Map<core.String, core.String>(); |
| 322 o["x"] = "foo"; | 322 o["x"] = "foo"; |
| 323 o["y"] = "foo"; | 323 o["y"] = "foo"; |
| 324 return o; | 324 return o; |
| 325 } | 325 } |
| 326 | 326 |
| 327 checkUnnamed3105(core.Map<core.String, core.String> o) { | 327 checkUnnamed3451(core.Map<core.String, core.String> o) { |
| 328 unittest.expect(o, unittest.hasLength(2)); | 328 unittest.expect(o, unittest.hasLength(2)); |
| 329 unittest.expect(o["x"], unittest.equals('foo')); | 329 unittest.expect(o["x"], unittest.equals('foo')); |
| 330 unittest.expect(o["y"], unittest.equals('foo')); | 330 unittest.expect(o["y"], unittest.equals('foo')); |
| 331 } | 331 } |
| 332 | 332 |
| 333 buildUnnamed3106() { | 333 buildUnnamed3452() { |
| 334 var o = new core.Map<core.String, core.Object>(); | 334 var o = new core.Map<core.String, core.Object>(); |
| 335 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 335 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 336 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 336 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 337 return o; | 337 return o; |
| 338 } | 338 } |
| 339 | 339 |
| 340 checkUnnamed3106(core.Map<core.String, core.Object> o) { | 340 checkUnnamed3452(core.Map<core.String, core.Object> o) { |
| 341 unittest.expect(o, unittest.hasLength(2)); | 341 unittest.expect(o, unittest.hasLength(2)); |
| 342 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); | 342 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt
h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"],
unittest.equals('foo')); |
| 343 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); | 343 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt
h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex
pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"],
unittest.equals('foo')); |
| 344 } | 344 } |
| 345 | 345 |
| 346 core.int buildCounterLogEntry = 0; | 346 core.int buildCounterLogEntry = 0; |
| 347 buildLogEntry() { | 347 buildLogEntry() { |
| 348 var o = new api.LogEntry(); | 348 var o = new api.LogEntry(); |
| 349 buildCounterLogEntry++; | 349 buildCounterLogEntry++; |
| 350 if (buildCounterLogEntry < 3) { | 350 if (buildCounterLogEntry < 3) { |
| 351 o.httpRequest = buildHttpRequest(); | 351 o.httpRequest = buildHttpRequest(); |
| 352 o.insertId = "foo"; | 352 o.insertId = "foo"; |
| 353 o.jsonPayload = buildUnnamed3104(); | 353 o.jsonPayload = buildUnnamed3450(); |
| 354 o.labels = buildUnnamed3105(); | 354 o.labels = buildUnnamed3451(); |
| 355 o.logName = "foo"; | 355 o.logName = "foo"; |
| 356 o.operation = buildLogEntryOperation(); | 356 o.operation = buildLogEntryOperation(); |
| 357 o.protoPayload = buildUnnamed3106(); | 357 o.protoPayload = buildUnnamed3452(); |
| 358 o.resource = buildMonitoredResource(); | 358 o.resource = buildMonitoredResource(); |
| 359 o.severity = "foo"; | 359 o.severity = "foo"; |
| 360 o.textPayload = "foo"; | 360 o.textPayload = "foo"; |
| 361 o.timestamp = "foo"; | 361 o.timestamp = "foo"; |
| 362 } | 362 } |
| 363 buildCounterLogEntry--; | 363 buildCounterLogEntry--; |
| 364 return o; | 364 return o; |
| 365 } | 365 } |
| 366 | 366 |
| 367 checkLogEntry(api.LogEntry o) { | 367 checkLogEntry(api.LogEntry o) { |
| 368 buildCounterLogEntry++; | 368 buildCounterLogEntry++; |
| 369 if (buildCounterLogEntry < 3) { | 369 if (buildCounterLogEntry < 3) { |
| 370 checkHttpRequest(o.httpRequest); | 370 checkHttpRequest(o.httpRequest); |
| 371 unittest.expect(o.insertId, unittest.equals('foo')); | 371 unittest.expect(o.insertId, unittest.equals('foo')); |
| 372 checkUnnamed3104(o.jsonPayload); | 372 checkUnnamed3450(o.jsonPayload); |
| 373 checkUnnamed3105(o.labels); | 373 checkUnnamed3451(o.labels); |
| 374 unittest.expect(o.logName, unittest.equals('foo')); | 374 unittest.expect(o.logName, unittest.equals('foo')); |
| 375 checkLogEntryOperation(o.operation); | 375 checkLogEntryOperation(o.operation); |
| 376 checkUnnamed3106(o.protoPayload); | 376 checkUnnamed3452(o.protoPayload); |
| 377 checkMonitoredResource(o.resource); | 377 checkMonitoredResource(o.resource); |
| 378 unittest.expect(o.severity, unittest.equals('foo')); | 378 unittest.expect(o.severity, unittest.equals('foo')); |
| 379 unittest.expect(o.textPayload, unittest.equals('foo')); | 379 unittest.expect(o.textPayload, unittest.equals('foo')); |
| 380 unittest.expect(o.timestamp, unittest.equals('foo')); | 380 unittest.expect(o.timestamp, unittest.equals('foo')); |
| 381 } | 381 } |
| 382 buildCounterLogEntry--; | 382 buildCounterLogEntry--; |
| 383 } | 383 } |
| 384 | 384 |
| 385 core.int buildCounterLogEntryOperation = 0; | 385 core.int buildCounterLogEntryOperation = 0; |
| 386 buildLogEntryOperation() { | 386 buildLogEntryOperation() { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 buildCounterLogSink++; | 473 buildCounterLogSink++; |
| 474 if (buildCounterLogSink < 3) { | 474 if (buildCounterLogSink < 3) { |
| 475 unittest.expect(o.destination, unittest.equals('foo')); | 475 unittest.expect(o.destination, unittest.equals('foo')); |
| 476 unittest.expect(o.filter, unittest.equals('foo')); | 476 unittest.expect(o.filter, unittest.equals('foo')); |
| 477 unittest.expect(o.name, unittest.equals('foo')); | 477 unittest.expect(o.name, unittest.equals('foo')); |
| 478 unittest.expect(o.outputVersionFormat, unittest.equals('foo')); | 478 unittest.expect(o.outputVersionFormat, unittest.equals('foo')); |
| 479 } | 479 } |
| 480 buildCounterLogSink--; | 480 buildCounterLogSink--; |
| 481 } | 481 } |
| 482 | 482 |
| 483 buildUnnamed3107() { | 483 buildUnnamed3453() { |
| 484 var o = new core.Map<core.String, core.String>(); | 484 var o = new core.Map<core.String, core.String>(); |
| 485 o["x"] = "foo"; | 485 o["x"] = "foo"; |
| 486 o["y"] = "foo"; | 486 o["y"] = "foo"; |
| 487 return o; | 487 return o; |
| 488 } | 488 } |
| 489 | 489 |
| 490 checkUnnamed3107(core.Map<core.String, core.String> o) { | 490 checkUnnamed3453(core.Map<core.String, core.String> o) { |
| 491 unittest.expect(o, unittest.hasLength(2)); | 491 unittest.expect(o, unittest.hasLength(2)); |
| 492 unittest.expect(o["x"], unittest.equals('foo')); | 492 unittest.expect(o["x"], unittest.equals('foo')); |
| 493 unittest.expect(o["y"], unittest.equals('foo')); | 493 unittest.expect(o["y"], unittest.equals('foo')); |
| 494 } | 494 } |
| 495 | 495 |
| 496 core.int buildCounterMonitoredResource = 0; | 496 core.int buildCounterMonitoredResource = 0; |
| 497 buildMonitoredResource() { | 497 buildMonitoredResource() { |
| 498 var o = new api.MonitoredResource(); | 498 var o = new api.MonitoredResource(); |
| 499 buildCounterMonitoredResource++; | 499 buildCounterMonitoredResource++; |
| 500 if (buildCounterMonitoredResource < 3) { | 500 if (buildCounterMonitoredResource < 3) { |
| 501 o.labels = buildUnnamed3107(); | 501 o.labels = buildUnnamed3453(); |
| 502 o.type = "foo"; | 502 o.type = "foo"; |
| 503 } | 503 } |
| 504 buildCounterMonitoredResource--; | 504 buildCounterMonitoredResource--; |
| 505 return o; | 505 return o; |
| 506 } | 506 } |
| 507 | 507 |
| 508 checkMonitoredResource(api.MonitoredResource o) { | 508 checkMonitoredResource(api.MonitoredResource o) { |
| 509 buildCounterMonitoredResource++; | 509 buildCounterMonitoredResource++; |
| 510 if (buildCounterMonitoredResource < 3) { | 510 if (buildCounterMonitoredResource < 3) { |
| 511 checkUnnamed3107(o.labels); | 511 checkUnnamed3453(o.labels); |
| 512 unittest.expect(o.type, unittest.equals('foo')); | 512 unittest.expect(o.type, unittest.equals('foo')); |
| 513 } | 513 } |
| 514 buildCounterMonitoredResource--; | 514 buildCounterMonitoredResource--; |
| 515 } | 515 } |
| 516 | 516 |
| 517 buildUnnamed3108() { | 517 buildUnnamed3454() { |
| 518 var o = new core.List<api.LabelDescriptor>(); | 518 var o = new core.List<api.LabelDescriptor>(); |
| 519 o.add(buildLabelDescriptor()); | 519 o.add(buildLabelDescriptor()); |
| 520 o.add(buildLabelDescriptor()); | 520 o.add(buildLabelDescriptor()); |
| 521 return o; | 521 return o; |
| 522 } | 522 } |
| 523 | 523 |
| 524 checkUnnamed3108(core.List<api.LabelDescriptor> o) { | 524 checkUnnamed3454(core.List<api.LabelDescriptor> o) { |
| 525 unittest.expect(o, unittest.hasLength(2)); | 525 unittest.expect(o, unittest.hasLength(2)); |
| 526 checkLabelDescriptor(o[0]); | 526 checkLabelDescriptor(o[0]); |
| 527 checkLabelDescriptor(o[1]); | 527 checkLabelDescriptor(o[1]); |
| 528 } | 528 } |
| 529 | 529 |
| 530 core.int buildCounterMonitoredResourceDescriptor = 0; | 530 core.int buildCounterMonitoredResourceDescriptor = 0; |
| 531 buildMonitoredResourceDescriptor() { | 531 buildMonitoredResourceDescriptor() { |
| 532 var o = new api.MonitoredResourceDescriptor(); | 532 var o = new api.MonitoredResourceDescriptor(); |
| 533 buildCounterMonitoredResourceDescriptor++; | 533 buildCounterMonitoredResourceDescriptor++; |
| 534 if (buildCounterMonitoredResourceDescriptor < 3) { | 534 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 535 o.description = "foo"; | 535 o.description = "foo"; |
| 536 o.displayName = "foo"; | 536 o.displayName = "foo"; |
| 537 o.labels = buildUnnamed3108(); | 537 o.labels = buildUnnamed3454(); |
| 538 o.type = "foo"; | 538 o.type = "foo"; |
| 539 } | 539 } |
| 540 buildCounterMonitoredResourceDescriptor--; | 540 buildCounterMonitoredResourceDescriptor--; |
| 541 return o; | 541 return o; |
| 542 } | 542 } |
| 543 | 543 |
| 544 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { | 544 checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) { |
| 545 buildCounterMonitoredResourceDescriptor++; | 545 buildCounterMonitoredResourceDescriptor++; |
| 546 if (buildCounterMonitoredResourceDescriptor < 3) { | 546 if (buildCounterMonitoredResourceDescriptor < 3) { |
| 547 unittest.expect(o.description, unittest.equals('foo')); | 547 unittest.expect(o.description, unittest.equals('foo')); |
| 548 unittest.expect(o.displayName, unittest.equals('foo')); | 548 unittest.expect(o.displayName, unittest.equals('foo')); |
| 549 checkUnnamed3108(o.labels); | 549 checkUnnamed3454(o.labels); |
| 550 unittest.expect(o.type, unittest.equals('foo')); | 550 unittest.expect(o.type, unittest.equals('foo')); |
| 551 } | 551 } |
| 552 buildCounterMonitoredResourceDescriptor--; | 552 buildCounterMonitoredResourceDescriptor--; |
| 553 } | 553 } |
| 554 | 554 |
| 555 buildUnnamed3109() { | 555 buildUnnamed3455() { |
| 556 var o = new core.List<api.LogLine>(); | 556 var o = new core.List<api.LogLine>(); |
| 557 o.add(buildLogLine()); | 557 o.add(buildLogLine()); |
| 558 o.add(buildLogLine()); | 558 o.add(buildLogLine()); |
| 559 return o; | 559 return o; |
| 560 } | 560 } |
| 561 | 561 |
| 562 checkUnnamed3109(core.List<api.LogLine> o) { | 562 checkUnnamed3455(core.List<api.LogLine> o) { |
| 563 unittest.expect(o, unittest.hasLength(2)); | 563 unittest.expect(o, unittest.hasLength(2)); |
| 564 checkLogLine(o[0]); | 564 checkLogLine(o[0]); |
| 565 checkLogLine(o[1]); | 565 checkLogLine(o[1]); |
| 566 } | 566 } |
| 567 | 567 |
| 568 buildUnnamed3110() { | 568 buildUnnamed3456() { |
| 569 var o = new core.List<api.SourceReference>(); | 569 var o = new core.List<api.SourceReference>(); |
| 570 o.add(buildSourceReference()); | 570 o.add(buildSourceReference()); |
| 571 o.add(buildSourceReference()); | 571 o.add(buildSourceReference()); |
| 572 return o; | 572 return o; |
| 573 } | 573 } |
| 574 | 574 |
| 575 checkUnnamed3110(core.List<api.SourceReference> o) { | 575 checkUnnamed3456(core.List<api.SourceReference> o) { |
| 576 unittest.expect(o, unittest.hasLength(2)); | 576 unittest.expect(o, unittest.hasLength(2)); |
| 577 checkSourceReference(o[0]); | 577 checkSourceReference(o[0]); |
| 578 checkSourceReference(o[1]); | 578 checkSourceReference(o[1]); |
| 579 } | 579 } |
| 580 | 580 |
| 581 core.int buildCounterRequestLog = 0; | 581 core.int buildCounterRequestLog = 0; |
| 582 buildRequestLog() { | 582 buildRequestLog() { |
| 583 var o = new api.RequestLog(); | 583 var o = new api.RequestLog(); |
| 584 buildCounterRequestLog++; | 584 buildCounterRequestLog++; |
| 585 if (buildCounterRequestLog < 3) { | 585 if (buildCounterRequestLog < 3) { |
| 586 o.appEngineRelease = "foo"; | 586 o.appEngineRelease = "foo"; |
| 587 o.appId = "foo"; | 587 o.appId = "foo"; |
| 588 o.cost = 42.0; | 588 o.cost = 42.0; |
| 589 o.endTime = "foo"; | 589 o.endTime = "foo"; |
| 590 o.finished = true; | 590 o.finished = true; |
| 591 o.host = "foo"; | 591 o.host = "foo"; |
| 592 o.httpVersion = "foo"; | 592 o.httpVersion = "foo"; |
| 593 o.instanceId = "foo"; | 593 o.instanceId = "foo"; |
| 594 o.instanceIndex = 42; | 594 o.instanceIndex = 42; |
| 595 o.ip = "foo"; | 595 o.ip = "foo"; |
| 596 o.latency = "foo"; | 596 o.latency = "foo"; |
| 597 o.line = buildUnnamed3109(); | 597 o.line = buildUnnamed3455(); |
| 598 o.megaCycles = "foo"; | 598 o.megaCycles = "foo"; |
| 599 o.method = "foo"; | 599 o.method = "foo"; |
| 600 o.moduleId = "foo"; | 600 o.moduleId = "foo"; |
| 601 o.nickname = "foo"; | 601 o.nickname = "foo"; |
| 602 o.pendingTime = "foo"; | 602 o.pendingTime = "foo"; |
| 603 o.referrer = "foo"; | 603 o.referrer = "foo"; |
| 604 o.requestId = "foo"; | 604 o.requestId = "foo"; |
| 605 o.resource = "foo"; | 605 o.resource = "foo"; |
| 606 o.responseSize = "foo"; | 606 o.responseSize = "foo"; |
| 607 o.sourceReference = buildUnnamed3110(); | 607 o.sourceReference = buildUnnamed3456(); |
| 608 o.startTime = "foo"; | 608 o.startTime = "foo"; |
| 609 o.status = 42; | 609 o.status = 42; |
| 610 o.taskName = "foo"; | 610 o.taskName = "foo"; |
| 611 o.taskQueueName = "foo"; | 611 o.taskQueueName = "foo"; |
| 612 o.traceId = "foo"; | 612 o.traceId = "foo"; |
| 613 o.urlMapEntry = "foo"; | 613 o.urlMapEntry = "foo"; |
| 614 o.userAgent = "foo"; | 614 o.userAgent = "foo"; |
| 615 o.versionId = "foo"; | 615 o.versionId = "foo"; |
| 616 o.wasLoadingRequest = true; | 616 o.wasLoadingRequest = true; |
| 617 } | 617 } |
| 618 buildCounterRequestLog--; | 618 buildCounterRequestLog--; |
| 619 return o; | 619 return o; |
| 620 } | 620 } |
| 621 | 621 |
| 622 checkRequestLog(api.RequestLog o) { | 622 checkRequestLog(api.RequestLog o) { |
| 623 buildCounterRequestLog++; | 623 buildCounterRequestLog++; |
| 624 if (buildCounterRequestLog < 3) { | 624 if (buildCounterRequestLog < 3) { |
| 625 unittest.expect(o.appEngineRelease, unittest.equals('foo')); | 625 unittest.expect(o.appEngineRelease, unittest.equals('foo')); |
| 626 unittest.expect(o.appId, unittest.equals('foo')); | 626 unittest.expect(o.appId, unittest.equals('foo')); |
| 627 unittest.expect(o.cost, unittest.equals(42.0)); | 627 unittest.expect(o.cost, unittest.equals(42.0)); |
| 628 unittest.expect(o.endTime, unittest.equals('foo')); | 628 unittest.expect(o.endTime, unittest.equals('foo')); |
| 629 unittest.expect(o.finished, unittest.isTrue); | 629 unittest.expect(o.finished, unittest.isTrue); |
| 630 unittest.expect(o.host, unittest.equals('foo')); | 630 unittest.expect(o.host, unittest.equals('foo')); |
| 631 unittest.expect(o.httpVersion, unittest.equals('foo')); | 631 unittest.expect(o.httpVersion, unittest.equals('foo')); |
| 632 unittest.expect(o.instanceId, unittest.equals('foo')); | 632 unittest.expect(o.instanceId, unittest.equals('foo')); |
| 633 unittest.expect(o.instanceIndex, unittest.equals(42)); | 633 unittest.expect(o.instanceIndex, unittest.equals(42)); |
| 634 unittest.expect(o.ip, unittest.equals('foo')); | 634 unittest.expect(o.ip, unittest.equals('foo')); |
| 635 unittest.expect(o.latency, unittest.equals('foo')); | 635 unittest.expect(o.latency, unittest.equals('foo')); |
| 636 checkUnnamed3109(o.line); | 636 checkUnnamed3455(o.line); |
| 637 unittest.expect(o.megaCycles, unittest.equals('foo')); | 637 unittest.expect(o.megaCycles, unittest.equals('foo')); |
| 638 unittest.expect(o.method, unittest.equals('foo')); | 638 unittest.expect(o.method, unittest.equals('foo')); |
| 639 unittest.expect(o.moduleId, unittest.equals('foo')); | 639 unittest.expect(o.moduleId, unittest.equals('foo')); |
| 640 unittest.expect(o.nickname, unittest.equals('foo')); | 640 unittest.expect(o.nickname, unittest.equals('foo')); |
| 641 unittest.expect(o.pendingTime, unittest.equals('foo')); | 641 unittest.expect(o.pendingTime, unittest.equals('foo')); |
| 642 unittest.expect(o.referrer, unittest.equals('foo')); | 642 unittest.expect(o.referrer, unittest.equals('foo')); |
| 643 unittest.expect(o.requestId, unittest.equals('foo')); | 643 unittest.expect(o.requestId, unittest.equals('foo')); |
| 644 unittest.expect(o.resource, unittest.equals('foo')); | 644 unittest.expect(o.resource, unittest.equals('foo')); |
| 645 unittest.expect(o.responseSize, unittest.equals('foo')); | 645 unittest.expect(o.responseSize, unittest.equals('foo')); |
| 646 checkUnnamed3110(o.sourceReference); | 646 checkUnnamed3456(o.sourceReference); |
| 647 unittest.expect(o.startTime, unittest.equals('foo')); | 647 unittest.expect(o.startTime, unittest.equals('foo')); |
| 648 unittest.expect(o.status, unittest.equals(42)); | 648 unittest.expect(o.status, unittest.equals(42)); |
| 649 unittest.expect(o.taskName, unittest.equals('foo')); | 649 unittest.expect(o.taskName, unittest.equals('foo')); |
| 650 unittest.expect(o.taskQueueName, unittest.equals('foo')); | 650 unittest.expect(o.taskQueueName, unittest.equals('foo')); |
| 651 unittest.expect(o.traceId, unittest.equals('foo')); | 651 unittest.expect(o.traceId, unittest.equals('foo')); |
| 652 unittest.expect(o.urlMapEntry, unittest.equals('foo')); | 652 unittest.expect(o.urlMapEntry, unittest.equals('foo')); |
| 653 unittest.expect(o.userAgent, unittest.equals('foo')); | 653 unittest.expect(o.userAgent, unittest.equals('foo')); |
| 654 unittest.expect(o.versionId, unittest.equals('foo')); | 654 unittest.expect(o.versionId, unittest.equals('foo')); |
| 655 unittest.expect(o.wasLoadingRequest, unittest.isTrue); | 655 unittest.expect(o.wasLoadingRequest, unittest.isTrue); |
| 656 } | 656 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 | 694 |
| 695 checkSourceReference(api.SourceReference o) { | 695 checkSourceReference(api.SourceReference o) { |
| 696 buildCounterSourceReference++; | 696 buildCounterSourceReference++; |
| 697 if (buildCounterSourceReference < 3) { | 697 if (buildCounterSourceReference < 3) { |
| 698 unittest.expect(o.repository, unittest.equals('foo')); | 698 unittest.expect(o.repository, unittest.equals('foo')); |
| 699 unittest.expect(o.revisionId, unittest.equals('foo')); | 699 unittest.expect(o.revisionId, unittest.equals('foo')); |
| 700 } | 700 } |
| 701 buildCounterSourceReference--; | 701 buildCounterSourceReference--; |
| 702 } | 702 } |
| 703 | 703 |
| 704 buildUnnamed3111() { | 704 buildUnnamed3457() { |
| 705 var o = new core.List<api.LogEntry>(); | 705 var o = new core.List<api.LogEntry>(); |
| 706 o.add(buildLogEntry()); | 706 o.add(buildLogEntry()); |
| 707 o.add(buildLogEntry()); | 707 o.add(buildLogEntry()); |
| 708 return o; | 708 return o; |
| 709 } | 709 } |
| 710 | 710 |
| 711 checkUnnamed3111(core.List<api.LogEntry> o) { | 711 checkUnnamed3457(core.List<api.LogEntry> o) { |
| 712 unittest.expect(o, unittest.hasLength(2)); | 712 unittest.expect(o, unittest.hasLength(2)); |
| 713 checkLogEntry(o[0]); | 713 checkLogEntry(o[0]); |
| 714 checkLogEntry(o[1]); | 714 checkLogEntry(o[1]); |
| 715 } | 715 } |
| 716 | 716 |
| 717 buildUnnamed3112() { | 717 buildUnnamed3458() { |
| 718 var o = new core.Map<core.String, core.String>(); | 718 var o = new core.Map<core.String, core.String>(); |
| 719 o["x"] = "foo"; | 719 o["x"] = "foo"; |
| 720 o["y"] = "foo"; | 720 o["y"] = "foo"; |
| 721 return o; | 721 return o; |
| 722 } | 722 } |
| 723 | 723 |
| 724 checkUnnamed3112(core.Map<core.String, core.String> o) { | 724 checkUnnamed3458(core.Map<core.String, core.String> o) { |
| 725 unittest.expect(o, unittest.hasLength(2)); | 725 unittest.expect(o, unittest.hasLength(2)); |
| 726 unittest.expect(o["x"], unittest.equals('foo')); | 726 unittest.expect(o["x"], unittest.equals('foo')); |
| 727 unittest.expect(o["y"], unittest.equals('foo')); | 727 unittest.expect(o["y"], unittest.equals('foo')); |
| 728 } | 728 } |
| 729 | 729 |
| 730 core.int buildCounterWriteLogEntriesRequest = 0; | 730 core.int buildCounterWriteLogEntriesRequest = 0; |
| 731 buildWriteLogEntriesRequest() { | 731 buildWriteLogEntriesRequest() { |
| 732 var o = new api.WriteLogEntriesRequest(); | 732 var o = new api.WriteLogEntriesRequest(); |
| 733 buildCounterWriteLogEntriesRequest++; | 733 buildCounterWriteLogEntriesRequest++; |
| 734 if (buildCounterWriteLogEntriesRequest < 3) { | 734 if (buildCounterWriteLogEntriesRequest < 3) { |
| 735 o.entries = buildUnnamed3111(); | 735 o.entries = buildUnnamed3457(); |
| 736 o.labels = buildUnnamed3112(); | 736 o.labels = buildUnnamed3458(); |
| 737 o.logName = "foo"; | 737 o.logName = "foo"; |
| 738 o.resource = buildMonitoredResource(); | 738 o.resource = buildMonitoredResource(); |
| 739 } | 739 } |
| 740 buildCounterWriteLogEntriesRequest--; | 740 buildCounterWriteLogEntriesRequest--; |
| 741 return o; | 741 return o; |
| 742 } | 742 } |
| 743 | 743 |
| 744 checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) { | 744 checkWriteLogEntriesRequest(api.WriteLogEntriesRequest o) { |
| 745 buildCounterWriteLogEntriesRequest++; | 745 buildCounterWriteLogEntriesRequest++; |
| 746 if (buildCounterWriteLogEntriesRequest < 3) { | 746 if (buildCounterWriteLogEntriesRequest < 3) { |
| 747 checkUnnamed3111(o.entries); | 747 checkUnnamed3457(o.entries); |
| 748 checkUnnamed3112(o.labels); | 748 checkUnnamed3458(o.labels); |
| 749 unittest.expect(o.logName, unittest.equals('foo')); | 749 unittest.expect(o.logName, unittest.equals('foo')); |
| 750 checkMonitoredResource(o.resource); | 750 checkMonitoredResource(o.resource); |
| 751 } | 751 } |
| 752 buildCounterWriteLogEntriesRequest--; | 752 buildCounterWriteLogEntriesRequest--; |
| 753 } | 753 } |
| 754 | 754 |
| 755 core.int buildCounterWriteLogEntriesResponse = 0; | 755 core.int buildCounterWriteLogEntriesResponse = 0; |
| 756 buildWriteLogEntriesResponse() { | 756 buildWriteLogEntriesResponse() { |
| 757 var o = new api.WriteLogEntriesResponse(); | 757 var o = new api.WriteLogEntriesResponse(); |
| 758 buildCounterWriteLogEntriesResponse++; | 758 buildCounterWriteLogEntriesResponse++; |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 res.update(arg_request, arg_sinkName).then(unittest.expectAsync(((api.LogS
ink response) { | 1626 res.update(arg_request, arg_sinkName).then(unittest.expectAsync(((api.LogS
ink response) { |
| 1627 checkLogSink(response); | 1627 checkLogSink(response); |
| 1628 }))); | 1628 }))); |
| 1629 }); | 1629 }); |
| 1630 | 1630 |
| 1631 }); | 1631 }); |
| 1632 | 1632 |
| 1633 | 1633 |
| 1634 } | 1634 } |
| 1635 | 1635 |
| OLD | NEW |