Ignore:
Timestamp:
11/09/08 17:42:08 (4 years ago)
Author:
KennethLavrsen
Message:

Item109: 2nd wave of renaming TWikiContributor to ProjectContributor
Michael may want to look at ldap contrib
I added ProjectContributor but did not remove TWikiContributor to the list
of excluded names in case some TWiki use wants to use the extension.
Please check I did it right

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FormFieldListPlugin/test/unit/FormFieldListPlugin/FormFieldListPluginTests.pm

    r136 r492  
    3737    topic2 => { 
    3838        name   => 'FormFieldListTestTopic2', 
    39         user   => 'TWikiContributor', 
     39        user   => 'ProjectContributor', 
    4040        date   => 1200000000, 
    4141        form   => 'ProjectForm', 
     
    638638 
    639639    my $source = 
    640 "%FORMFIELDLIST{topic=\"$allTopics\" user=\"ScumBag, TWikiContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 
     640"%FORMFIELDLIST{topic=\"$allTopics\" user=\"ScumBag, ProjectContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 
    641641 
    642642    my $expected = 'topic=FormFieldListTestTopic1, last changed by ScumBag 
    643643topic=FormFieldListTestTopic1, last changed by ScumBag 
    644644topic=FormFieldListTestTopic1, last changed by ScumBag 
    645 topic=FormFieldListTestTopic2, last changed by TWikiContributor 
    646 topic=FormFieldListTestTopic2, last changed by TWikiContributor 
    647 topic=FormFieldListTestTopic2, last changed by TWikiContributor'; 
     645topic=FormFieldListTestTopic2, last changed by ProjectContributor 
     646topic=FormFieldListTestTopic2, last changed by ProjectContributor 
     647topic=FormFieldListTestTopic2, last changed by ProjectContributor'; 
    648648 
    649649    $this->do_test( $testTopic, $expected, $source ); 
     
    662662 
    663663    my $source = 
    664 "%FORMFIELDLIST{topic=\"$allTopics\" excludeuser=\"ScumBag, TWikiContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 
     664"%FORMFIELDLIST{topic=\"$allTopics\" excludeuser=\"ScumBag, ProjectContributor\" format=\"topic=\$topicName, last changed by \$topicUser\"}%"; 
    665665 
    666666    my $expected = 'topic=FormFieldListTestTopic3, last changed by TWikiGuest 
     
    11081108    my ( $meta, $text ) = 
    11091109      $this->{twiki}->{store} 
    1110       ->readTopic( 'TWikiContributor', $this->{test_web}, $topic ); 
     1110      ->readTopic( 'ProjectContributor', $this->{test_web}, $topic ); 
    11111111 
    11121112    my @fields = $meta->find('FIELD'); 
     
    11231123 
    11241124    $this->{twiki}->{store} 
    1125       ->saveTopic( 'TWikiContributor', $this->{test_web}, $topic, $text, 
     1125      ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, $text, 
    11261126        $meta ); 
    11271127 
     
    11321132        my ( $meta, $text ) = 
    11331133          $this->{twiki}->{store} 
    1134           ->readTopic( 'TWikiContributor', $this->{test_web}, $topic ); 
     1134          ->readTopic( 'ProjectContributor', $this->{test_web}, $topic ); 
    11351135 
    11361136        # delay loop 
     
    11381138 
    11391139        $this->{twiki}->{store} 
    1140           ->saveTopic( 'TWikiContributor', $this->{test_web}, $topic, 'DA', 
     1140          ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, 'DA', 
    11411141            $meta ); 
    11421142    } 
     
    11981198 
    11991199    $this->{twiki}->{store} 
    1200       ->saveTopic( 'TWikiContributor', $this->{test_web}, $topic, $text, 
     1200      ->saveTopic( 'ProjectContributor', $this->{test_web}, $topic, $text, 
    12011201        $meta ); 
    12021202         
     
    15201520user=TWikiAdminUser 
    15211521user=TWikiAdminUser 
    1522 user=TWikiContributor 
    1523 user=TWikiContributor 
    1524 user=TWikiContributor 
     1522user=ProjectContributor 
     1523user=ProjectContributor 
     1524user=ProjectContributor 
    15251525user=TWikiGuest 
    15261526user=TWikiGuest 
Note: See TracChangeset for help on using the changeset viewer.