Show
Ignore:
Timestamp:
06/17/08 16:31:06 (18 months ago)
Author:
mpaschal
Message:

Move tests for alias and conjunctor support into Test::Search
BugzID: 79953

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/t/lib/MT/Test.pm

    r2584 r2590  
    10111011} 
    10121012 
     1013sub make_objects { 
     1014    my $self = shift; 
     1015    my @obj_data = @_; 
     1016 
     1017    for my $data (@obj_data) { 
     1018        if (my $wait = delete $data->{__wait}) { 
     1019            sleep($wait); 
     1020        } 
     1021        my $class = delete $data->{__class}; 
     1022        my $obj = $class->new; 
     1023        $obj->set_values($data); 
     1024        $obj->save() or die "Could not save test Foo: ", $obj->errstr, "\n"; 
     1025    } 
     1026} 
     1027 
    101310281;