Go to the source code of this file.
Functions | |
| test_server () | |
| test_server_performance (array $nanoseconds, int|float $elapsed, int $peakMemory) | |
| Summarize request lookup timings and the PHP request's peak memory. | |
| test_server | ( | ) |
This is a basic tester. It runs a list of long/lat pairs through the server, and compares the results, with the expected ones.
This is a simple generator for query strings, based on the given long/lat.
< The longitude to use
< The latitude to use
This runs the test, and returns the HTML for the results.
< The title to display
< The longitude to use
< The latitude to use
< The expected result
< Lookup duration samples in nanoseconds.
Definition at line 59 of file LGV_TZ_Lookup_Test.php.
References $failures, $queryString, $test_locations_param_array, __CONFIG_FILE_, call_server(), and test_server().
Referenced by test_server().
| test_server_performance | ( | array | $nanoseconds, |
| int|float | $elapsed, | ||
| int | $peakMemory ) |
Definition at line 33 of file LGV_TZ_Lookup_Test.php.
References test_server_performance().
Referenced by test_server_performance().