classes-Tecnickcom-TCPDF-Tests-TestExecutor

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

TestExecutor

in package

Table of Contents

Methods

__construct()  : mixed
assertIsFileType()  : bool
assertIsPhpValidFile()  : bool
execute()  : bool

Methods

__construct()

public __construct(PhpExecutor $phpExecutor, array<string|int, mixed> $extensionsToLoad, PdfTools $pdfTools, string $tempDir, string $testsDir[, bool $verbose = false ]) : mixed
Parameters
$phpExecutor : PhpExecutor
$extensionsToLoad : array<string|int, mixed>
$pdfTools : PdfTools
$tempDir : string

Path to tho temporary folder

$testsDir : string

Path to this folder

$verbose : bool = false

assertIsFileType()

public assertIsFileType(string $outputFile, string $outputFileError, string $type, bool $preservingFiles) : bool
Parameters
$outputFile : string

Path to output file

$outputFileError : string

Path to error file

$type : string

Expected type of output

$preservingFiles : bool
Return values
bool

assertIsPhpValidFile()

public assertIsPhpValidFile(string $file) : bool
Parameters
$file : string
Return values
bool

execute()

public execute(string $file, string $outputFile, string $outputFileError) : bool
Parameters
$file : string

Path of PHP file to execute

$outputFile : string

Path to output file

$outputFileError : string

Path to output file error

Return values
bool

TRUE if successful, FALSE otherwise

On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy