PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Class: PEAR_RunTest

Source Location: /PEAR-1.4.3/PEAR/RunTest.php

Class Overview


Simplified version of PHP's test suite


Author(s):

Version:

  • Release: 1.4.3

Copyright:

  • 1997-2005 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 51]
Simplified version of PHP's test suite

Try it with:

$ php -r 'include "../PEAR/RunTest.php"; $t=new PEAR_RunTest; $o=$t->run("./pear_system.phpt");print_r($o);'



[ Top ]


Method Detail

PEAR_RunTest (Constructor)   [line 60]

PEAR_RunTest PEAR_RunTest( [PEAR_Common|null $logger = null], [ $options = array()])

An object that supports the PEAR_Common->log() signature, or null

Parameters:

PEAR_Common|null   $logger   — 
   $options   — 

[ Top ]

generate_diff   [line 350]

void generate_diff( $wanted, $output, $return_value)


Parameters:

   $wanted   — 
   $output   — 
   $return_value   — 

[ Top ]

run   [line 74]

void run( $file, [ $ini_settings = ''])


Parameters:

   $file   — 
   $ini_settings   — 

[ Top ]

save_text   [line 374]

void save_text( $filename, $text)


Parameters:

   $filename   — 
   $text   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:10:53 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.