[ Index ] |
PHP Cross Reference of YOURLS |
[Source view] [Print] [Project Stats]
Helper functions & classes for the YOURLS Unit Tests suite
File Size: | 142 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Change_One_Global:: (1 method):
change_it()
Change_Variable:: (3 methods):
change_it()
yourls_ut_print()
yourls_ut_var_dump()
Class: Change_Variable - X-Ref
Dummy class & function to be called by hook function testschange_it( $var ) X-Ref |
No description |
yourls_ut_print( ...$what ) X-Ref |
print() for Unit Tests |
yourls_ut_var_dump( ...$what ) X-Ref |
var_dump() for Unit Tests since: 0.1 |
Class: Log_in_File - X-Ref
Log in a local text file, in case you need to var_dump() stuff within a testrand_str( $len=32 ) X-Ref |
Return a random string (for option name, etc...) since: 0.1 return: string Random string param: string $len Optional string length |
yut_is_local() X-Ref |
Check if we are running locally (someone typed 'phpunit' in a shell) or in Travis. Return true if local. since: 0.1 |
change_one_global() X-Ref |
Dummy function to be called by hook function tests since: 0.1 |
change_variable( $var ) X-Ref |
Dummy function to be called by hook function tests since: 0.1 |
Generated: Tue Jan 21 05:10:11 2025 | Cross-referenced by PHPXref 0.7.1 |