gdata.test_data
index
/usr/local/google/home/afshar/src/external-gdata-release/google3/src/gdata/test_data.py

# Copyright (C) 2006 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

 
Data
        ACL_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n <entry ...com/gCal/2005#owner'>\n </gAcl:role>\n </entry>"
ACL_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n <feed x...#read'>\n </gAcl:role>\n </entry>\n </feed>"
ALBUM_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml...ample.user</uri>\n </author>\n </entry>\n</feed>'
ANALYTICS_ACCOUNT_FEED = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...:tableId>ga:1174</dxp:tableId>\n </entry>\n</feed>"
ANALYTICS_ACCOUNT_FEED_old = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...e' value='America/Los_Angeles'/>\n</entry>\n</feed>"
ANALYTICS_DATA_FEED = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...type='integer' value='61095'/>\n </entry>\n</feed>"
ANALYTICS_MGMT_ADV_SEGMENT_FEED = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...efinition>\n </dxp:segment>\n </entry>\n</feed>\n"
ANALYTICS_MGMT_GOAL_FEED = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...'ga:profileId' value='1174'/>\n </entry>\n</feed>\n"
ANALYTICS_MGMT_PROFILE_FEED = "\n<feed xmlns='http://www.w3.org/2005/Atom' xmlns...value='America/Los_Angeles'/>\n </entry>\n</feed>\n"
BATCH_ENTRY = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<entry xm...tch:status code="201" reason="Created"/>\n</entry>'
BATCH_FEED_REQUEST = '<?xml version="1.0" encoding="UTF-8"?>\n<feed\n x...tem_type>recipes</g:item_type>\n </entry>\n</feed>'
BATCH_FEED_RESULT = '<?xml version="1.0" encoding="UTF-8"?>\n<feed\n x... code="200" reason="Success"/>\n </entry>\n</feed>'
BIG_FEED = '<?xml version="1.0" encoding="utf-8"?>\n <feed .../div>\n </content>\n </entry>\n </feed>\n'
BLOG_COMMENTS_FEED = '<feed xmlns="http://www.w3.org/2005/Atom" xmlns:...D\'\n type=\'text/html\' />\n </entry>\n</feed>'
BLOG_ENTRY = "<entry xmlns='http://www.w3.org/2005/Atom'>\n <i...<email>liz@gmail.com</email>\n </author>\n</entry>"
BLOG_POST = "<entry xmlns='http://www.w3.org/2005/Atom'>\n <t...<email>liz@gmail.com</email>\n </author>\n</entry>"
BLOG_POSTS_FEED = "<feed xmlns='http://www.w3.org/2005/Atom'>\n <id...mail.com</email>\n </author>\n </entry>\n</feed>"
BOOK_ENTRY = "<?xml version='1.0' encoding='UTF-8'?><entry xml...><dc:title>A theory of justice</dc:title></entry>"
BOOK_FEED = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...tle>A theory of justice</dc:title></entry></feed>"
CALENDAR_BATCH_REQUEST = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...hsgq1sjbqffqc/63326018324' />\n </entry>\n</feed>\n"
CALENDAR_BATCH_RESPONSE = "<?xml version='1.0' encoding='UTF-8'?>\n<feed xml...type='text'>Deleted</content>\n </entry>\n</feed>\n"
CALENDAR_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...re valueString=''></gd:where>\n </entry>\n</feed>\n"
CALENDAR_FULL_EVENT_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...07-03-15' />\n <gd:where />\n </entry>\n</feed>\n"
CALENDAR_RESOURCES_FEED = '<?xml version="1.0"?>\n<feed xmlns="http://www.w3...resourceType" value="(Bike)"/>\n </entry>\n</feed>'
CALENDAR_RESOURCE_ENTRY = '<?xml version="1.0"?>\n<atom:entry xmlns:atom="ht...ty name="resourceType" value="CR"/>\n</atom:entry>'
CODE_SEARCH_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml...cs:match><rights>Apache</rights></entry>\n\n</feed>'
CONTACTS_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml.../liz%40gmail.com/base/270f" />\n </entry>\n</feed>'
CONTACT_GROUPS_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml.../thin/270f/1210770619070000"/>\n </entry>\n</feed>'
CONTACT_GROUP_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm...eople.</info>\n </gd:extendedProperty>\n</entry>'
DOCUMENT_LIST_ACL_ADDITIONAL_ROLE_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...ope type='domain' value='example.com' />\n</entry>"
DOCUMENT_LIST_ACL_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...ope type='user' value='user@gmail.com'/>\n</entry>"
DOCUMENT_LIST_ACL_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml...pe="domain" value="google.com"/>\n</entry>\n</feed>'
DOCUMENT_LIST_ACL_WITHKEY_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...ope type='domain' value='example.com' />\n</entry>"
DOCUMENT_LIST_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n<ns0:entr...ns2:writersCanInvite value='true'/>\n</ns0:entry>\n"
DOCUMENT_LIST_ENTRY_V3 = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<ns0:entr...load" label="restricted-download"/>\n</ns0:entry>\n'
DOCUMENT_LIST_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n<ns0:feed...07-07-09T23:07:21.898Z</ns0:updated>\n</ns0:feed>\n"
DOCUMENT_LIST_METADATA = '\n<entry xmlns="http://www.w3.org/2005/Atom"\n ...alRoleSet>\n </docs:additionalRoleInfo>\n</entry>\n'
DOCUMENT_LIST_REVISION_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml...shOutsideDomain value="false"/>\n</entry>\n</feed>\n'
EMAIL_LIST_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:ent...mailList/2.0/testlist/recipient/"/>\n</atom:entry>'
EMAIL_LIST_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:fee...-eng/recipient/"/>\n </atom:entry>\n</atom:feed>'
EMAIL_LIST_RECIPIENT_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:ent...:who email="TestUser@example.com"/>\n</atom:entry>'
EMAIL_LIST_RECIPIENT_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:fee...san@example.com"/>\n </atom:entry>\n</atom:feed>'
EXTENSION_TREE = '<?xml version="1.0" encoding="utf-8"?>\n <feed ...oo>\n </g:name>\n </g:author>\n </feed>\n'
GBASE_ATTRIBUTE_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n <entry x...gm:value>\n </gm:attribute>\n </entry>\n"
GBASE_ATTRIBUTE_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n <feed... </gm:attribute>\n </entry>\n </feed>\n"
GBASE_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n<feed xml...id type='text'>305685-REG</g:id>\n</entry>\n</feed>"
GBASE_LOCALES_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml....com/base/feeds/locales/de_DE"/>\n</entry>\n</feed>'
GBASE_STRING_ENCODING_ENTRY = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...2008-02-06T03:26:46Z</g:expiration_date>\n</entry>"
GROUP_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...ty name='description' value='For try' />\n</entry>"
GROUP_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...escription' value='For try' />\n </entry>\n</feed>"
GROUP_MEMBER_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...erty name='directMember' value='true' />\n</entry>"
GROUP_MEMBER_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...'directMember' value='true' />\n </entry>\n</feed>"
HEALTH_CCR_NOTICE_PAYLOAD = '<ContinuityOfCareRecord xmlns="urn:astm-org:CCR"... </Problems>\n </Body>\n</ContinuityOfCareRecord>'
HEALTH_PROFILE_ENTRY_DIGEST = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm... </Actors>\n </ContinuityOfCareRecord>\n</entry>'
HEALTH_PROFILE_FEED = '<feed xmlns="http://www.w3.org/2005/Atom" xmlns:...y>\n </ContinuityOfCareRecord>\n</entry>\n</feed>'
HEALTH_PROFILE_LIST_ENTRY = " <entry xmlns='http://www.w3.org/2005/Atom'\nxmln... <name>user@gmail.com</name>\n </author>\n</entry>"
MAP_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm...hor>\n <name>Roman</name>\n </author>\n</entry>\n'
MAP_FEATURE_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:ent...</atom:name>\n </atom:contributor>\n</atom:entry>\n'
MAP_FEATURE_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:fee...</atom:contributor>\n </atom:entry>\n</atom:feed>\n'
MAP_FEATURE_KML = '<Placemark>\n <name>Some feature title</name>\n ...442726,0.0</coordinates>\n </Point>\n</Placemark>\n'
MAP_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml...me>Roman</name>\n </author>\n </entry>\n</feed>\n'
MULTIDOMAIN_ALIAS_ENTRY = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<entry xm... value="helpdesk@gethelp_example.com" />\n</entry>'
MULTIDOMAIN_ALIAS_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml...upport@gethelp_example.com" />\n </entry>\n</feed>'
MULTIDOMAIN_USER_ENTRY = '<?xml version="1.0"?>\n<atom:entry xmlns:atom=\'ht...perty name="isAdmin" value="true"/>\n</atom:entry>'
MULTIDOMAIN_USER_FEED = '<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<feed xml...pWhitelisted" value="false" />\n </entry>\n</feed>'
MULTIDOMAIN_USER_RENAME_REQUEST = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...wEmail' value='liz@newexample4liz.com'/>\n</entry>"
NEW_CONTACT = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...re Pkwy Mountain View</gd:postalAddress>\n</entry>"
NICKNAME_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...hag' />\n <apps:login userName='neha' />\n</entry>"
NICKNAME_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...apps:login userName='richa' />\n </entry>\n</feed>"
NICK_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:ent... <apps:login userName="TestUser"/>\n</atom:entry>'
NICK_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:fee...serName="TestUser"/>\n </atom:entry>\n</atom:feed>'
ORGANIZATION_UNIT_CUSTOMER_ID_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...perty name='name' value='example.com' />\n</entry>"
ORGANIZATION_UNIT_ORGUNIT_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...name='blockInheritance' value='false' />\n</entry>"
ORGANIZATION_UNIT_ORGUNIT_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...ockInheritance' value='false' />\n</entry>\n</feed>"
ORGANIZATION_UNIT_ORGUSER_ENTRY = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm...perty name='orgUnitPath' value='Test' />\n</entry>"
ORGANIZATION_UNIT_ORGUSER_FEED = "<?xml version='1.0' encoding='utf-8'?>\n<feed xml...me='orgUnitPath' value='Test' />\n</entry>\n</feed>"
RECURRENCE_EXCEPTION_ENTRY = "<entry xmlns='http://www.w3.org/2005/Atom'\nxmlns...tryLink>\n </gd:recurrenceException>\n </entry>"
SITEMAPS_FEED = '<feed xmlns="http://www.w3.org/2005/Atom" \n xml...itemap-news-publication-label>\n </entry>\n</feed>'
SITES_ACL_FEED = '\n<feed xmlns="http://www.w3.org/2005/Atom" xmlns..."/>\n <gAcl:role value="owner"/>\n</entry>\n</feed>'
SITES_ACTIVITY_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml...user@gmail.com</email>\n</author>\n</entry>\n</feed>'
SITES_COMMENT_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm...t/site/gdatatestsite" type="text/html"/>\n</entry>'
SITES_CONTENT_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<feed xml...e/gdatatestsite?parent=abc123"/>\n</entry>\n</feed>'
SITES_FEED = '<feed xmlns="http://www.w3.org/2005/Atom"\n xmln....html</wt:verification-method>\n </entry>\n</feed>'
SITES_LISTITEM_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm...ex="E" name="MyCo">2009-05-31</gs:field>\n</entry>'
SITES_LISTPAGE_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<entry xm...content/site/gdatatestsite?parent=abc"/>\n</entry>'
SITES_REVISION_FEED = '\n<feed xmlns="http://www.w3.org/2005/Atom" xmlns...ites:revision>1</sites:revision>\n</entry>\n</feed>'
SITES_SITE_FEED = '\n<feed xmlns="http://www.w3.org/2005/Atom" xmlns...ites:theme>default</sites:theme>\n</entry>\n</feed>'
SMALL_FEED = '<?xml version="1.0" encoding="utf-8"?>\n <feed ...ry>Some text.</summary>\n </entry>\n </feed>\n'
TEST_AUTHOR = '<?xml version="1.0" encoding="utf-8"?>\n <autho...5/Atom">http://www.google.com</uri>\n </author>\n'
TEST_BASE_ENTRY = "<?xml version='1.0'?>\n<entry xmlns='http://www.w...l>\n <g:item_type>products</g:item_type>\n</entry>"
TEST_GBASE_ATTRIBUTE = '<?xml version="1.0" encoding="utf-8"?>\n <g:bra...gle.com/ns/1.0">Digital Camera Battery</g:brand>\n'
TEST_LINK = '<?xml version="1.0" encoding="utf-8"?>\n <link ..." \n rel="test rel" foo1="bar" foo2="rab"/>\n'
USER_ENTRY = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:ent...0?recipient=testlist@example.com"/>\n</atom:entry>'
USER_ENTRY1 = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...2.0?recipient=abcd12310%40srkapps.com'/>\n</entry>"
USER_FEED = '<?xml version="1.0" encoding="UTF-8"?>\n<atom:fee...ith@example.com"/>\n </atom:entry>\n</atom:feed>'
USER_FEED1 = '<?xml version=\'1.0\' encoding=\'utf-8\'?>\n<ns0:feed...ogle.com/apps/2006" />\n </ns0:entry>\n</ns0:feed>'
XML_ENTRY_1 = "<?xml version='1.0'?>\n<entry xmlns='http://www.w...l>\n <g:item_type>products</g:item_type>\n</entry>"
YOUTUBE_COMMENT_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n<feed xml...testjhartmann</uri></author>\n </entry>\n</feed>"
YOUTUBE_CONTACTS_FEED = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...me><yt:status>pending</yt:status></entry>\n</feed>"
YOUTUBE_ENTRY_PRIVATE = "<?xml version='1.0' encoding='utf-8'?>\n<entry xm... of use.</yt:state>\n </app:control>\n</entry>"
YOUTUBE_PLAYLIST_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n<feed xml...i>\n </author>\n </entry> \n</feed>"
YOUTUBE_PLAYLIST_VIDEO_FEED = "<?xml version='1.0' encoding='UTF-8'?><feed xmln...ments><yt:position>1</yt:position></entry></feed>"
YOUTUBE_PROFILE = "<?xml version='1.0' encoding='UTF-8'?>\n<entry xm...sers/andyland74/uploads' countHint='1'/>\n</entry>"
YOUTUBE_SUBSCRIPTION_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n<feed xml...feeds/api/users/nbc/uploads'/>\n </entry>\n</feed>"
YOUTUBE_VIDEO_FEED = "<?xml version='1.0' encoding='UTF-8'?><feed xmln... countHint='1116'/></gd:comments></entry>\n</feed>"
YOUTUBE_VIDEO_RESPONSE_FEED = "<?xml version='1.0' encoding='UTF-8'?>\n <feed x...\n </gd:comments>\n </entry>\n</feed>\n"