LGV_TZ_Lookup 1.4.2
Time zone lookup for PHP applications and HTTP clients
Loading...
Searching...
No Matches
update.php File Reference

Check boundary updating and failure recovery against isolated MySQL or PostgreSQL databases. Uses small local ZIP/release fixtures, with the same LGV_TZ_TEST_* settings as tests/databases.php. Add –live to exercise the installed shell command with the latest full download and all known-location checks. More...

Go to the source code of this file.

Functions

 updaterCheck ($expected, $actual, string $label)
 Check a result and count successful assertions.
 updaterFailure (callable $operation, string $message)
 Expect an operation to fail with a diagnostic message.

Variables

 $admin
if(!in_array($driver, ['mysql', 'pgsql'], true)) $checks
 $connection
 $driver
 $name
 $options
 $settings
 $work
 try

Detailed Description

© Copyright 2023-2026, Little Green Viper Software Development LLC. MIT License; see LICENSE.

Definition in file update.php.

Function Documentation

◆ updaterCheck()

updaterCheck ( $expected,
$actual,
string $label )

Definition at line 20 of file update.php.

References $checks, and updaterCheck().

Referenced by updaterCheck().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updaterFailure()

updaterFailure ( callable $operation,
string $message )

Definition at line 27 of file update.php.

References try, and updaterFailure().

Referenced by updaterFailure().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ $admin

$admin

Definition at line 38 of file update.php.

◆ $checks

if (!in_array( $driver,[ 'mysql', 'pgsql'], true)) $checks

Definition at line 17 of file update.php.

◆ $connection

$connection

Definition at line 42 of file update.php.

◆ $driver

$driver

Definition at line 15 of file update.php.

◆ $name

$name

Definition at line 33 of file update.php.

◆ $options

$options

Definition at line 14 of file update.php.

◆ $settings

$settings

◆ $work

◆ try

try

Definition at line 43 of file update.php.