[SMARTY] Smarty Unit Test - Test case failure - Package Smarty-2.6.18.tar.gz
"Ian Short" <[email protected]> Thu, 25 Oct 2007 05:14:24 +0100
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <001701c816bd$89898420$4001a8c0@bibi> |
------=_NextPart_000_0013_01C816C5.E8A1B7E0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0014_01C816C5.E8A1B7E0" ------=_NextPart_001_0014_01C816C5.E8A1B7E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does anyone else see the following test case failure when running the = Smarty Unit test on package Smarty-2.6.18.tar.gz? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Note full listing of results are in the attachment. Regards Ian Short ------=_NextPart_001_0014_01C816C5.E8A1B7E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Does anyone else see the following test = case=20 failure when running the Smarty Unit test on package=20 Smarty-2.6.18.tar.gz?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial=20 size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Test case failure</FONT></DIV> <DIV><FONT face=3DArial size=3D2>TestCase=20 SmartyTest->test_core_is_secure_function_smarty_var_const_not_allowed(= )=20 failed: expected 2, actual 512 in=20 C:\htdocs\warlock_ste\Smarty\unit_test\test_cases.php:444</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Note full listing of results are in the = attachment.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Ian Short</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_001_0014_01C816C5.E8A1B7E0-- ------=_NextPart_000_0013_01C816C5.E8A1B7E0 Content-Type: text/plain; name="smarty_unit_test_results.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="smarty_unit_test_results.txt" 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 ------=_NextPart_000_0013_01C816C5.E8A1B7E0 Content-Type: text/plain; charset=us-ascii -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ------=_NextPart_000_0013_01C816C5.E8A1B7E0--