OLD | NEW |
1 library googleapis.groupssettings.v1.test; | 1 library googleapis.groupssettings.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:unittest/unittest.dart' as unittest; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 core.int buildCounterGroups = 0; | 54 core.int buildCounterGroups = 0; |
55 buildGroups() { | 55 buildGroups() { |
56 var o = new api.Groups(); | 56 var o = new api.Groups(); |
57 buildCounterGroups++; | 57 buildCounterGroups++; |
58 if (buildCounterGroups < 3) { | 58 if (buildCounterGroups < 3) { |
59 o.allowExternalMembers = "foo"; | 59 o.allowExternalMembers = "foo"; |
60 o.allowGoogleCommunication = "foo"; | 60 o.allowGoogleCommunication = "foo"; |
61 o.allowWebPosting = "foo"; | 61 o.allowWebPosting = "foo"; |
62 o.archiveOnly = "foo"; | 62 o.archiveOnly = "foo"; |
| 63 o.customFooterText = "foo"; |
63 o.customReplyTo = "foo"; | 64 o.customReplyTo = "foo"; |
64 o.defaultMessageDenyNotificationText = "foo"; | 65 o.defaultMessageDenyNotificationText = "foo"; |
65 o.description = "foo"; | 66 o.description = "foo"; |
66 o.email = "foo"; | 67 o.email = "foo"; |
| 68 o.includeCustomFooter = "foo"; |
67 o.includeInGlobalAddressList = "foo"; | 69 o.includeInGlobalAddressList = "foo"; |
68 o.isArchived = "foo"; | 70 o.isArchived = "foo"; |
69 o.kind = "foo"; | 71 o.kind = "foo"; |
70 o.maxMessageBytes = 42; | 72 o.maxMessageBytes = 42; |
71 o.membersCanPostAsTheGroup = "foo"; | 73 o.membersCanPostAsTheGroup = "foo"; |
72 o.messageDisplayFont = "foo"; | 74 o.messageDisplayFont = "foo"; |
73 o.messageModerationLevel = "foo"; | 75 o.messageModerationLevel = "foo"; |
74 o.name = "foo"; | 76 o.name = "foo"; |
75 o.primaryLanguage = "foo"; | 77 o.primaryLanguage = "foo"; |
76 o.replyTo = "foo"; | 78 o.replyTo = "foo"; |
(...skipping 13 matching lines...) Expand all Loading... |
90 return o; | 92 return o; |
91 } | 93 } |
92 | 94 |
93 checkGroups(api.Groups o) { | 95 checkGroups(api.Groups o) { |
94 buildCounterGroups++; | 96 buildCounterGroups++; |
95 if (buildCounterGroups < 3) { | 97 if (buildCounterGroups < 3) { |
96 unittest.expect(o.allowExternalMembers, unittest.equals('foo')); | 98 unittest.expect(o.allowExternalMembers, unittest.equals('foo')); |
97 unittest.expect(o.allowGoogleCommunication, unittest.equals('foo')); | 99 unittest.expect(o.allowGoogleCommunication, unittest.equals('foo')); |
98 unittest.expect(o.allowWebPosting, unittest.equals('foo')); | 100 unittest.expect(o.allowWebPosting, unittest.equals('foo')); |
99 unittest.expect(o.archiveOnly, unittest.equals('foo')); | 101 unittest.expect(o.archiveOnly, unittest.equals('foo')); |
| 102 unittest.expect(o.customFooterText, unittest.equals('foo')); |
100 unittest.expect(o.customReplyTo, unittest.equals('foo')); | 103 unittest.expect(o.customReplyTo, unittest.equals('foo')); |
101 unittest.expect(o.defaultMessageDenyNotificationText, unittest.equals('foo')
); | 104 unittest.expect(o.defaultMessageDenyNotificationText, unittest.equals('foo')
); |
102 unittest.expect(o.description, unittest.equals('foo')); | 105 unittest.expect(o.description, unittest.equals('foo')); |
103 unittest.expect(o.email, unittest.equals('foo')); | 106 unittest.expect(o.email, unittest.equals('foo')); |
| 107 unittest.expect(o.includeCustomFooter, unittest.equals('foo')); |
104 unittest.expect(o.includeInGlobalAddressList, unittest.equals('foo')); | 108 unittest.expect(o.includeInGlobalAddressList, unittest.equals('foo')); |
105 unittest.expect(o.isArchived, unittest.equals('foo')); | 109 unittest.expect(o.isArchived, unittest.equals('foo')); |
106 unittest.expect(o.kind, unittest.equals('foo')); | 110 unittest.expect(o.kind, unittest.equals('foo')); |
107 unittest.expect(o.maxMessageBytes, unittest.equals(42)); | 111 unittest.expect(o.maxMessageBytes, unittest.equals(42)); |
108 unittest.expect(o.membersCanPostAsTheGroup, unittest.equals('foo')); | 112 unittest.expect(o.membersCanPostAsTheGroup, unittest.equals('foo')); |
109 unittest.expect(o.messageDisplayFont, unittest.equals('foo')); | 113 unittest.expect(o.messageDisplayFont, unittest.equals('foo')); |
110 unittest.expect(o.messageModerationLevel, unittest.equals('foo')); | 114 unittest.expect(o.messageModerationLevel, unittest.equals('foo')); |
111 unittest.expect(o.name, unittest.equals('foo')); | 115 unittest.expect(o.name, unittest.equals('foo')); |
112 unittest.expect(o.primaryLanguage, unittest.equals('foo')); | 116 unittest.expect(o.primaryLanguage, unittest.equals('foo')); |
113 unittest.expect(o.replyTo, unittest.equals('foo')); | 117 unittest.expect(o.replyTo, unittest.equals('foo')); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 res.update(arg_request, arg_groupUniqueId).then(unittest.expectAsync(((api
.Groups response) { | 274 res.update(arg_request, arg_groupUniqueId).then(unittest.expectAsync(((api
.Groups response) { |
271 checkGroups(response); | 275 checkGroups(response); |
272 }))); | 276 }))); |
273 }); | 277 }); |
274 | 278 |
275 }); | 279 }); |
276 | 280 |
277 | 281 |
278 } | 282 } |
279 | 283 |
OLD | NEW |