Changeset 1648

Show
Ignore:
Timestamp:
09/02/06 06:55:37
Author:
mark
Message:

r13@travis: mark | 2006-09-01 20:59:04 +0100

added some more documentation to the Test
Base extention

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/t/TestPlagger.pm

    r1647 r1648  
    258258} 
    259259 
     260=item file_contains($filename, $regexp) 
     261 
     262Test if the file (specified by filename) matches the passed regexp. 
     263 
     264=cut 
     265 
    260266sub file_contains() { 
    261267    my($file, $pattern) = @_; 
     
    263269    like slurp_file($file), $pattern; 
    264270} 
     271 
     272=item file_doesnt_contains($filename, $regexp) 
     273 
     274Test the file (specified by filename) doesnt matches the passed regexp. 
     275If the file doesn't exist, this test will fail. 
     276 
     277=cut 
    265278 
    266279sub file_doesnt_contain() {