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

Side by Side Diff: generated/googleapis/test/admin/directory_v1_test.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.admin.directory_v1.test; 1 library googleapis.admin.directory_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 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1792 o.emails = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1793 o.etag = "foo"; 1793 o.etag = "foo";
1794 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1794 o.externalIds = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1795 o.hashFunction = "foo"; 1795 o.hashFunction = "foo";
1796 o.id = "foo"; 1796 o.id = "foo";
1797 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1797 o.ims = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1798 o.includeInGlobalAddressList = true; 1798 o.includeInGlobalAddressList = true;
1799 o.ipWhitelisted = true; 1799 o.ipWhitelisted = true;
1800 o.isAdmin = true; 1800 o.isAdmin = true;
1801 o.isDelegatedAdmin = true; 1801 o.isDelegatedAdmin = true;
1802 o.isEnforcedIn2Sv = true;
1803 o.isEnrolledIn2Sv = true;
1802 o.isMailboxSetup = true; 1804 o.isMailboxSetup = true;
1803 o.kind = "foo"; 1805 o.kind = "foo";
1804 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02"); 1806 o.lastLoginTime = core.DateTime.parse("2002-02-27T14:01:02");
1805 o.name = buildUserName(); 1807 o.name = buildUserName();
1806 o.nonEditableAliases = buildUnnamed714(); 1808 o.nonEditableAliases = buildUnnamed714();
1807 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1809 o.notes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1808 o.orgUnitPath = "foo"; 1810 o.orgUnitPath = "foo";
1809 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1811 o.organizations = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1810 o.password = "foo"; 1812 o.password = "foo";
1811 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1813 o.phones = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
(...skipping 23 matching lines...) Expand all
1835 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin g"], unittest.equals('foo')); 1837 var casted4 = (o.emails) as core.Map; unittest.expect(casted4, unittest.hasL ength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["strin g"], unittest.equals('foo'));
1836 unittest.expect(o.etag, unittest.equals('foo')); 1838 unittest.expect(o.etag, unittest.equals('foo'));
1837 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest .hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5[" string"], unittest.equals('foo')); 1839 var casted5 = (o.externalIds) as core.Map; unittest.expect(casted5, unittest .hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); un ittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5[" string"], unittest.equals('foo'));
1838 unittest.expect(o.hashFunction, unittest.equals('foo')); 1840 unittest.expect(o.hashFunction, unittest.equals('foo'));
1839 unittest.expect(o.id, unittest.equals('foo')); 1841 unittest.expect(o.id, unittest.equals('foo'));
1840 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"] , unittest.equals('foo')); 1842 var casted6 = (o.ims) as core.Map; unittest.expect(casted6, unittest.hasLeng th(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.e xpect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"] , unittest.equals('foo'));
1841 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue); 1843 unittest.expect(o.includeInGlobalAddressList, unittest.isTrue);
1842 unittest.expect(o.ipWhitelisted, unittest.isTrue); 1844 unittest.expect(o.ipWhitelisted, unittest.isTrue);
1843 unittest.expect(o.isAdmin, unittest.isTrue); 1845 unittest.expect(o.isAdmin, unittest.isTrue);
1844 unittest.expect(o.isDelegatedAdmin, unittest.isTrue); 1846 unittest.expect(o.isDelegatedAdmin, unittest.isTrue);
1847 unittest.expect(o.isEnforcedIn2Sv, unittest.isTrue);
1848 unittest.expect(o.isEnrolledIn2Sv, unittest.isTrue);
1845 unittest.expect(o.isMailboxSetup, unittest.isTrue); 1849 unittest.expect(o.isMailboxSetup, unittest.isTrue);
1846 unittest.expect(o.kind, unittest.equals('foo')); 1850 unittest.expect(o.kind, unittest.equals('foo'));
1847 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02"))); 1851 unittest.expect(o.lastLoginTime, unittest.equals(core.DateTime.parse("2002-0 2-27T14:01:02")));
1848 checkUserName(o.name); 1852 checkUserName(o.name);
1849 checkUnnamed714(o.nonEditableAliases); 1853 checkUnnamed714(o.nonEditableAliases);
1850 var casted7 = (o.notes) as core.Map; unittest.expect(casted7, unittest.hasLe ngth(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest .expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string "], unittest.equals('foo')); 1854 var casted7 = (o.notes) as core.Map; unittest.expect(casted7, unittest.hasLe ngth(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest .expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string "], unittest.equals('foo'));
1851 unittest.expect(o.orgUnitPath, unittest.equals('foo')); 1855 unittest.expect(o.orgUnitPath, unittest.equals('foo'));
1852 var casted8 = (o.organizations) as core.Map; unittest.expect(casted8, unitte st.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8 ["string"], unittest.equals('foo')); 1856 var casted8 = (o.organizations) as core.Map; unittest.expect(casted8, unitte st.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8 ["string"], unittest.equals('foo'));
1853 unittest.expect(o.password, unittest.equals('foo')); 1857 unittest.expect(o.password, unittest.equals('foo'));
1854 var casted9 = (o.phones) as core.Map; unittest.expect(casted9, unittest.hasL ength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["strin g"], unittest.equals('foo')); 1858 var casted9 = (o.phones) as core.Map; unittest.expect(casted9, unittest.hasL ength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittes t.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["strin g"], unittest.equals('foo'));
(...skipping 6575 matching lines...) Expand 10 before | Expand all | Expand 10 after
8430 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re sponse) { 8434 res.list(arg_userKey).then(unittest.expectAsync(((api.VerificationCodes re sponse) {
8431 checkVerificationCodes(response); 8435 checkVerificationCodes(response);
8432 }))); 8436 })));
8433 }); 8437 });
8434 8438
8435 }); 8439 });
8436 8440
8437 8441
8438 } 8442 }
8439 8443
OLDNEW
« no previous file with comments | « generated/googleapis/test/adexchangebuyer/v1_4_test.dart ('k') | generated/googleapis/test/adsensehost/v4_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698