Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz

From: Date: Thu, 25 Oct 2007 04:14:24 +0000
Subject: Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13789@lists.php.net to get a copy of this message
Does anyone else see the following test case failure when running the Smarty Unit test on package Smarty-2.6.18.tar.gz? ====================================================================================== Test case failure TestCase SmartyTest->test_core_is_secure_function_smarty_var_const_not_allowed() failed: expected 2, actual 512 in C:\htdocs\warlock_ste\Smarty\unit_test\test_cases.php:444 ====================================================================================== Note full listing of results are in the attachment. Regards Ian Short

TestCase SmartyTest->test_template_dir_exists() passed TestCase SmartyTest->test_template_dir_is_dir() passed TestCase SmartyTest->test_template_dir_is_readable() passed TestCase SmartyTest->test_config_dir_exists() passed TestCase SmartyTest->test_config_dir_is_dir() passed TestCase SmartyTest->test_config_dir_is_readable() passed TestCase SmartyTest->test_compile_dir_exists() passed TestCase SmartyTest->test_compile_dir_is_dir() passed TestCase SmartyTest->test_compile_dir_is_readable() passed TestCase SmartyTest->test_compile_dir_is_writable() passed TestCase SmartyTest->test_cache_dir_exists() passed TestCase SmartyTest->test_cache_dir_is_dir() passed TestCase SmartyTest->test_cache_dir_is_readable() passed TestCase SmartyTest->test_cache_dir_is_writable() passed TestCase SmartyTest->test_assign_method_exists() passed TestCase SmartyTest->test_assign_by_ref_method_exists() passed TestCase SmartyTest->test_append_method_exists() passed TestCase SmartyTest->test_append_by_ref_method_exists() passed TestCase SmartyTest->test_clear_assign_method_exists() passed TestCase SmartyTest->test_register_function_method_exists() passed TestCase SmartyTest->test_unregister_function_method_exists() passed TestCase SmartyTest->test_register_object_method_exists() passed TestCase SmartyTest->test_unregister_object_method_exists() passed TestCase SmartyTest->test_register_block_method_exists() passed TestCase SmartyTest->test_unregister_block_method_exists() passed TestCase SmartyTest->test_register_compiler_function_method_exists() passed TestCase SmartyTest->test_unregister_compiler_function_method_exists() passed TestCase SmartyTest->test_register_modifier_method_exists() passed TestCase SmartyTest->test_unregister_modifier_method_exists() passed TestCase SmartyTest->test_register_resource_method_exists() passed TestCase SmartyTest->test_unregister_resource_method_exists() passed TestCase SmartyTest->test_register_prefilter_method_exists() passed TestCase SmartyTest->test_unregister_prefilter_method_exists() passed TestCase SmartyTest->test_register_postfilter_method_exists() passed TestCase SmartyTest->test_unregister_postfilter_method_exists() passed TestCase SmartyTest->test_register_outputfilter_method_exists() passed TestCase SmartyTest->test_unregister_outputfilter_method_exists() passed TestCase SmartyTest->test_load_filter_method_exists() passed TestCase SmartyTest->test_clear_cache_method_exists() passed TestCase SmartyTest->test_clear_all_cache_method_exists() passed TestCase SmartyTest->test_is_cached_method_exists() passed TestCase SmartyTest->test_clear_all_assign_method_exists() passed TestCase SmartyTest->test_clear_compiled_tpl_method_exists() passed TestCase SmartyTest->test_template_exists_method_exists() passed TestCase SmartyTest->test_get_template_vars_method_exists() passed TestCase SmartyTest->test_get_config_vars_method_exists() passed TestCase SmartyTest->test_trigger_error_method_exists() passed TestCase SmartyTest->test_display_method_exists() passed TestCase SmartyTest->test_fetch_method_exists() passed TestCase SmartyTest->test_config_load_method_exists() passed TestCase SmartyTest->test_get_registered_object_method_exists() passed TestCase SmartyTest->test_clear_config_method_exists() passed TestCase SmartyTest->test_get_plugin_filepath() passed TestCase SmartyTest->test_clear_compiled_tpl() passed TestCase SmartyTest->test_call_to_display() passed TestCase SmartyTest->test_call_to_fetch() passed TestCase SmartyTest->test_assign_var() passed TestCase SmartyTest->test_parse_obj_meth() passed TestCase SmartyTest->test_parse_math() passed TestCase SmartyTest->test_config_load_globals_double_quotes() passed TestCase SmartyTest->test_config_load_globals_single_quotes() passed TestCase SmartyTest->test_escape_modifier_get_plugins_filepath() passed TestCase SmartyTest->test_escape_modifier_include_file() passed TestCase SmartyTest->test_escape_modifier_function_exists() passed TestCase SmartyTest->test_escape_modifier_escape_default() passed TestCase SmartyTest->test_escape_modifier_escape_html() passed TestCase SmartyTest->test_escape_modifier_escape_htmlall() passed TestCase SmartyTest->test_escape_modifier_escape_url() passed TestCase SmartyTest->test_escape_modifier_escape_quotes() passed TestCase SmartyTest->test_escape_modifier_escape_hex() passed TestCase SmartyTest->test_escape_modifier_escape_hexentity() passed TestCase SmartyTest->test_escape_modifier_escape_javascript() passed TestCase SmartyTest->test_core_is_secure_file_exists() passed TestCase SmartyTest->test_core_is_secure_file_include() passed TestCase SmartyTest->test_core_is_secure_function_exists() passed TestCase SmartyTest->test_core_is_secure_function_is_secure_true() passed TestCase SmartyTest->test_core_is_secure_function_is_secure_false() passed TestCase SmartyTest->test_core_is_secure_function_smarty_var_const() passed TestCase SmartyTest->test_core_is_secure_function_smarty_var_const_allowed() passed TestCase SmartyTest->test_core_is_secure_function_smarty_var_const_not_allowed() failed: expected 2, actual 512 in C:\htdocs\warlock_ste\Smarty\unit_test\test_cases.php:444
« previous php.smarty.general (#13789) next »