Changeset 2578

Show
Ignore:
Timestamp:
06/16/08 00:18:43 (20 months ago)
Author:
auno
Message:

MTAuthors doesn't support sort_by="id". BugzID:79876
* set author_created_on date and fixed 35-tags.dat

Location:
branches/release-40/t
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/t/35-tags.dat

    r2563 r2578  
    397397{ "r" : "1", "t" : "<MTPings><MTPingEntry><MTEntryClass>;</MTPingEntry></MTPings>", "e" : "page;entry;"}, #345 
    398398{ "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;"}, #347 
    400 { "r" : "1", "t" : "<MTAuthors sort_by='id'><MTAuthorName>;</MTAuthors>", "e" : "Chuck D;Bob D;"}, #348 
    401 { "r" : "1", "t" : "<MTAuthors sort_by='id'><MTAuthorDisplayName>;</MTAuthors>", "e" : "Chucky Dee;Dylan;"}, #349 
    402 { "r" : "1", "t" : "<MTAuthors sort_by='id'><MTAuthorEmail>;</MTAuthors>", "e" : "chuckd@example.com;bobd@example.com;"}, #350 
    403 { "r" : "1", "t" : "<MTAuthors sort_by='id'><MTAuthorURL>;</MTAuthors>", "e" : "http://chuckd.com/;;"}, #351 
     399{ "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 
    404404{ "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 
    405405{ "r" : "0", "t" : "<MTArchiveList type='Monthly'><MTPages><MTPageTitle></MTPages></MTArchiveList>", "e" : "Watching the River Flow" }, #353 
     
    413413{ "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 
    414414{ "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;"}, #363 
    416 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' status='disabled'><MTAuthorName>;</MTAuthors>", "e" : "Hiro Nakamura;"}, #364 
    417 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' status='enabled or disabled'><MTAuthorName>;</MTAuthors>", "e" : "Melody;Chuck D;Bob D;Hiro Nakamura;"}, #365 
    418 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' role='Author'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #366 
    419 { "r" : "1", "t" : "<MTAuthors sort_by='id' need_entry='0' role='Author or Designer'><MTAuthorName>;</MTAuthors>", "e" : "Bob D;"}, #367 
     415{ "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 
    420420{ "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 
    421421{ "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  
    213213        api_password => 'seecret', 
    214214        auth_type => 'MT', 
     215        created_on => '19780131074500', 
    215216    }); 
    216217    $chuckd->set_password("bass"); 
     
    228229        email => 'bobd@example.com', 
    229230        auth_type => 'MT', 
     231        created_on => '19780131075000', 
    230232    }); 
    231233    $bobd->set_password("flute"); 
     
    241243        email => 'jdoe@doe.com', 
    242244        auth_type => 'TypeKey', 
     245        created_on => '19780131080000', 
    243246    }); 
    244247    $johnd->type(MT::Author::COMMENTER()); 
     
    254257        email => 'hiro@heroes.com', 
    255258        auth_type => 'MT', 
     259        created_on => '19780131081000', 
    256260    }); 
    257261    $hiro->type(MT::Author::AUTHOR());