| OLD | NEW |
| 1 library googleapis.slides.v1.test; | 1 library googleapis.slides.v1.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
| 11 | 11 |
| 12 import 'package:googleapis/slides/v1.dart' as api; | 12 import 'package:googleapis/slides/v1.dart' as api; |
| 13 | 13 |
| 14 class HttpServerMock extends http.BaseClient { | 14 class HttpServerMock extends http.BaseClient { |
| 15 core.Function _callback; | 15 core.Function _callback; |
| 16 core.bool _expectJson; | 16 core.bool _expectJson; |
| 17 | 17 |
| 18 void register(core.Function callback, core.bool expectJson) { | 18 void register(core.Function callback, core.bool expectJson) { |
| 19 _callback = callback; | 19 _callback = callback; |
| 20 _expectJson = expectJson; | 20 _expectJson = expectJson; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 } else { | 39 } else { |
| 40 return stream.toBytes().then((data) { | 40 return stream.toBytes().then((data) { |
| 41 return _callback(request, data); | 41 return _callback(request, data); |
| 42 }); | 42 }); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 http.StreamedResponse stringResponse( | 48 http.StreamedResponse stringResponse( |
| 49 core.int status, core.Map headers, core.String body) { | 49 core.int status, core.Map<core.String, core.String> headers, core.String bod
y) { |
| 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); | 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); |
| 51 return new http.StreamedResponse(stream, status, headers: headers); | 51 return new http.StreamedResponse(stream, status, headers: headers); |
| 52 } | 52 } |
| 53 | 53 |
| 54 core.int buildCounterAffineTransform = 0; | 54 core.int buildCounterAffineTransform = 0; |
| 55 buildAffineTransform() { | 55 buildAffineTransform() { |
| 56 var o = new api.AffineTransform(); | 56 var o = new api.AffineTransform(); |
| 57 buildCounterAffineTransform++; | 57 buildCounterAffineTransform++; |
| 58 if (buildCounterAffineTransform < 3) { | 58 if (buildCounterAffineTransform < 3) { |
| 59 o.scaleX = 42.0; | 59 o.scaleX = 42.0; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 checkAutoText(api.AutoText o) { | 98 checkAutoText(api.AutoText o) { |
| 99 buildCounterAutoText++; | 99 buildCounterAutoText++; |
| 100 if (buildCounterAutoText < 3) { | 100 if (buildCounterAutoText < 3) { |
| 101 unittest.expect(o.content, unittest.equals('foo')); | 101 unittest.expect(o.content, unittest.equals('foo')); |
| 102 checkTextStyle(o.style); | 102 checkTextStyle(o.style); |
| 103 unittest.expect(o.type, unittest.equals('foo')); | 103 unittest.expect(o.type, unittest.equals('foo')); |
| 104 } | 104 } |
| 105 buildCounterAutoText--; | 105 buildCounterAutoText--; |
| 106 } | 106 } |
| 107 | 107 |
| 108 buildUnnamed1582() { | 108 buildUnnamed1589() { |
| 109 var o = new core.List<api.Request>(); | 109 var o = new core.List<api.Request>(); |
| 110 o.add(buildRequest()); | 110 o.add(buildRequest()); |
| 111 o.add(buildRequest()); | 111 o.add(buildRequest()); |
| 112 return o; | 112 return o; |
| 113 } | 113 } |
| 114 | 114 |
| 115 checkUnnamed1582(core.List<api.Request> o) { | 115 checkUnnamed1589(core.List<api.Request> o) { |
| 116 unittest.expect(o, unittest.hasLength(2)); | 116 unittest.expect(o, unittest.hasLength(2)); |
| 117 checkRequest(o[0]); | 117 checkRequest(o[0]); |
| 118 checkRequest(o[1]); | 118 checkRequest(o[1]); |
| 119 } | 119 } |
| 120 | 120 |
| 121 core.int buildCounterBatchUpdatePresentationRequest = 0; | 121 core.int buildCounterBatchUpdatePresentationRequest = 0; |
| 122 buildBatchUpdatePresentationRequest() { | 122 buildBatchUpdatePresentationRequest() { |
| 123 var o = new api.BatchUpdatePresentationRequest(); | 123 var o = new api.BatchUpdatePresentationRequest(); |
| 124 buildCounterBatchUpdatePresentationRequest++; | 124 buildCounterBatchUpdatePresentationRequest++; |
| 125 if (buildCounterBatchUpdatePresentationRequest < 3) { | 125 if (buildCounterBatchUpdatePresentationRequest < 3) { |
| 126 o.requests = buildUnnamed1582(); | 126 o.requests = buildUnnamed1589(); |
| 127 o.writeControl = buildWriteControl(); | 127 o.writeControl = buildWriteControl(); |
| 128 } | 128 } |
| 129 buildCounterBatchUpdatePresentationRequest--; | 129 buildCounterBatchUpdatePresentationRequest--; |
| 130 return o; | 130 return o; |
| 131 } | 131 } |
| 132 | 132 |
| 133 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { | 133 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { |
| 134 buildCounterBatchUpdatePresentationRequest++; | 134 buildCounterBatchUpdatePresentationRequest++; |
| 135 if (buildCounterBatchUpdatePresentationRequest < 3) { | 135 if (buildCounterBatchUpdatePresentationRequest < 3) { |
| 136 checkUnnamed1582(o.requests); | 136 checkUnnamed1589(o.requests); |
| 137 checkWriteControl(o.writeControl); | 137 checkWriteControl(o.writeControl); |
| 138 } | 138 } |
| 139 buildCounterBatchUpdatePresentationRequest--; | 139 buildCounterBatchUpdatePresentationRequest--; |
| 140 } | 140 } |
| 141 | 141 |
| 142 buildUnnamed1583() { | 142 buildUnnamed1590() { |
| 143 var o = new core.List<api.Response>(); | 143 var o = new core.List<api.Response>(); |
| 144 o.add(buildResponse()); | 144 o.add(buildResponse()); |
| 145 o.add(buildResponse()); | 145 o.add(buildResponse()); |
| 146 return o; | 146 return o; |
| 147 } | 147 } |
| 148 | 148 |
| 149 checkUnnamed1583(core.List<api.Response> o) { | 149 checkUnnamed1590(core.List<api.Response> o) { |
| 150 unittest.expect(o, unittest.hasLength(2)); | 150 unittest.expect(o, unittest.hasLength(2)); |
| 151 checkResponse(o[0]); | 151 checkResponse(o[0]); |
| 152 checkResponse(o[1]); | 152 checkResponse(o[1]); |
| 153 } | 153 } |
| 154 | 154 |
| 155 core.int buildCounterBatchUpdatePresentationResponse = 0; | 155 core.int buildCounterBatchUpdatePresentationResponse = 0; |
| 156 buildBatchUpdatePresentationResponse() { | 156 buildBatchUpdatePresentationResponse() { |
| 157 var o = new api.BatchUpdatePresentationResponse(); | 157 var o = new api.BatchUpdatePresentationResponse(); |
| 158 buildCounterBatchUpdatePresentationResponse++; | 158 buildCounterBatchUpdatePresentationResponse++; |
| 159 if (buildCounterBatchUpdatePresentationResponse < 3) { | 159 if (buildCounterBatchUpdatePresentationResponse < 3) { |
| 160 o.presentationId = "foo"; | 160 o.presentationId = "foo"; |
| 161 o.replies = buildUnnamed1583(); | 161 o.replies = buildUnnamed1590(); |
| 162 } | 162 } |
| 163 buildCounterBatchUpdatePresentationResponse--; | 163 buildCounterBatchUpdatePresentationResponse--; |
| 164 return o; | 164 return o; |
| 165 } | 165 } |
| 166 | 166 |
| 167 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) { | 167 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) { |
| 168 buildCounterBatchUpdatePresentationResponse++; | 168 buildCounterBatchUpdatePresentationResponse++; |
| 169 if (buildCounterBatchUpdatePresentationResponse < 3) { | 169 if (buildCounterBatchUpdatePresentationResponse < 3) { |
| 170 unittest.expect(o.presentationId, unittest.equals('foo')); | 170 unittest.expect(o.presentationId, unittest.equals('foo')); |
| 171 checkUnnamed1583(o.replies); | 171 checkUnnamed1590(o.replies); |
| 172 } | 172 } |
| 173 buildCounterBatchUpdatePresentationResponse--; | 173 buildCounterBatchUpdatePresentationResponse--; |
| 174 } | 174 } |
| 175 | 175 |
| 176 core.int buildCounterBullet = 0; | 176 core.int buildCounterBullet = 0; |
| 177 buildBullet() { | 177 buildBullet() { |
| 178 var o = new api.Bullet(); | 178 var o = new api.Bullet(); |
| 179 buildCounterBullet++; | 179 buildCounterBullet++; |
| 180 if (buildCounterBullet < 3) { | 180 if (buildCounterBullet < 3) { |
| 181 o.bulletStyle = buildTextStyle(); | 181 o.bulletStyle = buildTextStyle(); |
| 182 o.glyph = "foo"; | 182 o.glyph = "foo"; |
| 183 o.listId = "foo"; | 183 o.listId = "foo"; |
| 184 o.nestingLevel = 42; | 184 o.nestingLevel = 42; |
| 185 } | 185 } |
| 186 buildCounterBullet--; | 186 buildCounterBullet--; |
| 187 return o; | 187 return o; |
| 188 } | 188 } |
| 189 | 189 |
| 190 checkBullet(api.Bullet o) { | 190 checkBullet(api.Bullet o) { |
| 191 buildCounterBullet++; | 191 buildCounterBullet++; |
| 192 if (buildCounterBullet < 3) { | 192 if (buildCounterBullet < 3) { |
| 193 checkTextStyle(o.bulletStyle); | 193 checkTextStyle(o.bulletStyle); |
| 194 unittest.expect(o.glyph, unittest.equals('foo')); | 194 unittest.expect(o.glyph, unittest.equals('foo')); |
| 195 unittest.expect(o.listId, unittest.equals('foo')); | 195 unittest.expect(o.listId, unittest.equals('foo')); |
| 196 unittest.expect(o.nestingLevel, unittest.equals(42)); | 196 unittest.expect(o.nestingLevel, unittest.equals(42)); |
| 197 } | 197 } |
| 198 buildCounterBullet--; | 198 buildCounterBullet--; |
| 199 } | 199 } |
| 200 | 200 |
| 201 buildUnnamed1584() { | 201 buildUnnamed1591() { |
| 202 var o = new core.List<api.ThemeColorPair>(); | 202 var o = new core.List<api.ThemeColorPair>(); |
| 203 o.add(buildThemeColorPair()); | 203 o.add(buildThemeColorPair()); |
| 204 o.add(buildThemeColorPair()); | 204 o.add(buildThemeColorPair()); |
| 205 return o; | 205 return o; |
| 206 } | 206 } |
| 207 | 207 |
| 208 checkUnnamed1584(core.List<api.ThemeColorPair> o) { | 208 checkUnnamed1591(core.List<api.ThemeColorPair> o) { |
| 209 unittest.expect(o, unittest.hasLength(2)); | 209 unittest.expect(o, unittest.hasLength(2)); |
| 210 checkThemeColorPair(o[0]); | 210 checkThemeColorPair(o[0]); |
| 211 checkThemeColorPair(o[1]); | 211 checkThemeColorPair(o[1]); |
| 212 } | 212 } |
| 213 | 213 |
| 214 core.int buildCounterColorScheme = 0; | 214 core.int buildCounterColorScheme = 0; |
| 215 buildColorScheme() { | 215 buildColorScheme() { |
| 216 var o = new api.ColorScheme(); | 216 var o = new api.ColorScheme(); |
| 217 buildCounterColorScheme++; | 217 buildCounterColorScheme++; |
| 218 if (buildCounterColorScheme < 3) { | 218 if (buildCounterColorScheme < 3) { |
| 219 o.colors = buildUnnamed1584(); | 219 o.colors = buildUnnamed1591(); |
| 220 } | 220 } |
| 221 buildCounterColorScheme--; | 221 buildCounterColorScheme--; |
| 222 return o; | 222 return o; |
| 223 } | 223 } |
| 224 | 224 |
| 225 checkColorScheme(api.ColorScheme o) { | 225 checkColorScheme(api.ColorScheme o) { |
| 226 buildCounterColorScheme++; | 226 buildCounterColorScheme++; |
| 227 if (buildCounterColorScheme < 3) { | 227 if (buildCounterColorScheme < 3) { |
| 228 checkUnnamed1584(o.colors); | 228 checkUnnamed1591(o.colors); |
| 229 } | 229 } |
| 230 buildCounterColorScheme--; | 230 buildCounterColorScheme--; |
| 231 } | 231 } |
| 232 | 232 |
| 233 core.int buildCounterColorStop = 0; | 233 core.int buildCounterColorStop = 0; |
| 234 buildColorStop() { | 234 buildColorStop() { |
| 235 var o = new api.ColorStop(); | 235 var o = new api.ColorStop(); |
| 236 buildCounterColorStop++; | 236 buildCounterColorStop++; |
| 237 if (buildCounterColorStop < 3) { | 237 if (buildCounterColorStop < 3) { |
| 238 o.alpha = 42.0; | 238 o.alpha = 42.0; |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 } | 443 } |
| 444 | 444 |
| 445 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { | 445 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { |
| 446 buildCounterCreateSheetsChartResponse++; | 446 buildCounterCreateSheetsChartResponse++; |
| 447 if (buildCounterCreateSheetsChartResponse < 3) { | 447 if (buildCounterCreateSheetsChartResponse < 3) { |
| 448 unittest.expect(o.objectId, unittest.equals('foo')); | 448 unittest.expect(o.objectId, unittest.equals('foo')); |
| 449 } | 449 } |
| 450 buildCounterCreateSheetsChartResponse--; | 450 buildCounterCreateSheetsChartResponse--; |
| 451 } | 451 } |
| 452 | 452 |
| 453 buildUnnamed1585() { | 453 buildUnnamed1592() { |
| 454 var o = new core.List<api.LayoutPlaceholderIdMapping>(); | 454 var o = new core.List<api.LayoutPlaceholderIdMapping>(); |
| 455 o.add(buildLayoutPlaceholderIdMapping()); | 455 o.add(buildLayoutPlaceholderIdMapping()); |
| 456 o.add(buildLayoutPlaceholderIdMapping()); | 456 o.add(buildLayoutPlaceholderIdMapping()); |
| 457 return o; | 457 return o; |
| 458 } | 458 } |
| 459 | 459 |
| 460 checkUnnamed1585(core.List<api.LayoutPlaceholderIdMapping> o) { | 460 checkUnnamed1592(core.List<api.LayoutPlaceholderIdMapping> o) { |
| 461 unittest.expect(o, unittest.hasLength(2)); | 461 unittest.expect(o, unittest.hasLength(2)); |
| 462 checkLayoutPlaceholderIdMapping(o[0]); | 462 checkLayoutPlaceholderIdMapping(o[0]); |
| 463 checkLayoutPlaceholderIdMapping(o[1]); | 463 checkLayoutPlaceholderIdMapping(o[1]); |
| 464 } | 464 } |
| 465 | 465 |
| 466 core.int buildCounterCreateSlideRequest = 0; | 466 core.int buildCounterCreateSlideRequest = 0; |
| 467 buildCreateSlideRequest() { | 467 buildCreateSlideRequest() { |
| 468 var o = new api.CreateSlideRequest(); | 468 var o = new api.CreateSlideRequest(); |
| 469 buildCounterCreateSlideRequest++; | 469 buildCounterCreateSlideRequest++; |
| 470 if (buildCounterCreateSlideRequest < 3) { | 470 if (buildCounterCreateSlideRequest < 3) { |
| 471 o.insertionIndex = 42; | 471 o.insertionIndex = 42; |
| 472 o.objectId = "foo"; | 472 o.objectId = "foo"; |
| 473 o.placeholderIdMappings = buildUnnamed1585(); | 473 o.placeholderIdMappings = buildUnnamed1592(); |
| 474 o.slideLayoutReference = buildLayoutReference(); | 474 o.slideLayoutReference = buildLayoutReference(); |
| 475 } | 475 } |
| 476 buildCounterCreateSlideRequest--; | 476 buildCounterCreateSlideRequest--; |
| 477 return o; | 477 return o; |
| 478 } | 478 } |
| 479 | 479 |
| 480 checkCreateSlideRequest(api.CreateSlideRequest o) { | 480 checkCreateSlideRequest(api.CreateSlideRequest o) { |
| 481 buildCounterCreateSlideRequest++; | 481 buildCounterCreateSlideRequest++; |
| 482 if (buildCounterCreateSlideRequest < 3) { | 482 if (buildCounterCreateSlideRequest < 3) { |
| 483 unittest.expect(o.insertionIndex, unittest.equals(42)); | 483 unittest.expect(o.insertionIndex, unittest.equals(42)); |
| 484 unittest.expect(o.objectId, unittest.equals('foo')); | 484 unittest.expect(o.objectId, unittest.equals('foo')); |
| 485 checkUnnamed1585(o.placeholderIdMappings); | 485 checkUnnamed1592(o.placeholderIdMappings); |
| 486 checkLayoutReference(o.slideLayoutReference); | 486 checkLayoutReference(o.slideLayoutReference); |
| 487 } | 487 } |
| 488 buildCounterCreateSlideRequest--; | 488 buildCounterCreateSlideRequest--; |
| 489 } | 489 } |
| 490 | 490 |
| 491 core.int buildCounterCreateSlideResponse = 0; | 491 core.int buildCounterCreateSlideResponse = 0; |
| 492 buildCreateSlideResponse() { | 492 buildCreateSlideResponse() { |
| 493 var o = new api.CreateSlideResponse(); | 493 var o = new api.CreateSlideResponse(); |
| 494 buildCounterCreateSlideResponse++; | 494 buildCounterCreateSlideResponse++; |
| 495 if (buildCounterCreateSlideResponse < 3) { | 495 if (buildCounterCreateSlideResponse < 3) { |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 743 | 743 |
| 744 checkDimension(api.Dimension o) { | 744 checkDimension(api.Dimension o) { |
| 745 buildCounterDimension++; | 745 buildCounterDimension++; |
| 746 if (buildCounterDimension < 3) { | 746 if (buildCounterDimension < 3) { |
| 747 unittest.expect(o.magnitude, unittest.equals(42.0)); | 747 unittest.expect(o.magnitude, unittest.equals(42.0)); |
| 748 unittest.expect(o.unit, unittest.equals('foo')); | 748 unittest.expect(o.unit, unittest.equals('foo')); |
| 749 } | 749 } |
| 750 buildCounterDimension--; | 750 buildCounterDimension--; |
| 751 } | 751 } |
| 752 | 752 |
| 753 buildUnnamed1586() { | 753 buildUnnamed1593() { |
| 754 var o = new core.Map<core.String, core.String>(); | 754 var o = new core.Map<core.String, core.String>(); |
| 755 o["x"] = "foo"; | 755 o["x"] = "foo"; |
| 756 o["y"] = "foo"; | 756 o["y"] = "foo"; |
| 757 return o; | 757 return o; |
| 758 } | 758 } |
| 759 | 759 |
| 760 checkUnnamed1586(core.Map<core.String, core.String> o) { | 760 checkUnnamed1593(core.Map<core.String, core.String> o) { |
| 761 unittest.expect(o, unittest.hasLength(2)); | 761 unittest.expect(o, unittest.hasLength(2)); |
| 762 unittest.expect(o["x"], unittest.equals('foo')); | 762 unittest.expect(o["x"], unittest.equals('foo')); |
| 763 unittest.expect(o["y"], unittest.equals('foo')); | 763 unittest.expect(o["y"], unittest.equals('foo')); |
| 764 } | 764 } |
| 765 | 765 |
| 766 core.int buildCounterDuplicateObjectRequest = 0; | 766 core.int buildCounterDuplicateObjectRequest = 0; |
| 767 buildDuplicateObjectRequest() { | 767 buildDuplicateObjectRequest() { |
| 768 var o = new api.DuplicateObjectRequest(); | 768 var o = new api.DuplicateObjectRequest(); |
| 769 buildCounterDuplicateObjectRequest++; | 769 buildCounterDuplicateObjectRequest++; |
| 770 if (buildCounterDuplicateObjectRequest < 3) { | 770 if (buildCounterDuplicateObjectRequest < 3) { |
| 771 o.objectId = "foo"; | 771 o.objectId = "foo"; |
| 772 o.objectIds = buildUnnamed1586(); | 772 o.objectIds = buildUnnamed1593(); |
| 773 } | 773 } |
| 774 buildCounterDuplicateObjectRequest--; | 774 buildCounterDuplicateObjectRequest--; |
| 775 return o; | 775 return o; |
| 776 } | 776 } |
| 777 | 777 |
| 778 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { | 778 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { |
| 779 buildCounterDuplicateObjectRequest++; | 779 buildCounterDuplicateObjectRequest++; |
| 780 if (buildCounterDuplicateObjectRequest < 3) { | 780 if (buildCounterDuplicateObjectRequest < 3) { |
| 781 unittest.expect(o.objectId, unittest.equals('foo')); | 781 unittest.expect(o.objectId, unittest.equals('foo')); |
| 782 checkUnnamed1586(o.objectIds); | 782 checkUnnamed1593(o.objectIds); |
| 783 } | 783 } |
| 784 buildCounterDuplicateObjectRequest--; | 784 buildCounterDuplicateObjectRequest--; |
| 785 } | 785 } |
| 786 | 786 |
| 787 core.int buildCounterDuplicateObjectResponse = 0; | 787 core.int buildCounterDuplicateObjectResponse = 0; |
| 788 buildDuplicateObjectResponse() { | 788 buildDuplicateObjectResponse() { |
| 789 var o = new api.DuplicateObjectResponse(); | 789 var o = new api.DuplicateObjectResponse(); |
| 790 buildCounterDuplicateObjectResponse++; | 790 buildCounterDuplicateObjectResponse++; |
| 791 if (buildCounterDuplicateObjectResponse < 3) { | 791 if (buildCounterDuplicateObjectResponse < 3) { |
| 792 o.objectId = "foo"; | 792 o.objectId = "foo"; |
| 793 } | 793 } |
| 794 buildCounterDuplicateObjectResponse--; | 794 buildCounterDuplicateObjectResponse--; |
| 795 return o; | 795 return o; |
| 796 } | 796 } |
| 797 | 797 |
| 798 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { | 798 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { |
| 799 buildCounterDuplicateObjectResponse++; | 799 buildCounterDuplicateObjectResponse++; |
| 800 if (buildCounterDuplicateObjectResponse < 3) { | 800 if (buildCounterDuplicateObjectResponse < 3) { |
| 801 unittest.expect(o.objectId, unittest.equals('foo')); | 801 unittest.expect(o.objectId, unittest.equals('foo')); |
| 802 } | 802 } |
| 803 buildCounterDuplicateObjectResponse--; | 803 buildCounterDuplicateObjectResponse--; |
| 804 } | 804 } |
| 805 | 805 |
| 806 buildUnnamed1587() { | 806 buildUnnamed1594() { |
| 807 var o = new core.List<api.PageElement>(); | 807 var o = new core.List<api.PageElement>(); |
| 808 o.add(buildPageElement()); | 808 o.add(buildPageElement()); |
| 809 o.add(buildPageElement()); | 809 o.add(buildPageElement()); |
| 810 return o; | 810 return o; |
| 811 } | 811 } |
| 812 | 812 |
| 813 checkUnnamed1587(core.List<api.PageElement> o) { | 813 checkUnnamed1594(core.List<api.PageElement> o) { |
| 814 unittest.expect(o, unittest.hasLength(2)); | 814 unittest.expect(o, unittest.hasLength(2)); |
| 815 checkPageElement(o[0]); | 815 checkPageElement(o[0]); |
| 816 checkPageElement(o[1]); | 816 checkPageElement(o[1]); |
| 817 } | 817 } |
| 818 | 818 |
| 819 core.int buildCounterGroup = 0; | 819 core.int buildCounterGroup = 0; |
| 820 buildGroup() { | 820 buildGroup() { |
| 821 var o = new api.Group(); | 821 var o = new api.Group(); |
| 822 buildCounterGroup++; | 822 buildCounterGroup++; |
| 823 if (buildCounterGroup < 3) { | 823 if (buildCounterGroup < 3) { |
| 824 o.children = buildUnnamed1587(); | 824 o.children = buildUnnamed1594(); |
| 825 } | 825 } |
| 826 buildCounterGroup--; | 826 buildCounterGroup--; |
| 827 return o; | 827 return o; |
| 828 } | 828 } |
| 829 | 829 |
| 830 checkGroup(api.Group o) { | 830 checkGroup(api.Group o) { |
| 831 buildCounterGroup++; | 831 buildCounterGroup++; |
| 832 if (buildCounterGroup < 3) { | 832 if (buildCounterGroup < 3) { |
| 833 checkUnnamed1587(o.children); | 833 checkUnnamed1594(o.children); |
| 834 } | 834 } |
| 835 buildCounterGroup--; | 835 buildCounterGroup--; |
| 836 } | 836 } |
| 837 | 837 |
| 838 core.int buildCounterImage = 0; | 838 core.int buildCounterImage = 0; |
| 839 buildImage() { | 839 buildImage() { |
| 840 var o = new api.Image(); | 840 var o = new api.Image(); |
| 841 buildCounterImage++; | 841 buildCounterImage++; |
| 842 if (buildCounterImage < 3) { | 842 if (buildCounterImage < 3) { |
| 843 o.contentUrl = "foo"; | 843 o.contentUrl = "foo"; |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1118 buildCounterLink++; | 1118 buildCounterLink++; |
| 1119 if (buildCounterLink < 3) { | 1119 if (buildCounterLink < 3) { |
| 1120 unittest.expect(o.pageObjectId, unittest.equals('foo')); | 1120 unittest.expect(o.pageObjectId, unittest.equals('foo')); |
| 1121 unittest.expect(o.relativeLink, unittest.equals('foo')); | 1121 unittest.expect(o.relativeLink, unittest.equals('foo')); |
| 1122 unittest.expect(o.slideIndex, unittest.equals(42)); | 1122 unittest.expect(o.slideIndex, unittest.equals(42)); |
| 1123 unittest.expect(o.url, unittest.equals('foo')); | 1123 unittest.expect(o.url, unittest.equals('foo')); |
| 1124 } | 1124 } |
| 1125 buildCounterLink--; | 1125 buildCounterLink--; |
| 1126 } | 1126 } |
| 1127 | 1127 |
| 1128 buildUnnamed1588() { | 1128 buildUnnamed1595() { |
| 1129 var o = new core.Map<core.String, api.NestingLevel>(); | 1129 var o = new core.Map<core.String, api.NestingLevel>(); |
| 1130 o["x"] = buildNestingLevel(); | 1130 o["x"] = buildNestingLevel(); |
| 1131 o["y"] = buildNestingLevel(); | 1131 o["y"] = buildNestingLevel(); |
| 1132 return o; | 1132 return o; |
| 1133 } | 1133 } |
| 1134 | 1134 |
| 1135 checkUnnamed1588(core.Map<core.String, api.NestingLevel> o) { | 1135 checkUnnamed1595(core.Map<core.String, api.NestingLevel> o) { |
| 1136 unittest.expect(o, unittest.hasLength(2)); | 1136 unittest.expect(o, unittest.hasLength(2)); |
| 1137 checkNestingLevel(o["x"]); | 1137 checkNestingLevel(o["x"]); |
| 1138 checkNestingLevel(o["y"]); | 1138 checkNestingLevel(o["y"]); |
| 1139 } | 1139 } |
| 1140 | 1140 |
| 1141 core.int buildCounterList = 0; | 1141 core.int buildCounterList = 0; |
| 1142 buildList() { | 1142 buildList() { |
| 1143 var o = new api.List(); | 1143 var o = new api.List(); |
| 1144 buildCounterList++; | 1144 buildCounterList++; |
| 1145 if (buildCounterList < 3) { | 1145 if (buildCounterList < 3) { |
| 1146 o.listId = "foo"; | 1146 o.listId = "foo"; |
| 1147 o.nestingLevel = buildUnnamed1588(); | 1147 o.nestingLevel = buildUnnamed1595(); |
| 1148 } | 1148 } |
| 1149 buildCounterList--; | 1149 buildCounterList--; |
| 1150 return o; | 1150 return o; |
| 1151 } | 1151 } |
| 1152 | 1152 |
| 1153 checkList(api.List o) { | 1153 checkList(api.List o) { |
| 1154 buildCounterList++; | 1154 buildCounterList++; |
| 1155 if (buildCounterList < 3) { | 1155 if (buildCounterList < 3) { |
| 1156 unittest.expect(o.listId, unittest.equals('foo')); | 1156 unittest.expect(o.listId, unittest.equals('foo')); |
| 1157 checkUnnamed1588(o.nestingLevel); | 1157 checkUnnamed1595(o.nestingLevel); |
| 1158 } | 1158 } |
| 1159 buildCounterList--; | 1159 buildCounterList--; |
| 1160 } | 1160 } |
| 1161 | 1161 |
| 1162 core.int buildCounterNestingLevel = 0; | 1162 core.int buildCounterNestingLevel = 0; |
| 1163 buildNestingLevel() { | 1163 buildNestingLevel() { |
| 1164 var o = new api.NestingLevel(); | 1164 var o = new api.NestingLevel(); |
| 1165 buildCounterNestingLevel++; | 1165 buildCounterNestingLevel++; |
| 1166 if (buildCounterNestingLevel < 3) { | 1166 if (buildCounterNestingLevel < 3) { |
| 1167 o.bulletStyle = buildTextStyle(); | 1167 o.bulletStyle = buildTextStyle(); |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 } | 1274 } |
| 1275 | 1275 |
| 1276 checkOutlineFill(api.OutlineFill o) { | 1276 checkOutlineFill(api.OutlineFill o) { |
| 1277 buildCounterOutlineFill++; | 1277 buildCounterOutlineFill++; |
| 1278 if (buildCounterOutlineFill < 3) { | 1278 if (buildCounterOutlineFill < 3) { |
| 1279 checkSolidFill(o.solidFill); | 1279 checkSolidFill(o.solidFill); |
| 1280 } | 1280 } |
| 1281 buildCounterOutlineFill--; | 1281 buildCounterOutlineFill--; |
| 1282 } | 1282 } |
| 1283 | 1283 |
| 1284 buildUnnamed1589() { | 1284 buildUnnamed1596() { |
| 1285 var o = new core.List<api.PageElement>(); | 1285 var o = new core.List<api.PageElement>(); |
| 1286 o.add(buildPageElement()); | 1286 o.add(buildPageElement()); |
| 1287 o.add(buildPageElement()); | 1287 o.add(buildPageElement()); |
| 1288 return o; | 1288 return o; |
| 1289 } | 1289 } |
| 1290 | 1290 |
| 1291 checkUnnamed1589(core.List<api.PageElement> o) { | 1291 checkUnnamed1596(core.List<api.PageElement> o) { |
| 1292 unittest.expect(o, unittest.hasLength(2)); | 1292 unittest.expect(o, unittest.hasLength(2)); |
| 1293 checkPageElement(o[0]); | 1293 checkPageElement(o[0]); |
| 1294 checkPageElement(o[1]); | 1294 checkPageElement(o[1]); |
| 1295 } | 1295 } |
| 1296 | 1296 |
| 1297 core.int buildCounterPage = 0; | 1297 core.int buildCounterPage = 0; |
| 1298 buildPage() { | 1298 buildPage() { |
| 1299 var o = new api.Page(); | 1299 var o = new api.Page(); |
| 1300 buildCounterPage++; | 1300 buildCounterPage++; |
| 1301 if (buildCounterPage < 3) { | 1301 if (buildCounterPage < 3) { |
| 1302 o.layoutProperties = buildLayoutProperties(); | 1302 o.layoutProperties = buildLayoutProperties(); |
| 1303 o.notesProperties = buildNotesProperties(); | 1303 o.notesProperties = buildNotesProperties(); |
| 1304 o.objectId = "foo"; | 1304 o.objectId = "foo"; |
| 1305 o.pageElements = buildUnnamed1589(); | 1305 o.pageElements = buildUnnamed1596(); |
| 1306 o.pageProperties = buildPageProperties(); | 1306 o.pageProperties = buildPageProperties(); |
| 1307 o.pageType = "foo"; | 1307 o.pageType = "foo"; |
| 1308 o.revisionId = "foo"; | 1308 o.revisionId = "foo"; |
| 1309 o.slideProperties = buildSlideProperties(); | 1309 o.slideProperties = buildSlideProperties(); |
| 1310 } | 1310 } |
| 1311 buildCounterPage--; | 1311 buildCounterPage--; |
| 1312 return o; | 1312 return o; |
| 1313 } | 1313 } |
| 1314 | 1314 |
| 1315 checkPage(api.Page o) { | 1315 checkPage(api.Page o) { |
| 1316 buildCounterPage++; | 1316 buildCounterPage++; |
| 1317 if (buildCounterPage < 3) { | 1317 if (buildCounterPage < 3) { |
| 1318 checkLayoutProperties(o.layoutProperties); | 1318 checkLayoutProperties(o.layoutProperties); |
| 1319 checkNotesProperties(o.notesProperties); | 1319 checkNotesProperties(o.notesProperties); |
| 1320 unittest.expect(o.objectId, unittest.equals('foo')); | 1320 unittest.expect(o.objectId, unittest.equals('foo')); |
| 1321 checkUnnamed1589(o.pageElements); | 1321 checkUnnamed1596(o.pageElements); |
| 1322 checkPageProperties(o.pageProperties); | 1322 checkPageProperties(o.pageProperties); |
| 1323 unittest.expect(o.pageType, unittest.equals('foo')); | 1323 unittest.expect(o.pageType, unittest.equals('foo')); |
| 1324 unittest.expect(o.revisionId, unittest.equals('foo')); | 1324 unittest.expect(o.revisionId, unittest.equals('foo')); |
| 1325 checkSlideProperties(o.slideProperties); | 1325 checkSlideProperties(o.slideProperties); |
| 1326 } | 1326 } |
| 1327 buildCounterPage--; | 1327 buildCounterPage--; |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 core.int buildCounterPageBackgroundFill = 0; | 1330 core.int buildCounterPageBackgroundFill = 0; |
| 1331 buildPageBackgroundFill() { | 1331 buildPageBackgroundFill() { |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 checkPlaceholder(api.Placeholder o) { | 1509 checkPlaceholder(api.Placeholder o) { |
| 1510 buildCounterPlaceholder++; | 1510 buildCounterPlaceholder++; |
| 1511 if (buildCounterPlaceholder < 3) { | 1511 if (buildCounterPlaceholder < 3) { |
| 1512 unittest.expect(o.index, unittest.equals(42)); | 1512 unittest.expect(o.index, unittest.equals(42)); |
| 1513 unittest.expect(o.parentObjectId, unittest.equals('foo')); | 1513 unittest.expect(o.parentObjectId, unittest.equals('foo')); |
| 1514 unittest.expect(o.type, unittest.equals('foo')); | 1514 unittest.expect(o.type, unittest.equals('foo')); |
| 1515 } | 1515 } |
| 1516 buildCounterPlaceholder--; | 1516 buildCounterPlaceholder--; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 buildUnnamed1590() { | 1519 buildUnnamed1597() { |
| 1520 var o = new core.List<api.Page>(); | 1520 var o = new core.List<api.Page>(); |
| 1521 o.add(buildPage()); | 1521 o.add(buildPage()); |
| 1522 o.add(buildPage()); | 1522 o.add(buildPage()); |
| 1523 return o; | 1523 return o; |
| 1524 } | 1524 } |
| 1525 | 1525 |
| 1526 checkUnnamed1590(core.List<api.Page> o) { | 1526 checkUnnamed1597(core.List<api.Page> o) { |
| 1527 unittest.expect(o, unittest.hasLength(2)); | 1527 unittest.expect(o, unittest.hasLength(2)); |
| 1528 checkPage(o[0]); | 1528 checkPage(o[0]); |
| 1529 checkPage(o[1]); | 1529 checkPage(o[1]); |
| 1530 } | 1530 } |
| 1531 | 1531 |
| 1532 buildUnnamed1591() { | 1532 buildUnnamed1598() { |
| 1533 var o = new core.List<api.Page>(); | 1533 var o = new core.List<api.Page>(); |
| 1534 o.add(buildPage()); | 1534 o.add(buildPage()); |
| 1535 o.add(buildPage()); | 1535 o.add(buildPage()); |
| 1536 return o; | 1536 return o; |
| 1537 } | 1537 } |
| 1538 | 1538 |
| 1539 checkUnnamed1591(core.List<api.Page> o) { | 1539 checkUnnamed1598(core.List<api.Page> o) { |
| 1540 unittest.expect(o, unittest.hasLength(2)); | 1540 unittest.expect(o, unittest.hasLength(2)); |
| 1541 checkPage(o[0]); | 1541 checkPage(o[0]); |
| 1542 checkPage(o[1]); | 1542 checkPage(o[1]); |
| 1543 } | 1543 } |
| 1544 | 1544 |
| 1545 buildUnnamed1592() { | 1545 buildUnnamed1599() { |
| 1546 var o = new core.List<api.Page>(); | 1546 var o = new core.List<api.Page>(); |
| 1547 o.add(buildPage()); | 1547 o.add(buildPage()); |
| 1548 o.add(buildPage()); | 1548 o.add(buildPage()); |
| 1549 return o; | 1549 return o; |
| 1550 } | 1550 } |
| 1551 | 1551 |
| 1552 checkUnnamed1592(core.List<api.Page> o) { | 1552 checkUnnamed1599(core.List<api.Page> o) { |
| 1553 unittest.expect(o, unittest.hasLength(2)); | 1553 unittest.expect(o, unittest.hasLength(2)); |
| 1554 checkPage(o[0]); | 1554 checkPage(o[0]); |
| 1555 checkPage(o[1]); | 1555 checkPage(o[1]); |
| 1556 } | 1556 } |
| 1557 | 1557 |
| 1558 core.int buildCounterPresentation = 0; | 1558 core.int buildCounterPresentation = 0; |
| 1559 buildPresentation() { | 1559 buildPresentation() { |
| 1560 var o = new api.Presentation(); | 1560 var o = new api.Presentation(); |
| 1561 buildCounterPresentation++; | 1561 buildCounterPresentation++; |
| 1562 if (buildCounterPresentation < 3) { | 1562 if (buildCounterPresentation < 3) { |
| 1563 o.layouts = buildUnnamed1590(); | 1563 o.layouts = buildUnnamed1597(); |
| 1564 o.locale = "foo"; | 1564 o.locale = "foo"; |
| 1565 o.masters = buildUnnamed1591(); | 1565 o.masters = buildUnnamed1598(); |
| 1566 o.notesMaster = buildPage(); | 1566 o.notesMaster = buildPage(); |
| 1567 o.pageSize = buildSize(); | 1567 o.pageSize = buildSize(); |
| 1568 o.presentationId = "foo"; | 1568 o.presentationId = "foo"; |
| 1569 o.revisionId = "foo"; | 1569 o.revisionId = "foo"; |
| 1570 o.slides = buildUnnamed1592(); | 1570 o.slides = buildUnnamed1599(); |
| 1571 o.title = "foo"; | 1571 o.title = "foo"; |
| 1572 } | 1572 } |
| 1573 buildCounterPresentation--; | 1573 buildCounterPresentation--; |
| 1574 return o; | 1574 return o; |
| 1575 } | 1575 } |
| 1576 | 1576 |
| 1577 checkPresentation(api.Presentation o) { | 1577 checkPresentation(api.Presentation o) { |
| 1578 buildCounterPresentation++; | 1578 buildCounterPresentation++; |
| 1579 if (buildCounterPresentation < 3) { | 1579 if (buildCounterPresentation < 3) { |
| 1580 checkUnnamed1590(o.layouts); | 1580 checkUnnamed1597(o.layouts); |
| 1581 unittest.expect(o.locale, unittest.equals('foo')); | 1581 unittest.expect(o.locale, unittest.equals('foo')); |
| 1582 checkUnnamed1591(o.masters); | 1582 checkUnnamed1598(o.masters); |
| 1583 checkPage(o.notesMaster); | 1583 checkPage(o.notesMaster); |
| 1584 checkSize(o.pageSize); | 1584 checkSize(o.pageSize); |
| 1585 unittest.expect(o.presentationId, unittest.equals('foo')); | 1585 unittest.expect(o.presentationId, unittest.equals('foo')); |
| 1586 unittest.expect(o.revisionId, unittest.equals('foo')); | 1586 unittest.expect(o.revisionId, unittest.equals('foo')); |
| 1587 checkUnnamed1592(o.slides); | 1587 checkUnnamed1599(o.slides); |
| 1588 unittest.expect(o.title, unittest.equals('foo')); | 1588 unittest.expect(o.title, unittest.equals('foo')); |
| 1589 } | 1589 } |
| 1590 buildCounterPresentation--; | 1590 buildCounterPresentation--; |
| 1591 } | 1591 } |
| 1592 | 1592 |
| 1593 core.int buildCounterRange = 0; | 1593 core.int buildCounterRange = 0; |
| 1594 buildRange() { | 1594 buildRange() { |
| 1595 var o = new api.Range(); | 1595 var o = new api.Range(); |
| 1596 buildCounterRange++; | 1596 buildCounterRange++; |
| 1597 if (buildCounterRange < 3) { | 1597 if (buildCounterRange < 3) { |
| 1598 o.endIndex = 42; | 1598 o.endIndex = 42; |
| 1599 o.startIndex = 42; | 1599 o.startIndex = 42; |
| 1600 o.type = "foo"; | 1600 o.type = "foo"; |
| 1601 } | 1601 } |
| 1602 buildCounterRange--; | 1602 buildCounterRange--; |
| 1603 return o; | 1603 return o; |
| 1604 } | 1604 } |
| 1605 | 1605 |
| 1606 checkRange(api.Range o) { | 1606 checkRange(api.Range o) { |
| 1607 buildCounterRange++; | 1607 buildCounterRange++; |
| 1608 if (buildCounterRange < 3) { | 1608 if (buildCounterRange < 3) { |
| 1609 unittest.expect(o.endIndex, unittest.equals(42)); | 1609 unittest.expect(o.endIndex, unittest.equals(42)); |
| 1610 unittest.expect(o.startIndex, unittest.equals(42)); | 1610 unittest.expect(o.startIndex, unittest.equals(42)); |
| 1611 unittest.expect(o.type, unittest.equals('foo')); | 1611 unittest.expect(o.type, unittest.equals('foo')); |
| 1612 } | 1612 } |
| 1613 buildCounterRange--; | 1613 buildCounterRange--; |
| 1614 } | 1614 } |
| 1615 | 1615 |
| 1616 buildUnnamed1593() { | 1616 buildUnnamed1600() { |
| 1617 var o = new core.List<api.ColorStop>(); | 1617 var o = new core.List<api.ColorStop>(); |
| 1618 o.add(buildColorStop()); | 1618 o.add(buildColorStop()); |
| 1619 o.add(buildColorStop()); | 1619 o.add(buildColorStop()); |
| 1620 return o; | 1620 return o; |
| 1621 } | 1621 } |
| 1622 | 1622 |
| 1623 checkUnnamed1593(core.List<api.ColorStop> o) { | 1623 checkUnnamed1600(core.List<api.ColorStop> o) { |
| 1624 unittest.expect(o, unittest.hasLength(2)); | 1624 unittest.expect(o, unittest.hasLength(2)); |
| 1625 checkColorStop(o[0]); | 1625 checkColorStop(o[0]); |
| 1626 checkColorStop(o[1]); | 1626 checkColorStop(o[1]); |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 core.int buildCounterRecolor = 0; | 1629 core.int buildCounterRecolor = 0; |
| 1630 buildRecolor() { | 1630 buildRecolor() { |
| 1631 var o = new api.Recolor(); | 1631 var o = new api.Recolor(); |
| 1632 buildCounterRecolor++; | 1632 buildCounterRecolor++; |
| 1633 if (buildCounterRecolor < 3) { | 1633 if (buildCounterRecolor < 3) { |
| 1634 o.name = "foo"; | 1634 o.name = "foo"; |
| 1635 o.recolorStops = buildUnnamed1593(); | 1635 o.recolorStops = buildUnnamed1600(); |
| 1636 } | 1636 } |
| 1637 buildCounterRecolor--; | 1637 buildCounterRecolor--; |
| 1638 return o; | 1638 return o; |
| 1639 } | 1639 } |
| 1640 | 1640 |
| 1641 checkRecolor(api.Recolor o) { | 1641 checkRecolor(api.Recolor o) { |
| 1642 buildCounterRecolor++; | 1642 buildCounterRecolor++; |
| 1643 if (buildCounterRecolor < 3) { | 1643 if (buildCounterRecolor < 3) { |
| 1644 unittest.expect(o.name, unittest.equals('foo')); | 1644 unittest.expect(o.name, unittest.equals('foo')); |
| 1645 checkUnnamed1593(o.recolorStops); | 1645 checkUnnamed1600(o.recolorStops); |
| 1646 } | 1646 } |
| 1647 buildCounterRecolor--; | 1647 buildCounterRecolor--; |
| 1648 } | 1648 } |
| 1649 | 1649 |
| 1650 core.int buildCounterRefreshSheetsChartRequest = 0; | 1650 core.int buildCounterRefreshSheetsChartRequest = 0; |
| 1651 buildRefreshSheetsChartRequest() { | 1651 buildRefreshSheetsChartRequest() { |
| 1652 var o = new api.RefreshSheetsChartRequest(); | 1652 var o = new api.RefreshSheetsChartRequest(); |
| 1653 buildCounterRefreshSheetsChartRequest++; | 1653 buildCounterRefreshSheetsChartRequest++; |
| 1654 if (buildCounterRefreshSheetsChartRequest < 3) { | 1654 if (buildCounterRefreshSheetsChartRequest < 3) { |
| 1655 o.objectId = "foo"; | 1655 o.objectId = "foo"; |
| 1656 } | 1656 } |
| 1657 buildCounterRefreshSheetsChartRequest--; | 1657 buildCounterRefreshSheetsChartRequest--; |
| 1658 return o; | 1658 return o; |
| 1659 } | 1659 } |
| 1660 | 1660 |
| 1661 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { | 1661 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { |
| 1662 buildCounterRefreshSheetsChartRequest++; | 1662 buildCounterRefreshSheetsChartRequest++; |
| 1663 if (buildCounterRefreshSheetsChartRequest < 3) { | 1663 if (buildCounterRefreshSheetsChartRequest < 3) { |
| 1664 unittest.expect(o.objectId, unittest.equals('foo')); | 1664 unittest.expect(o.objectId, unittest.equals('foo')); |
| 1665 } | 1665 } |
| 1666 buildCounterRefreshSheetsChartRequest--; | 1666 buildCounterRefreshSheetsChartRequest--; |
| 1667 } | 1667 } |
| 1668 | 1668 |
| 1669 buildUnnamed1601() { |
| 1670 var o = new core.List<core.String>(); |
| 1671 o.add("foo"); |
| 1672 o.add("foo"); |
| 1673 return o; |
| 1674 } |
| 1675 |
| 1676 checkUnnamed1601(core.List<core.String> o) { |
| 1677 unittest.expect(o, unittest.hasLength(2)); |
| 1678 unittest.expect(o[0], unittest.equals('foo')); |
| 1679 unittest.expect(o[1], unittest.equals('foo')); |
| 1680 } |
| 1681 |
| 1669 core.int buildCounterReplaceAllShapesWithImageRequest = 0; | 1682 core.int buildCounterReplaceAllShapesWithImageRequest = 0; |
| 1670 buildReplaceAllShapesWithImageRequest() { | 1683 buildReplaceAllShapesWithImageRequest() { |
| 1671 var o = new api.ReplaceAllShapesWithImageRequest(); | 1684 var o = new api.ReplaceAllShapesWithImageRequest(); |
| 1672 buildCounterReplaceAllShapesWithImageRequest++; | 1685 buildCounterReplaceAllShapesWithImageRequest++; |
| 1673 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1686 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
| 1674 o.containsText = buildSubstringMatchCriteria(); | 1687 o.containsText = buildSubstringMatchCriteria(); |
| 1675 o.imageUrl = "foo"; | 1688 o.imageUrl = "foo"; |
| 1689 o.pageObjectIds = buildUnnamed1601(); |
| 1676 o.replaceMethod = "foo"; | 1690 o.replaceMethod = "foo"; |
| 1677 } | 1691 } |
| 1678 buildCounterReplaceAllShapesWithImageRequest--; | 1692 buildCounterReplaceAllShapesWithImageRequest--; |
| 1679 return o; | 1693 return o; |
| 1680 } | 1694 } |
| 1681 | 1695 |
| 1682 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { | 1696 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { |
| 1683 buildCounterReplaceAllShapesWithImageRequest++; | 1697 buildCounterReplaceAllShapesWithImageRequest++; |
| 1684 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1698 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
| 1685 checkSubstringMatchCriteria(o.containsText); | 1699 checkSubstringMatchCriteria(o.containsText); |
| 1686 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1700 unittest.expect(o.imageUrl, unittest.equals('foo')); |
| 1701 checkUnnamed1601(o.pageObjectIds); |
| 1687 unittest.expect(o.replaceMethod, unittest.equals('foo')); | 1702 unittest.expect(o.replaceMethod, unittest.equals('foo')); |
| 1688 } | 1703 } |
| 1689 buildCounterReplaceAllShapesWithImageRequest--; | 1704 buildCounterReplaceAllShapesWithImageRequest--; |
| 1690 } | 1705 } |
| 1691 | 1706 |
| 1692 core.int buildCounterReplaceAllShapesWithImageResponse = 0; | 1707 core.int buildCounterReplaceAllShapesWithImageResponse = 0; |
| 1693 buildReplaceAllShapesWithImageResponse() { | 1708 buildReplaceAllShapesWithImageResponse() { |
| 1694 var o = new api.ReplaceAllShapesWithImageResponse(); | 1709 var o = new api.ReplaceAllShapesWithImageResponse(); |
| 1695 buildCounterReplaceAllShapesWithImageResponse++; | 1710 buildCounterReplaceAllShapesWithImageResponse++; |
| 1696 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1711 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
| 1697 o.occurrencesChanged = 42; | 1712 o.occurrencesChanged = 42; |
| 1698 } | 1713 } |
| 1699 buildCounterReplaceAllShapesWithImageResponse--; | 1714 buildCounterReplaceAllShapesWithImageResponse--; |
| 1700 return o; | 1715 return o; |
| 1701 } | 1716 } |
| 1702 | 1717 |
| 1703 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ | 1718 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ |
| 1704 buildCounterReplaceAllShapesWithImageResponse++; | 1719 buildCounterReplaceAllShapesWithImageResponse++; |
| 1705 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1720 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
| 1706 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1721 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
| 1707 } | 1722 } |
| 1708 buildCounterReplaceAllShapesWithImageResponse--; | 1723 buildCounterReplaceAllShapesWithImageResponse--; |
| 1709 } | 1724 } |
| 1710 | 1725 |
| 1726 buildUnnamed1602() { |
| 1727 var o = new core.List<core.String>(); |
| 1728 o.add("foo"); |
| 1729 o.add("foo"); |
| 1730 return o; |
| 1731 } |
| 1732 |
| 1733 checkUnnamed1602(core.List<core.String> o) { |
| 1734 unittest.expect(o, unittest.hasLength(2)); |
| 1735 unittest.expect(o[0], unittest.equals('foo')); |
| 1736 unittest.expect(o[1], unittest.equals('foo')); |
| 1737 } |
| 1738 |
| 1711 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; | 1739 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; |
| 1712 buildReplaceAllShapesWithSheetsChartRequest() { | 1740 buildReplaceAllShapesWithSheetsChartRequest() { |
| 1713 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); | 1741 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); |
| 1714 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1742 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
| 1715 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1743 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
| 1716 o.chartId = 42; | 1744 o.chartId = 42; |
| 1717 o.containsText = buildSubstringMatchCriteria(); | 1745 o.containsText = buildSubstringMatchCriteria(); |
| 1718 o.linkingMode = "foo"; | 1746 o.linkingMode = "foo"; |
| 1747 o.pageObjectIds = buildUnnamed1602(); |
| 1719 o.spreadsheetId = "foo"; | 1748 o.spreadsheetId = "foo"; |
| 1720 } | 1749 } |
| 1721 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1750 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
| 1722 return o; | 1751 return o; |
| 1723 } | 1752 } |
| 1724 | 1753 |
| 1725 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { | 1754 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { |
| 1726 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1755 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
| 1727 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1756 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
| 1728 unittest.expect(o.chartId, unittest.equals(42)); | 1757 unittest.expect(o.chartId, unittest.equals(42)); |
| 1729 checkSubstringMatchCriteria(o.containsText); | 1758 checkSubstringMatchCriteria(o.containsText); |
| 1730 unittest.expect(o.linkingMode, unittest.equals('foo')); | 1759 unittest.expect(o.linkingMode, unittest.equals('foo')); |
| 1760 checkUnnamed1602(o.pageObjectIds); |
| 1731 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 1761 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 1732 } | 1762 } |
| 1733 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1763 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
| 1734 } | 1764 } |
| 1735 | 1765 |
| 1736 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; | 1766 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; |
| 1737 buildReplaceAllShapesWithSheetsChartResponse() { | 1767 buildReplaceAllShapesWithSheetsChartResponse() { |
| 1738 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); | 1768 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); |
| 1739 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1769 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
| 1740 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1770 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
| 1741 o.occurrencesChanged = 42; | 1771 o.occurrencesChanged = 42; |
| 1742 } | 1772 } |
| 1743 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1773 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
| 1744 return o; | 1774 return o; |
| 1745 } | 1775 } |
| 1746 | 1776 |
| 1747 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { | 1777 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { |
| 1748 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1778 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
| 1749 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1779 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
| 1750 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1780 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
| 1751 } | 1781 } |
| 1752 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1782 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
| 1753 } | 1783 } |
| 1754 | 1784 |
| 1785 buildUnnamed1603() { |
| 1786 var o = new core.List<core.String>(); |
| 1787 o.add("foo"); |
| 1788 o.add("foo"); |
| 1789 return o; |
| 1790 } |
| 1791 |
| 1792 checkUnnamed1603(core.List<core.String> o) { |
| 1793 unittest.expect(o, unittest.hasLength(2)); |
| 1794 unittest.expect(o[0], unittest.equals('foo')); |
| 1795 unittest.expect(o[1], unittest.equals('foo')); |
| 1796 } |
| 1797 |
| 1755 core.int buildCounterReplaceAllTextRequest = 0; | 1798 core.int buildCounterReplaceAllTextRequest = 0; |
| 1756 buildReplaceAllTextRequest() { | 1799 buildReplaceAllTextRequest() { |
| 1757 var o = new api.ReplaceAllTextRequest(); | 1800 var o = new api.ReplaceAllTextRequest(); |
| 1758 buildCounterReplaceAllTextRequest++; | 1801 buildCounterReplaceAllTextRequest++; |
| 1759 if (buildCounterReplaceAllTextRequest < 3) { | 1802 if (buildCounterReplaceAllTextRequest < 3) { |
| 1760 o.containsText = buildSubstringMatchCriteria(); | 1803 o.containsText = buildSubstringMatchCriteria(); |
| 1804 o.pageObjectIds = buildUnnamed1603(); |
| 1761 o.replaceText = "foo"; | 1805 o.replaceText = "foo"; |
| 1762 } | 1806 } |
| 1763 buildCounterReplaceAllTextRequest--; | 1807 buildCounterReplaceAllTextRequest--; |
| 1764 return o; | 1808 return o; |
| 1765 } | 1809 } |
| 1766 | 1810 |
| 1767 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { | 1811 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { |
| 1768 buildCounterReplaceAllTextRequest++; | 1812 buildCounterReplaceAllTextRequest++; |
| 1769 if (buildCounterReplaceAllTextRequest < 3) { | 1813 if (buildCounterReplaceAllTextRequest < 3) { |
| 1770 checkSubstringMatchCriteria(o.containsText); | 1814 checkSubstringMatchCriteria(o.containsText); |
| 1815 checkUnnamed1603(o.pageObjectIds); |
| 1771 unittest.expect(o.replaceText, unittest.equals('foo')); | 1816 unittest.expect(o.replaceText, unittest.equals('foo')); |
| 1772 } | 1817 } |
| 1773 buildCounterReplaceAllTextRequest--; | 1818 buildCounterReplaceAllTextRequest--; |
| 1774 } | 1819 } |
| 1775 | 1820 |
| 1776 core.int buildCounterReplaceAllTextResponse = 0; | 1821 core.int buildCounterReplaceAllTextResponse = 0; |
| 1777 buildReplaceAllTextResponse() { | 1822 buildReplaceAllTextResponse() { |
| 1778 var o = new api.ReplaceAllTextResponse(); | 1823 var o = new api.ReplaceAllTextResponse(); |
| 1779 buildCounterReplaceAllTextResponse++; | 1824 buildCounterReplaceAllTextResponse++; |
| 1780 if (buildCounterReplaceAllTextResponse < 3) { | 1825 if (buildCounterReplaceAllTextResponse < 3) { |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2181 | 2226 |
| 2182 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { | 2227 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { |
| 2183 buildCounterSubstringMatchCriteria++; | 2228 buildCounterSubstringMatchCriteria++; |
| 2184 if (buildCounterSubstringMatchCriteria < 3) { | 2229 if (buildCounterSubstringMatchCriteria < 3) { |
| 2185 unittest.expect(o.matchCase, unittest.isTrue); | 2230 unittest.expect(o.matchCase, unittest.isTrue); |
| 2186 unittest.expect(o.text, unittest.equals('foo')); | 2231 unittest.expect(o.text, unittest.equals('foo')); |
| 2187 } | 2232 } |
| 2188 buildCounterSubstringMatchCriteria--; | 2233 buildCounterSubstringMatchCriteria--; |
| 2189 } | 2234 } |
| 2190 | 2235 |
| 2191 buildUnnamed1594() { | 2236 buildUnnamed1604() { |
| 2192 var o = new core.List<api.TableColumnProperties>(); | 2237 var o = new core.List<api.TableColumnProperties>(); |
| 2193 o.add(buildTableColumnProperties()); | 2238 o.add(buildTableColumnProperties()); |
| 2194 o.add(buildTableColumnProperties()); | 2239 o.add(buildTableColumnProperties()); |
| 2195 return o; | 2240 return o; |
| 2196 } | 2241 } |
| 2197 | 2242 |
| 2198 checkUnnamed1594(core.List<api.TableColumnProperties> o) { | 2243 checkUnnamed1604(core.List<api.TableColumnProperties> o) { |
| 2199 unittest.expect(o, unittest.hasLength(2)); | 2244 unittest.expect(o, unittest.hasLength(2)); |
| 2200 checkTableColumnProperties(o[0]); | 2245 checkTableColumnProperties(o[0]); |
| 2201 checkTableColumnProperties(o[1]); | 2246 checkTableColumnProperties(o[1]); |
| 2202 } | 2247 } |
| 2203 | 2248 |
| 2204 buildUnnamed1595() { | 2249 buildUnnamed1605() { |
| 2205 var o = new core.List<api.TableRow>(); | 2250 var o = new core.List<api.TableRow>(); |
| 2206 o.add(buildTableRow()); | 2251 o.add(buildTableRow()); |
| 2207 o.add(buildTableRow()); | 2252 o.add(buildTableRow()); |
| 2208 return o; | 2253 return o; |
| 2209 } | 2254 } |
| 2210 | 2255 |
| 2211 checkUnnamed1595(core.List<api.TableRow> o) { | 2256 checkUnnamed1605(core.List<api.TableRow> o) { |
| 2212 unittest.expect(o, unittest.hasLength(2)); | 2257 unittest.expect(o, unittest.hasLength(2)); |
| 2213 checkTableRow(o[0]); | 2258 checkTableRow(o[0]); |
| 2214 checkTableRow(o[1]); | 2259 checkTableRow(o[1]); |
| 2215 } | 2260 } |
| 2216 | 2261 |
| 2217 core.int buildCounterTable = 0; | 2262 core.int buildCounterTable = 0; |
| 2218 buildTable() { | 2263 buildTable() { |
| 2219 var o = new api.Table(); | 2264 var o = new api.Table(); |
| 2220 buildCounterTable++; | 2265 buildCounterTable++; |
| 2221 if (buildCounterTable < 3) { | 2266 if (buildCounterTable < 3) { |
| 2222 o.columns = 42; | 2267 o.columns = 42; |
| 2223 o.rows = 42; | 2268 o.rows = 42; |
| 2224 o.tableColumns = buildUnnamed1594(); | 2269 o.tableColumns = buildUnnamed1604(); |
| 2225 o.tableRows = buildUnnamed1595(); | 2270 o.tableRows = buildUnnamed1605(); |
| 2226 } | 2271 } |
| 2227 buildCounterTable--; | 2272 buildCounterTable--; |
| 2228 return o; | 2273 return o; |
| 2229 } | 2274 } |
| 2230 | 2275 |
| 2231 checkTable(api.Table o) { | 2276 checkTable(api.Table o) { |
| 2232 buildCounterTable++; | 2277 buildCounterTable++; |
| 2233 if (buildCounterTable < 3) { | 2278 if (buildCounterTable < 3) { |
| 2234 unittest.expect(o.columns, unittest.equals(42)); | 2279 unittest.expect(o.columns, unittest.equals(42)); |
| 2235 unittest.expect(o.rows, unittest.equals(42)); | 2280 unittest.expect(o.rows, unittest.equals(42)); |
| 2236 checkUnnamed1594(o.tableColumns); | 2281 checkUnnamed1604(o.tableColumns); |
| 2237 checkUnnamed1595(o.tableRows); | 2282 checkUnnamed1605(o.tableRows); |
| 2238 } | 2283 } |
| 2239 buildCounterTable--; | 2284 buildCounterTable--; |
| 2240 } | 2285 } |
| 2241 | 2286 |
| 2242 core.int buildCounterTableCell = 0; | 2287 core.int buildCounterTableCell = 0; |
| 2243 buildTableCell() { | 2288 buildTableCell() { |
| 2244 var o = new api.TableCell(); | 2289 var o = new api.TableCell(); |
| 2245 buildCounterTableCell++; | 2290 buildCounterTableCell++; |
| 2246 if (buildCounterTableCell < 3) { | 2291 if (buildCounterTableCell < 3) { |
| 2247 o.columnSpan = 42; | 2292 o.columnSpan = 42; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2362 checkTableRange(api.TableRange o) { | 2407 checkTableRange(api.TableRange o) { |
| 2363 buildCounterTableRange++; | 2408 buildCounterTableRange++; |
| 2364 if (buildCounterTableRange < 3) { | 2409 if (buildCounterTableRange < 3) { |
| 2365 unittest.expect(o.columnSpan, unittest.equals(42)); | 2410 unittest.expect(o.columnSpan, unittest.equals(42)); |
| 2366 checkTableCellLocation(o.location); | 2411 checkTableCellLocation(o.location); |
| 2367 unittest.expect(o.rowSpan, unittest.equals(42)); | 2412 unittest.expect(o.rowSpan, unittest.equals(42)); |
| 2368 } | 2413 } |
| 2369 buildCounterTableRange--; | 2414 buildCounterTableRange--; |
| 2370 } | 2415 } |
| 2371 | 2416 |
| 2372 buildUnnamed1596() { | 2417 buildUnnamed1606() { |
| 2373 var o = new core.List<api.TableCell>(); | 2418 var o = new core.List<api.TableCell>(); |
| 2374 o.add(buildTableCell()); | 2419 o.add(buildTableCell()); |
| 2375 o.add(buildTableCell()); | 2420 o.add(buildTableCell()); |
| 2376 return o; | 2421 return o; |
| 2377 } | 2422 } |
| 2378 | 2423 |
| 2379 checkUnnamed1596(core.List<api.TableCell> o) { | 2424 checkUnnamed1606(core.List<api.TableCell> o) { |
| 2380 unittest.expect(o, unittest.hasLength(2)); | 2425 unittest.expect(o, unittest.hasLength(2)); |
| 2381 checkTableCell(o[0]); | 2426 checkTableCell(o[0]); |
| 2382 checkTableCell(o[1]); | 2427 checkTableCell(o[1]); |
| 2383 } | 2428 } |
| 2384 | 2429 |
| 2385 core.int buildCounterTableRow = 0; | 2430 core.int buildCounterTableRow = 0; |
| 2386 buildTableRow() { | 2431 buildTableRow() { |
| 2387 var o = new api.TableRow(); | 2432 var o = new api.TableRow(); |
| 2388 buildCounterTableRow++; | 2433 buildCounterTableRow++; |
| 2389 if (buildCounterTableRow < 3) { | 2434 if (buildCounterTableRow < 3) { |
| 2390 o.rowHeight = buildDimension(); | 2435 o.rowHeight = buildDimension(); |
| 2391 o.tableCells = buildUnnamed1596(); | 2436 o.tableCells = buildUnnamed1606(); |
| 2392 } | 2437 } |
| 2393 buildCounterTableRow--; | 2438 buildCounterTableRow--; |
| 2394 return o; | 2439 return o; |
| 2395 } | 2440 } |
| 2396 | 2441 |
| 2397 checkTableRow(api.TableRow o) { | 2442 checkTableRow(api.TableRow o) { |
| 2398 buildCounterTableRow++; | 2443 buildCounterTableRow++; |
| 2399 if (buildCounterTableRow < 3) { | 2444 if (buildCounterTableRow < 3) { |
| 2400 checkDimension(o.rowHeight); | 2445 checkDimension(o.rowHeight); |
| 2401 checkUnnamed1596(o.tableCells); | 2446 checkUnnamed1606(o.tableCells); |
| 2402 } | 2447 } |
| 2403 buildCounterTableRow--; | 2448 buildCounterTableRow--; |
| 2404 } | 2449 } |
| 2405 | 2450 |
| 2406 buildUnnamed1597() { | 2451 buildUnnamed1607() { |
| 2407 var o = new core.Map<core.String, api.List>(); | 2452 var o = new core.Map<core.String, api.List>(); |
| 2408 o["x"] = buildList(); | 2453 o["x"] = buildList(); |
| 2409 o["y"] = buildList(); | 2454 o["y"] = buildList(); |
| 2410 return o; | 2455 return o; |
| 2411 } | 2456 } |
| 2412 | 2457 |
| 2413 checkUnnamed1597(core.Map<core.String, api.List> o) { | 2458 checkUnnamed1607(core.Map<core.String, api.List> o) { |
| 2414 unittest.expect(o, unittest.hasLength(2)); | 2459 unittest.expect(o, unittest.hasLength(2)); |
| 2415 checkList(o["x"]); | 2460 checkList(o["x"]); |
| 2416 checkList(o["y"]); | 2461 checkList(o["y"]); |
| 2417 } | 2462 } |
| 2418 | 2463 |
| 2419 buildUnnamed1598() { | 2464 buildUnnamed1608() { |
| 2420 var o = new core.List<api.TextElement>(); | 2465 var o = new core.List<api.TextElement>(); |
| 2421 o.add(buildTextElement()); | 2466 o.add(buildTextElement()); |
| 2422 o.add(buildTextElement()); | 2467 o.add(buildTextElement()); |
| 2423 return o; | 2468 return o; |
| 2424 } | 2469 } |
| 2425 | 2470 |
| 2426 checkUnnamed1598(core.List<api.TextElement> o) { | 2471 checkUnnamed1608(core.List<api.TextElement> o) { |
| 2427 unittest.expect(o, unittest.hasLength(2)); | 2472 unittest.expect(o, unittest.hasLength(2)); |
| 2428 checkTextElement(o[0]); | 2473 checkTextElement(o[0]); |
| 2429 checkTextElement(o[1]); | 2474 checkTextElement(o[1]); |
| 2430 } | 2475 } |
| 2431 | 2476 |
| 2432 core.int buildCounterTextContent = 0; | 2477 core.int buildCounterTextContent = 0; |
| 2433 buildTextContent() { | 2478 buildTextContent() { |
| 2434 var o = new api.TextContent(); | 2479 var o = new api.TextContent(); |
| 2435 buildCounterTextContent++; | 2480 buildCounterTextContent++; |
| 2436 if (buildCounterTextContent < 3) { | 2481 if (buildCounterTextContent < 3) { |
| 2437 o.lists = buildUnnamed1597(); | 2482 o.lists = buildUnnamed1607(); |
| 2438 o.textElements = buildUnnamed1598(); | 2483 o.textElements = buildUnnamed1608(); |
| 2439 } | 2484 } |
| 2440 buildCounterTextContent--; | 2485 buildCounterTextContent--; |
| 2441 return o; | 2486 return o; |
| 2442 } | 2487 } |
| 2443 | 2488 |
| 2444 checkTextContent(api.TextContent o) { | 2489 checkTextContent(api.TextContent o) { |
| 2445 buildCounterTextContent++; | 2490 buildCounterTextContent++; |
| 2446 if (buildCounterTextContent < 3) { | 2491 if (buildCounterTextContent < 3) { |
| 2447 checkUnnamed1597(o.lists); | 2492 checkUnnamed1607(o.lists); |
| 2448 checkUnnamed1598(o.textElements); | 2493 checkUnnamed1608(o.textElements); |
| 2449 } | 2494 } |
| 2450 buildCounterTextContent--; | 2495 buildCounterTextContent--; |
| 2451 } | 2496 } |
| 2452 | 2497 |
| 2453 core.int buildCounterTextElement = 0; | 2498 core.int buildCounterTextElement = 0; |
| 2454 buildTextElement() { | 2499 buildTextElement() { |
| 2455 var o = new api.TextElement(); | 2500 var o = new api.TextElement(); |
| 2456 buildCounterTextElement++; | 2501 buildCounterTextElement++; |
| 2457 if (buildCounterTextElement < 3) { | 2502 if (buildCounterTextElement < 3) { |
| 2458 o.autoText = buildAutoText(); | 2503 o.autoText = buildAutoText(); |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2718 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { | 2763 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { |
| 2719 buildCounterUpdateShapePropertiesRequest++; | 2764 buildCounterUpdateShapePropertiesRequest++; |
| 2720 if (buildCounterUpdateShapePropertiesRequest < 3) { | 2765 if (buildCounterUpdateShapePropertiesRequest < 3) { |
| 2721 unittest.expect(o.fields, unittest.equals('foo')); | 2766 unittest.expect(o.fields, unittest.equals('foo')); |
| 2722 unittest.expect(o.objectId, unittest.equals('foo')); | 2767 unittest.expect(o.objectId, unittest.equals('foo')); |
| 2723 checkShapeProperties(o.shapeProperties); | 2768 checkShapeProperties(o.shapeProperties); |
| 2724 } | 2769 } |
| 2725 buildCounterUpdateShapePropertiesRequest--; | 2770 buildCounterUpdateShapePropertiesRequest--; |
| 2726 } | 2771 } |
| 2727 | 2772 |
| 2728 buildUnnamed1599() { | 2773 buildUnnamed1609() { |
| 2729 var o = new core.List<core.String>(); | 2774 var o = new core.List<core.String>(); |
| 2730 o.add("foo"); | 2775 o.add("foo"); |
| 2731 o.add("foo"); | 2776 o.add("foo"); |
| 2732 return o; | 2777 return o; |
| 2733 } | 2778 } |
| 2734 | 2779 |
| 2735 checkUnnamed1599(core.List<core.String> o) { | 2780 checkUnnamed1609(core.List<core.String> o) { |
| 2736 unittest.expect(o, unittest.hasLength(2)); | 2781 unittest.expect(o, unittest.hasLength(2)); |
| 2737 unittest.expect(o[0], unittest.equals('foo')); | 2782 unittest.expect(o[0], unittest.equals('foo')); |
| 2738 unittest.expect(o[1], unittest.equals('foo')); | 2783 unittest.expect(o[1], unittest.equals('foo')); |
| 2739 } | 2784 } |
| 2740 | 2785 |
| 2741 core.int buildCounterUpdateSlidesPositionRequest = 0; | 2786 core.int buildCounterUpdateSlidesPositionRequest = 0; |
| 2742 buildUpdateSlidesPositionRequest() { | 2787 buildUpdateSlidesPositionRequest() { |
| 2743 var o = new api.UpdateSlidesPositionRequest(); | 2788 var o = new api.UpdateSlidesPositionRequest(); |
| 2744 buildCounterUpdateSlidesPositionRequest++; | 2789 buildCounterUpdateSlidesPositionRequest++; |
| 2745 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2790 if (buildCounterUpdateSlidesPositionRequest < 3) { |
| 2746 o.insertionIndex = 42; | 2791 o.insertionIndex = 42; |
| 2747 o.slideObjectIds = buildUnnamed1599(); | 2792 o.slideObjectIds = buildUnnamed1609(); |
| 2748 } | 2793 } |
| 2749 buildCounterUpdateSlidesPositionRequest--; | 2794 buildCounterUpdateSlidesPositionRequest--; |
| 2750 return o; | 2795 return o; |
| 2751 } | 2796 } |
| 2752 | 2797 |
| 2753 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { | 2798 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { |
| 2754 buildCounterUpdateSlidesPositionRequest++; | 2799 buildCounterUpdateSlidesPositionRequest++; |
| 2755 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2800 if (buildCounterUpdateSlidesPositionRequest < 3) { |
| 2756 unittest.expect(o.insertionIndex, unittest.equals(42)); | 2801 unittest.expect(o.insertionIndex, unittest.equals(42)); |
| 2757 checkUnnamed1599(o.slideObjectIds); | 2802 checkUnnamed1609(o.slideObjectIds); |
| 2758 } | 2803 } |
| 2759 buildCounterUpdateSlidesPositionRequest--; | 2804 buildCounterUpdateSlidesPositionRequest--; |
| 2760 } | 2805 } |
| 2761 | 2806 |
| 2762 core.int buildCounterUpdateTableCellPropertiesRequest = 0; | 2807 core.int buildCounterUpdateTableCellPropertiesRequest = 0; |
| 2763 buildUpdateTableCellPropertiesRequest() { | 2808 buildUpdateTableCellPropertiesRequest() { |
| 2764 var o = new api.UpdateTableCellPropertiesRequest(); | 2809 var o = new api.UpdateTableCellPropertiesRequest(); |
| 2765 buildCounterUpdateTableCellPropertiesRequest++; | 2810 buildCounterUpdateTableCellPropertiesRequest++; |
| 2766 if (buildCounterUpdateTableCellPropertiesRequest < 3) { | 2811 if (buildCounterUpdateTableCellPropertiesRequest < 3) { |
| 2767 o.fields = "foo"; | 2812 o.fields = "foo"; |
| (...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3947 }); | 3992 }); |
| 3948 | 3993 |
| 3949 | 3994 |
| 3950 unittest.group("resource-PresentationsResourceApi", () { | 3995 unittest.group("resource-PresentationsResourceApi", () { |
| 3951 unittest.test("method--batchUpdate", () { | 3996 unittest.test("method--batchUpdate", () { |
| 3952 | 3997 |
| 3953 var mock = new HttpServerMock(); | 3998 var mock = new HttpServerMock(); |
| 3954 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; | 3999 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; |
| 3955 var arg_request = buildBatchUpdatePresentationRequest(); | 4000 var arg_request = buildBatchUpdatePresentationRequest(); |
| 3956 var arg_presentationId = "foo"; | 4001 var arg_presentationId = "foo"; |
| 3957 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4002 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 3958 var obj = new api.BatchUpdatePresentationRequest.fromJson(json); | 4003 var obj = new api.BatchUpdatePresentationRequest.fromJson(json); |
| 3959 checkBatchUpdatePresentationRequest(obj); | 4004 checkBatchUpdatePresentationRequest(obj); |
| 3960 | 4005 |
| 3961 var path = (req.url).path; | 4006 var path = (req.url).path; |
| 3962 var pathOffset = 0; | 4007 var pathOffset = 0; |
| 3963 var index; | 4008 var index; |
| 3964 var subPart; | 4009 var subPart; |
| 3965 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4010 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 3966 pathOffset += 1; | 4011 pathOffset += 1; |
| 3967 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); | 4012 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 3991 } | 4036 } |
| 3992 } | 4037 } |
| 3993 | 4038 |
| 3994 | 4039 |
| 3995 var h = { | 4040 var h = { |
| 3996 "content-type" : "application/json; charset=utf-8", | 4041 "content-type" : "application/json; charset=utf-8", |
| 3997 }; | 4042 }; |
| 3998 var resp = convert.JSON.encode(buildBatchUpdatePresentationResponse()); | 4043 var resp = convert.JSON.encode(buildBatchUpdatePresentationResponse()); |
| 3999 return new async.Future.value(stringResponse(200, h, resp)); | 4044 return new async.Future.value(stringResponse(200, h, resp)); |
| 4000 }), true); | 4045 }), true); |
| 4001 res.batchUpdate(arg_request, arg_presentationId).then(unittest.expectAsync
(((api.BatchUpdatePresentationResponse response) { | 4046 res.batchUpdate(arg_request, arg_presentationId).then(unittest.expectAsync
1(((api.BatchUpdatePresentationResponse response) { |
| 4002 checkBatchUpdatePresentationResponse(response); | 4047 checkBatchUpdatePresentationResponse(response); |
| 4003 }))); | 4048 }))); |
| 4004 }); | 4049 }); |
| 4005 | 4050 |
| 4006 unittest.test("method--create", () { | 4051 unittest.test("method--create", () { |
| 4007 | 4052 |
| 4008 var mock = new HttpServerMock(); | 4053 var mock = new HttpServerMock(); |
| 4009 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; | 4054 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; |
| 4010 var arg_request = buildPresentation(); | 4055 var arg_request = buildPresentation(); |
| 4011 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4056 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4012 var obj = new api.Presentation.fromJson(json); | 4057 var obj = new api.Presentation.fromJson(json); |
| 4013 checkPresentation(obj); | 4058 checkPresentation(obj); |
| 4014 | 4059 |
| 4015 var path = (req.url).path; | 4060 var path = (req.url).path; |
| 4016 var pathOffset = 0; | 4061 var pathOffset = 0; |
| 4017 var index; | 4062 var index; |
| 4018 var subPart; | 4063 var subPart; |
| 4019 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4064 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4020 pathOffset += 1; | 4065 pathOffset += 1; |
| 4021 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v1/presentations")); | 4066 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v1/presentations")); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 4038 } | 4083 } |
| 4039 } | 4084 } |
| 4040 | 4085 |
| 4041 | 4086 |
| 4042 var h = { | 4087 var h = { |
| 4043 "content-type" : "application/json; charset=utf-8", | 4088 "content-type" : "application/json; charset=utf-8", |
| 4044 }; | 4089 }; |
| 4045 var resp = convert.JSON.encode(buildPresentation()); | 4090 var resp = convert.JSON.encode(buildPresentation()); |
| 4046 return new async.Future.value(stringResponse(200, h, resp)); | 4091 return new async.Future.value(stringResponse(200, h, resp)); |
| 4047 }), true); | 4092 }), true); |
| 4048 res.create(arg_request).then(unittest.expectAsync(((api.Presentation respo
nse) { | 4093 res.create(arg_request).then(unittest.expectAsync1(((api.Presentation resp
onse) { |
| 4049 checkPresentation(response); | 4094 checkPresentation(response); |
| 4050 }))); | 4095 }))); |
| 4051 }); | 4096 }); |
| 4052 | 4097 |
| 4053 unittest.test("method--get", () { | 4098 unittest.test("method--get", () { |
| 4054 | 4099 |
| 4055 var mock = new HttpServerMock(); | 4100 var mock = new HttpServerMock(); |
| 4056 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; | 4101 api.PresentationsResourceApi res = new api.SlidesApi(mock).presentations; |
| 4057 var arg_presentationId = "foo"; | 4102 var arg_presentationId = "foo"; |
| 4058 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4103 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4059 var path = (req.url).path; | 4104 var path = (req.url).path; |
| 4060 var pathOffset = 0; | 4105 var pathOffset = 0; |
| 4061 var index; | 4106 var index; |
| 4062 var subPart; | 4107 var subPart; |
| 4063 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4108 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4064 pathOffset += 1; | 4109 pathOffset += 1; |
| 4065 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); | 4110 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); |
| 4066 pathOffset += 17; | 4111 pathOffset += 17; |
| 4067 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; | 4112 // NOTE: We cannot test reserved expansions due to the inability to reve
rse the operation; |
| 4068 | 4113 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 4083 } | 4128 } |
| 4084 } | 4129 } |
| 4085 | 4130 |
| 4086 | 4131 |
| 4087 var h = { | 4132 var h = { |
| 4088 "content-type" : "application/json; charset=utf-8", | 4133 "content-type" : "application/json; charset=utf-8", |
| 4089 }; | 4134 }; |
| 4090 var resp = convert.JSON.encode(buildPresentation()); | 4135 var resp = convert.JSON.encode(buildPresentation()); |
| 4091 return new async.Future.value(stringResponse(200, h, resp)); | 4136 return new async.Future.value(stringResponse(200, h, resp)); |
| 4092 }), true); | 4137 }), true); |
| 4093 res.get(arg_presentationId).then(unittest.expectAsync(((api.Presentation r
esponse) { | 4138 res.get(arg_presentationId).then(unittest.expectAsync1(((api.Presentation
response) { |
| 4094 checkPresentation(response); | 4139 checkPresentation(response); |
| 4095 }))); | 4140 }))); |
| 4096 }); | 4141 }); |
| 4097 | 4142 |
| 4098 }); | 4143 }); |
| 4099 | 4144 |
| 4100 | 4145 |
| 4101 unittest.group("resource-PresentationsPagesResourceApi", () { | 4146 unittest.group("resource-PresentationsPagesResourceApi", () { |
| 4102 unittest.test("method--get", () { | 4147 unittest.test("method--get", () { |
| 4103 | 4148 |
| 4104 var mock = new HttpServerMock(); | 4149 var mock = new HttpServerMock(); |
| 4105 api.PresentationsPagesResourceApi res = new api.SlidesApi(mock).presentati
ons.pages; | 4150 api.PresentationsPagesResourceApi res = new api.SlidesApi(mock).presentati
ons.pages; |
| 4106 var arg_presentationId = "foo"; | 4151 var arg_presentationId = "foo"; |
| 4107 var arg_pageObjectId = "foo"; | 4152 var arg_pageObjectId = "foo"; |
| 4108 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4153 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4109 var path = (req.url).path; | 4154 var path = (req.url).path; |
| 4110 var pathOffset = 0; | 4155 var pathOffset = 0; |
| 4111 var index; | 4156 var index; |
| 4112 var subPart; | 4157 var subPart; |
| 4113 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4158 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4114 pathOffset += 1; | 4159 pathOffset += 1; |
| 4115 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); | 4160 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); |
| 4116 pathOffset += 17; | 4161 pathOffset += 17; |
| 4117 index = path.indexOf("/pages/", pathOffset); | 4162 index = path.indexOf("/pages/", pathOffset); |
| 4118 unittest.expect(index >= 0, unittest.isTrue); | 4163 unittest.expect(index >= 0, unittest.isTrue); |
| (...skipping 23 matching lines...) Expand all Loading... |
| 4142 } | 4187 } |
| 4143 } | 4188 } |
| 4144 | 4189 |
| 4145 | 4190 |
| 4146 var h = { | 4191 var h = { |
| 4147 "content-type" : "application/json; charset=utf-8", | 4192 "content-type" : "application/json; charset=utf-8", |
| 4148 }; | 4193 }; |
| 4149 var resp = convert.JSON.encode(buildPage()); | 4194 var resp = convert.JSON.encode(buildPage()); |
| 4150 return new async.Future.value(stringResponse(200, h, resp)); | 4195 return new async.Future.value(stringResponse(200, h, resp)); |
| 4151 }), true); | 4196 }), true); |
| 4152 res.get(arg_presentationId, arg_pageObjectId).then(unittest.expectAsync(((
api.Page response) { | 4197 res.get(arg_presentationId, arg_pageObjectId).then(unittest.expectAsync1((
(api.Page response) { |
| 4153 checkPage(response); | 4198 checkPage(response); |
| 4154 }))); | 4199 }))); |
| 4155 }); | 4200 }); |
| 4156 | 4201 |
| 4157 unittest.test("method--getThumbnail", () { | 4202 unittest.test("method--getThumbnail", () { |
| 4158 | 4203 |
| 4159 var mock = new HttpServerMock(); | 4204 var mock = new HttpServerMock(); |
| 4160 api.PresentationsPagesResourceApi res = new api.SlidesApi(mock).presentati
ons.pages; | 4205 api.PresentationsPagesResourceApi res = new api.SlidesApi(mock).presentati
ons.pages; |
| 4161 var arg_presentationId = "foo"; | 4206 var arg_presentationId = "foo"; |
| 4162 var arg_pageObjectId = "foo"; | 4207 var arg_pageObjectId = "foo"; |
| 4163 var arg_thumbnailProperties_mimeType = "foo"; | 4208 var arg_thumbnailProperties_mimeType = "foo"; |
| 4164 var arg_thumbnailProperties_thumbnailSize = "foo"; | 4209 var arg_thumbnailProperties_thumbnailSize = "foo"; |
| 4165 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 4210 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
| 4166 var path = (req.url).path; | 4211 var path = (req.url).path; |
| 4167 var pathOffset = 0; | 4212 var pathOffset = 0; |
| 4168 var index; | 4213 var index; |
| 4169 var subPart; | 4214 var subPart; |
| 4170 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 4215 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
| 4171 pathOffset += 1; | 4216 pathOffset += 1; |
| 4172 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); | 4217 unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.eq
uals("v1/presentations/")); |
| 4173 pathOffset += 17; | 4218 pathOffset += 17; |
| 4174 index = path.indexOf("/pages/", pathOffset); | 4219 index = path.indexOf("/pages/", pathOffset); |
| 4175 unittest.expect(index >= 0, unittest.isTrue); | 4220 unittest.expect(index >= 0, unittest.isTrue); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 4205 unittest.expect(queryMap["thumbnailProperties.mimeType"].first, unittest
.equals(arg_thumbnailProperties_mimeType)); | 4250 unittest.expect(queryMap["thumbnailProperties.mimeType"].first, unittest
.equals(arg_thumbnailProperties_mimeType)); |
| 4206 unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first, uni
ttest.equals(arg_thumbnailProperties_thumbnailSize)); | 4251 unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first, uni
ttest.equals(arg_thumbnailProperties_thumbnailSize)); |
| 4207 | 4252 |
| 4208 | 4253 |
| 4209 var h = { | 4254 var h = { |
| 4210 "content-type" : "application/json; charset=utf-8", | 4255 "content-type" : "application/json; charset=utf-8", |
| 4211 }; | 4256 }; |
| 4212 var resp = convert.JSON.encode(buildThumbnail()); | 4257 var resp = convert.JSON.encode(buildThumbnail()); |
| 4213 return new async.Future.value(stringResponse(200, h, resp)); | 4258 return new async.Future.value(stringResponse(200, h, resp)); |
| 4214 }), true); | 4259 }), true); |
| 4215 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties
_mimeType: arg_thumbnailProperties_mimeType, thumbnailProperties_thumbnailSize:
arg_thumbnailProperties_thumbnailSize).then(unittest.expectAsync(((api.Thumbnail
response) { | 4260 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties
_mimeType: arg_thumbnailProperties_mimeType, thumbnailProperties_thumbnailSize:
arg_thumbnailProperties_thumbnailSize).then(unittest.expectAsync1(((api.Thumbnai
l response) { |
| 4216 checkThumbnail(response); | 4261 checkThumbnail(response); |
| 4217 }))); | 4262 }))); |
| 4218 }); | 4263 }); |
| 4219 | 4264 |
| 4220 }); | 4265 }); |
| 4221 | 4266 |
| 4222 | 4267 |
| 4223 } | 4268 } |
| 4224 | 4269 |
| OLD | NEW |