phpmyadmin/test/libraries
Jeff Chan 896fe8169a Fix PMA_arrayWalkRecursive to ensure single pass thru keys
Fix a bug with PMA_arrayWalkRecursive that causes it to apply a function
to its keys/values more than once. A previously incorrect test is fixed
as well.

The bug happens because when keys are modified, PHP's foreach loops
through the new keys again. This does not usually happen unless the
iterating array is passed through by reference (or has refcount=1).
See: http://stackoverflow.com/a/14854568/791890

Please see #936 for full explanation.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
2014-02-17 03:09:34 +00:00
..
common Cast unit size value for formatByteDown to float to avoid overflow. 2014-02-10 18:25:54 +00:00
core Fix PMA_arrayWalkRecursive to ensure single pass thru keys 2014-02-17 03:09:34 +00:00
php-gettext Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
rte Dropped MySQL manual type configuration 2013-08-07 08:32:01 +02:00
select_lang Merge branch 'QA_4_0' 2013-06-06 11:48:39 -04:00
database_interface_test.php Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
PMA_bookmark_test.php Separate DatabaseInterface class and creation of an instance of it 2013-05-26 21:28:42 +05:30
PMA_build_html_for_db_test.php PHPDoc update. 2014-01-09 20:51:40 +01:00
PMA_charset_conversion_test.php This test sometimes takes longer 2013-07-30 15:14:48 +02:00
PMA_config_functions_test.php Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
PMA_ConfigFile_test.php Signed-off-by: Marc Delisle <marc@infomarc.info> 2013-12-14 14:26:12 -05:00
PMA_ConfigGenerator_test.php Fix coding style. 2014-01-09 18:22:11 +01:00
PMA_display_change_password_test.php add initial value for global relation 2013-09-23 09:49:01 +08:00
PMA_display_create_table_test.php fix code style 2013-09-25 14:19:04 +08:00
PMA_display_export_test.php Better names for URL generating functions 2013-08-07 10:58:17 +02:00
PMA_escapeJsString_test.php Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
PMA_Form_Processing_test.php Standardize names of functions. 2013-12-27 13:49:57 +01:00
PMA_FormDisplay_tpl_test.php Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
PMA_generateCommonUrl_test.php Better names for URL generating functions 2013-08-07 10:58:17 +02:00
PMA_GIS_modifyQuery_test.php This file has been renamed 2013-06-25 12:47:45 -04:00
PMA_iconv_wrapper_test.php Use valid function names 2013-07-30 13:43:47 +02:00
PMA_import_test.php Fix PHPCS new errors. 2013-12-09 08:09:42 +01:00
PMA_insert_edit_test.php Merge commit '8ee7fc8' 2014-01-30 13:24:56 -05:00
PMA_ip_allow_deny_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_js_escape_test.php Various class name improvements in testsuite 2013-05-02 15:57:09 +02:00
PMA_kanji-encoding_test.php Make unit tests friendlier to running independently 2013-11-20 14:43:55 -08:00
PMA_mime_test.php Fix coding style. 2014-01-09 18:22:11 +01:00
PMA_mult_submits_test.php The DisableIS directive is removed 2013-11-05 12:44:04 -05:00
PMA_mysql_charsets_test.php The DisableIS directive is being deprecated 2013-11-05 05:10:13 -05:00
PMA_operations_test.php Dropped MySQL manual type configuration 2013-08-07 08:32:01 +02:00
PMA_prettyPrint_test.php removed no-op method 2013-11-17 18:34:41 +01:00
PMA_relation_cleanup_test.php Fix typos 2014-01-24 08:24:14 -05:00
PMA_relation_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_sanitize_test.php Fix for bug#4237. 2014-02-07 11:56:46 +05:30
PMA_select_server_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_server_binlog_test.php Merge branch 'QA_4_1' 2014-01-29 23:30:33 +05:30
PMA_server_collations_test.php Drop $cfg['SQP']['fmtType'] 2013-08-06 13:35:09 +02:00
PMA_server_common_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_server_databases_test.php fix bug 4110: PMA_getHtmlForDatabaseList will change the value of $column_order 2013-09-30 14:18:06 +08:00
PMA_server_engines_test.php UTs for PMA_server_engines and PMA_server_status 2013-09-13 22:37:20 +08:00
PMA_server_plugins_test.php Drop $cfg['SQP']['fmtType'] 2013-08-06 13:35:09 +02:00
PMA_server_privileges_test.php Adjust tests to new messages 2014-02-02 11:42:42 +01:00
PMA_server_replication_test.php Drop $cfg['SQP']['fmtType'] 2013-08-06 13:35:09 +02:00
PMA_server_status_advisor_test.php Dropped MySQL manual type configuration 2013-08-07 08:32:01 +02:00
PMA_server_status_monitor_test.php remove unneeded variables 2013-09-12 10:13:08 +08:00
PMA_server_status_queries_test.php Dropped MySQL manual type configuration 2013-08-07 08:32:01 +02:00
PMA_server_status_test.php UTs for PMA_server_engines and PMA_server_status 2013-09-13 22:37:20 +08:00
PMA_server_status_variables_test.php Dropped MySQL manual type configuration 2013-08-07 08:32:01 +02:00
PMA_server_user_groups_test.php Move user group related functions to a lib file of its own 2013-09-09 07:10:06 +05:30
PMA_server_users_test.php Fix tests 2013-09-09 07:33:59 +05:30
PMA_server_variables_test.php Correctly merge server variables fix to master 2013-08-07 14:43:01 +02:00
PMA_SetupIndex_test.php Add missing include in unit tests. 2013-12-23 21:31:51 +05:30
PMA_SQL_parse_analyze_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_SQL_parser_data_test.php fix code comments on test code 2013-08-05 23:50:20 +08:00
PMA_SQL_parser_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_sql_query_form_test.php Fix typo 2013-08-23 06:01:30 -04:00
PMA_SQL_validator_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_string_test.php Fix multibyte ord issue 2013-08-21 19:02:08 +05:30
PMA_StringCType_test.php Update test cases 2013-07-28 00:56:02 +05:30
PMA_StringMB_test.php Fix typo 2013-07-28 01:00:34 +05:30
PMA_StringNative_test.php Update test cases 2013-07-28 00:56:02 +05:30
PMA_StringNativeType_test.php Update test cases 2013-07-28 00:56:02 +05:30
PMA_structure_test.php Adjust test to current mesasge 2014-01-29 14:27:18 +01:00
PMA_tbl_chart_test.php Fixes many coding style "line too long" 2013-10-17 05:41:51 -04:00
PMA_tbl_columns_definition_form_test.php Merge branch 'QA_4_1' 2013-12-15 13:43:35 -05:00
PMA_tbl_gis_visualization_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_tbl_indexes_test.php add Unit test case for PMA_tbl_indexes and PMA_tbl_printview 2013-09-16 21:04:44 +08:00
PMA_tbl_printview_test.php add Unit test case for PMA_tbl_indexes and PMA_tbl_printview 2013-09-16 21:04:44 +08:00
PMA_tbl_relation_test.php Remove more trailing white spaces 2013-11-04 22:20:39 +05:30
PMA_tbl_tracking_test.php add Unit test cases for PMA_tbl_* 2013-08-29 21:20:32 +08:00
PMA_tbl_views_test.php add Unit test cases for PMA_tbl_* 2013-08-29 21:20:32 +08:00
PMA_Tracker_test.php Fix coding style. 2014-01-09 18:22:11 +01:00
PMA_transformation_test.php Remove unneeded transformation 2013-12-06 06:31:47 -05:00
PMA_user_preferences_test.php Refactored ConfigFile class so that it is no longer a singleton 2013-11-03 12:54:20 +01:00
PMA_zip_extension_test.php Fix coding style. 2014-01-09 18:22:11 +01:00
PMA_zip_test.php Missing params 2013-07-30 13:57:57 +02:00
sysinfo_test.php Coding style improvements 2012-09-18 16:09:25 +02:00