Changeset 2578
- Timestamp:
- 06/16/08 00:18:43 (5 months ago)
- Files:
-
- branches/release-40/t/35-tags.dat (modified) (2 diffs)
- branches/release-40/t/lib/MT/Test.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-40/t/35-tags.dat
r2563 r2578 397 397 { "r" : "1", "t" : "<MTPings><MTPingEntry><MTEntryClass>;</MTPingEntry></MTPings>", "e" : "page;entry;"}, #345 398 398 { "r" : "1", "t" : "<MTArchiveList archive_type='Individual' sort_order='ascend'><$MTArchiveDate format='%Y.%m.%d.%H.%M.%S'$>;</MTArchiveList>", "e" : "1961.01.31.07.45.01;1962.01.31.07.45.01;1963.01.31.07.45.01;1964.01.31.07.45.01;1965.01.31.07.45.01;1978.01.31.07.45.00;"}, #346 399 { "r" : "1", "t" : "<MTAuthors sort_by='id'lastn=\"2\"><MTAuthorID>;</MTAuthors>", "e" : "2;3;"}, #347400 { "r" : "1", "t" : "<MTAuthors sort_by=' id'><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;"}, #348401 { "r" : "1", "t" : "<MTAuthors sort_by=' id'><MTAuthorDisplayName>;</MTAuthors>", "e" : "Chucky Dee;Dylan;"}, #349402 { "r" : "1", "t" : "<MTAuthors sort_by=' id'><MTAuthorEmail>;</MTAuthors>", "e" : "chuckd@example.com;bobd@example.com;"}, #350403 { "r" : "1", "t" : "<MTAuthors sort_by=' id'><MTAuthorURL>;</MTAuthors>", "e" : "http://chuckd.com/;;"}, #351399 { "r" : "1", "t" : "<MTAuthors lastn=\"2\"><MTAuthorID>;</MTAuthors>", "e" : "2;3;"}, #347 400 { "r" : "1", "t" : "<MTAuthors sort_by='name'><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;"}, #348 401 { "r" : "1", "t" : "<MTAuthors sort_by='nickname'><MTAuthorDisplayName>;</MTAuthors>", "e" : "Chucky Dee;Dylan;"}, #349 402 { "r" : "1", "t" : "<MTAuthors sort_by='email'><MTAuthorEmail>;</MTAuthors>", "e" : "chuckd@example.com;bobd@example.com;"}, #350 403 { "r" : "1", "t" : "<MTAuthors sort_by='url'><MTAuthorURL>;</MTAuthors>", "e" : "http://chuckd.com/;;"}, #351 404 404 { "r" : "1", "t" : "<MTAuthors display_name=\"Chucky Dee\"><MTAuthorName>;<MTAuthorDisplayName>;<MTAuthorEmail>;<MTAuthorURL>;</MTAuthors>", "e" : "Chuck D;Chucky Dee;chuckd@example.com;http://chuckd.com/;"}, #352 405 405 { "r" : "0", "t" : "<MTArchiveList type='Monthly'><MTPages><MTPageTitle></MTPages></MTArchiveList>", "e" : "Watching the River Flow" }, #353 … … 413 413 { "r" : "1", "t" : "<MTAuthors><$MTAuthorAuthType$>:<$MTAuthorAuthIconURL$>;</MTAuthors>", "e" : "MT:http://localhost/mt-static/images/comment/mt_logo.png;MT:http://localhost/mt-static/images/comment/mt_logo.png;"}, #361 414 414 { "r" : "1", "t" : "<MTComments><$MTCommenterAuthType$>:<$MTCommenterAuthIconURL$>;</MTComments>", "e" : ":;:;:;:;:;MT:http://localhost/mt-static/images/comment/mt_logo.png;MT:http://localhost/mt-static/images/comment/mt_logo.png;:;TypeKey:http://localhost/mt-static/images/comment/typekey_logo.png;"}, #362 415 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' ><MTAuthorName>;</MTAuthors>", "e" : "Melody;Chuck D;Bob D;"}, #363416 { "r" : "1", "t" : "<MTAuthors sort_by='id'need_entry='0' status='disabled'><MTAuthorName>;</MTAuthors>", "e" : "Hiro Nakamura;"}, #364417 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' status='enabled or disabled'><MTAuthorName>;</MTAuthors>", "e" : "Melody;Chuck D;Bob D;Hiro Nakamura;"}, #365418 { "r" : "1", "t" : "<MTAuthors sort_by='id'need_entry='0' role='Author'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #366419 { "r" : "1", "t" : "<MTAuthors sort_by='id'need_entry='0' role='Author or Designer'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #367415 { "r" : "1", "t" : "<MTAuthors need_entry='0' ><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;Melody;"}, #363 416 { "r" : "1", "t" : "<MTAuthors need_entry='0' status='disabled'><MTAuthorName>;</MTAuthors>", "e" : "Hiro Nakamura;"}, #364 417 { "r" : "1", "t" : "<MTAuthors need_entry='0' status='enabled or disabled'><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;Hiro Nakamura;Melody;"}, #365 418 { "r" : "1", "t" : "<MTAuthors need_entry='0' role='Author'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #366 419 { "r" : "1", "t" : "<MTAuthors need_entry='0' role='Author or Designer'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #367 420 420 { "r" : "1", "t" : "<MTSetVar name='offices' value='San Francisco' index='0'><MTSetVar name='offices' value='Tokyo' function='unshift'><MTSetVarBlock name='offices' index='2'>Paris</MTSetVarBlock>--<MTGetVar name='offices' function='count'>;<MTGetVar name='offices' index='1'>;<MTGetVar name='offices' function='shift'>;<MTGetVar name='offices' function='count'>;<MTGetVar name='offices' index='1'>", "e" : "--3;San Francisco;Tokyo;2;Paris"}, #368 421 421 { "r" : "1", "t" : "<MTSetVar name='MTVersions' key='4.0' value='Athena'><MTSetVarBlock name='MTVersions' key='4.01'>Enterprise Solution</MTSetVarBlock><MTSetVarBlock name='MTVersions' key='4.1'>Boomer<MTSetVar name='4.2' value='Cal'></MTSetVarBlock><MTGetVar name='MTVersions' key='4.0'>;<MTGetVar name='MTVersions' key='4.01'>;<MTGetVar name='MTVersions' key='4.1'>;<MTGetVar name='MTVersions' key='4.2'>;", "e" : "Athena;Enterprise Solution;Boomer;;"}, #369 branches/release-40/t/lib/MT/Test.pm
r2563 r2578 213 213 api_password => 'seecret', 214 214 auth_type => 'MT', 215 created_on => '19780131074500', 215 216 }); 216 217 $chuckd->set_password("bass"); … … 228 229 email => 'bobd@example.com', 229 230 auth_type => 'MT', 231 created_on => '19780131075000', 230 232 }); 231 233 $bobd->set_password("flute"); … … 241 243 email => 'jdoe@doe.com', 242 244 auth_type => 'TypeKey', 245 created_on => '19780131080000', 243 246 }); 244 247 $johnd->type(MT::Author::COMMENTER()); … … 254 257 email => 'hiro@heroes.com', 255 258 auth_type => 'MT', 259 created_on => '19780131081000', 256 260 }); 257 261 $hiro->type(MT::Author::AUTHOR());
