Skip to content

Instantly share code, notes, and snippets.

@okonomi
Created October 11, 2011 17:06
Show Gist options
  • Save okonomi/1278689 to your computer and use it in GitHub Desktop.
Save okonomi/1278689 to your computer and use it in GitHub Desktop.
Ethna2.6のテスト結果
$ php -v
PHP 5.3.8 (cli) (built: Sep 3 2011 12:31:30)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans
$ php bin/ethna_run_test.php --verbose
Ethna All tests
Ethna_ActionError_Test
|--- test_count - OK
|--- test_length - OK
|--- test_iserror - OK
|--- test_geterrorlist - OK
|--- test_getmessage - OK
|--- test_clear - OK
Ethna_ActionForm_Filter_Test
|--- test_filter_fw - OK
|--- test_filter_hw - OK
|--- test_filter_alnum_zentohan - OK
|--- test_filter_numeric_zentohan - OK
|--- test_filter_alphabet_zentohan - OK
|--- test_filter_ltrim - OK
|--- test_filter_rtrim - OK
|--- test_filter_ntrim - OK
|--- test_filter_kana_hantozen - OK
|--- test_filter_custom_toupper - OK
|--- test_filter_custom_multiple - OK
Ethna_ActionForm_FormTemplate_Test
|--- test_formtemplate_normal - OK
|--- test_formtemplate_syntaxsugar - OK
Ethna_ActionForm_MultiArray_Test
|--- test_get - OK
|--- test_get_array - OK
|--- test_get_duplicate - OK
|--- test_get_too_deep - OK
|--- test_set - OK
|--- test_set_array - OK
|--- test_set_too_deep - OK
|--- test_invalid - OK
Ethna_ActionForm_Test
|--- test_get - OK
|--- test_getDef - OK
|--- test_getName - OK
|--- test_clearFormVars - OK
|--- test_set - OK
|--- test_getHiddenVars - OK
|--- test_setDef - OK
Ethna_ActionForm_Validator_Custom_Test
|--- test_checkMailAddress - OK
|--- test_checkBoolean - OK
|--- test_checkURL - OK
|--- test_checkVendorChar - OK
Ethna_ActionForm_Validator_Max_Test
|--- test_Validate_Max_Integer - OK
|--- test_Validate_Max_Float - OK
|--- test_Validate_Max_DateTime - OK
|--- test_Validate_Max_String_UTF8 - OK
|--- test_Validate_Max_String_EUCJP - OK
|--- test_Validate_Max_String_ASCII - OK
|--- test_Validate_Max_File - OK
Ethna_ActionForm_Validator_Mbregexp_Test
|--- test_Validate_Regexp - OK
Ethna_ActionForm_Validator_Mbstrmax_Test
|--- test_Validate_MbMax_String - OK
Ethna_ActionForm_Validator_Mbstrmin_Test
|--- test_Validate_MbMin_String - OK
Ethna_ActionForm_Validator_Min_Test
|--- test_Validate_Min_Integer - OK
|--- test_Validate_Min_Float - OK
|--- test_Validate_Min_DateTime - OK
|--- test_Validate_Min_String_UTF8 - OK
|--- test_Validate_Min_String_EUCJP - OK
|--- test_Validate_Min_String_ASCII - OK
|--- test_Validate_Min_File - OK
Ethna_ActionForm_Validator_Regexp_Test
|--- test_Validate_Regexp - OK
Ethna_ActionForm_Validator_Required_Test
|--- test_Validate_Required_Integer - OK
|--- test_Validate_Required_Float - OK
|--- test_Validate_Required_DateTime - OK
|--- test_Validate_Min_String - OK
|--- test_Validate_Required_File - OK
|--- test_Validate_Required_Integer_Array - OK
|--- test_Validate_Required_Float_Array - OK
|--- test_Validate_Required_Datetime_Array - OK
|--- test_Validate_Required_String_Array - OK
Ethna_ActionForm_Validator_Strmax_Test
|--- test_Validate_SingleByteMax_String - OK
Ethna_ActionForm_Validator_Strmaxcompat_Test
|--- test_Validate_Max_String_Compatible - OK
Ethna_ActionForm_Validator_Strmin_Test
|--- test_Validate_SingleByteMin_String - OK
Ethna_ActionForm_Validator_Strmincompat_Test
|--- test_Validate_Min_String_Compatible - OK
Ethna_ActionForm_Validator_Type_Test
|--- test_Validate_Type_Integer - OK
|--- test_Validate_Type_Float - OK
|--- test_Validate_Type_DateTime - OK
|--- test_Validate_Min_String - OK
Ethna_Class_Test
|--- test_isError - OK
|--- test_raiseError - OK
|--- test_raiseWarning - OK
|--- test_raiseNotice - OK
|--- test_error_callback_obj - OK
|--- test_error_callback_global - OK
|--- test_error_callback_mixed - OK
Ethna_ClassFactory_Test
|--- test_getManager - OK
Ethna_Config_Test
|--- test_getConfigFile - OK
|--- test_update - OK
Ethna_Controller_Test
|--- test_checkAppId - OK
|--- test_getClientEncoding - OK
|--- test_setClientEncoding - OK
Ethna_Error_Test
|--- test_getcode - OK
|--- test_getlevel - OK
|--- test_getmessage - OK
|--- test_userinfo - OK
Ethna_Getopt_Test
|--- test_readPHPArgv - OK
|--- test_shortopt_required - OK
|--- test_shortopt_optional - OK
|--- test_shortopt_disabled - OK
|--- test_shortopt_complex - OK
|--- test_longopt_required - OK
|--- test_longopt_optional - OK
|--- test_longopt_disabled - OK
|--- test_mixed_option - OK
Ethna_I18N_Test
|--- test_get_ja_JP - OK
|--- test_get_fallback_locale - OK
|--- test_parseEthnaMsgCatalog - OK
|--- test_setTimeZone - OK
Ethna_Logger_Test
|--- test_parseSetting_Compatible
Exception 1!
Cannot access non-public member Ethna_Logger::level - NG
|--- test_parseSetting_Structured
Exception 2!
Cannot access non-public member Ethna_Logger::level - NG
Ethna_Plugin_Abstract_Test
|--- testDetectTypeAndName - OK
Ethna_Plugin_Cachemanager_Localfile_Test
|--- testCachemanagerLocalfileConfig
Exception 3!
Trying to invoke private method Ethna_Plugin_Cachemanager_Localfile::_getCacheDir() from scope ReflectionMethod - NG
|--- testCachemanagerLocalfileNamespace - OK
|--- testCachemanagerLocalfileInt - OK
|--- testCachemanagerLocalfileString - OK
|--- testCachemanagerLocalfileObject
Exception 4!
Trying to invoke private method Ethna_Plugin_Cachemanager_Localfile::_getCacheFile() from scope ReflectionMethod - NG
Ethna_Plugin_Cachemanager_Memcache_Test
|--- testMemcacheConfig - OK
Ethna_Plugin_Csrf_Session_Test
|--- testMakeInstance - OK
|--- testGetName - OK
|--- testCheckCsrfSession - OK
|--- testPostRequest - OK
|--- testGetRequest - OK
Ethna_Plugin_Handle_AddTemplate_Test
|--- test_template_dir_exists - OK
|--- test_cmd_option - OK
Ethna_Plugin_Handle_I18n_Test
|--- test_Action - OK
|--- test_View - OK
|--- test_Template - OK
|--- test_cmd_option - OK
Ethna_Plugin_Handle_PearLocal_Test
|--- test_cmd_option - OK
Ethna_Plugin_Logwriter_Echo_Test
|--- testLogwriterEcho - OK
|--- testBug9009 - OK
Ethna_Plugin_Logwriter_File_Test
|--- testLogwriterFile - OK
Ethna_Plugin_Smarty_function_select_Test
|--- test_smarty_function_select - OK
Ethna_Plugin_Smarty_modifier_checkbox_Test
|--- test_smarty_modifier_checkbox - OK
Ethna_Plugin_Smarty_modifier_explode_Test
|--- test_smarty_modifier_explode - OK
Ethna_Plugin_Smarty_modifier_select_Test
|--- test_smarty_modifier_select - OK
Ethna_Plugin_Smarty_modifier_unique_Test
|--- test_smarty_modifier_unique - OK
Ethna_Plugin_Smarty_modifier_wordwrap_i18n_Test
|--- test_smarty_modifier_wordwrap_i18n - OK
|--- test_smarty_modifier_wordwrap_i18n_indent - OK
|--- test_smarty_modifier_wordwrap_i18n_break - OK
|--- test_smarty_modifier_wordwrap_i18n_space - OK
|--- test_smarty_modifier_wordwrap_i18n_kana - OK
|--- test_smarty_modifier_wordwrap_i18n_alphabet - OK
Ethna_Plugin_Validator_Custom_Test
|--- test_checkMailAddress - OK
|--- test_checkBoolean - OK
|--- test_checkURL - OK
|--- test_checkVendorChar - OK
Ethna_Plugin_Validator_Max_Test
|--- test_max_integer - OK
|--- test_max_float - OK
|--- test_max_string - OK
|--- test_max_datetime - OK
Ethna_Plugin_Validator_Mbregexp_Test
|--- test_Validate_Mbregexp - OK
Ethna_Plugin_Validator_Mbstrmax_Test
|--- test_max_mbstr - OK
Ethna_Plugin_Validator_Mbstrmin_Test
|--- test_min_mbstr - OK
Ethna_Plugin_Validator_Min_Test
|--- test_min_integer - OK
|--- test_min_float - OK
|--- test_min_string - OK
|--- test_min_datetime - OK
Ethna_Plugin_Validator_Regexp_Test
|--- test_regexp_string - OK
Ethna_Plugin_Validator_Required_Test
|--- test_formtext - OK
|--- test_formselect - OK
|--- test_formradio - OK
|--- test_formcheckbox - OK
Ethna_Plugin_Validator_Strmax_Test
|--- test_max_str - OK
Ethna_Plugin_Validator_Strmaxcompat_Test
|--- test_max_str_compat_euc - OK
|--- test_max_str_compat_sjis - OK
Ethna_Plugin_Validator_Strmin_Test
|--- test_min_str - OK
Ethna_Plugin_Validator_Strmincompat_Test
|--- test_min_str_compat_euc - OK
|--- test_min_str_compat_sjis - OK
Ethna_Plugin_Validator_Type_Test
|--- test_Check_Type_Integer - OK
|--- test_Check_Type_Float - OK
|--- test_Check_Type_Boolean - OK
|--- test_Check_Type_Datetime - OK
Ethna_Plugin_Test
|--- test_import - OK
|--- test_plugin_utility - OK
|--- test_getPlugin - OK
|--- test_preloadPlugin - OK
Ethna_Session_Test
|--- test_isAnonymous
Error 5!
Unexpected PHP error [session_start(): open(/Users/okonomi/work/github/ethna/Ethna/test/mockproject/tmp/sess_6aba558810bd45b283bcd57a16b7d1d5074ee8e23c7f60c32648e3212afe0d94, O_RDWR) failed: No such file or directory (2)] severity [E_WARNING] in [/Users/okonomi/work/github/ethna/Ethna/class/Session.php line 181]
Error 6!
Unexpected PHP error [session_start(): Cannot send session cookie - headers already sent by (output started at /Users/okonomi/work/github/ethna/Ethna/test/TextDetailReporter.php:32)] severity [E_WARNING] in [/Users/okonomi/work/github/ethna/Ethna/class/Session.php line 181]
Error 7!
Unexpected PHP error [session_start(): Cannot send session cache limiter - headers already sent (output started at /Users/okonomi/work/github/ethna/Ethna/test/TextDetailReporter.php:32)] severity [E_WARNING] in [/Users/okonomi/work/github/ethna/Ethna/class/Session.php line 181]
Error 8!
Unexpected PHP error [Cannot modify header information - headers already sent by (output started at /Users/okonomi/work/github/ethna/Ethna/test/TextDetailReporter.php:32)] severity [E_WARNING] in [/Users/okonomi/work/github/ethna/Ethna/class/Session.php line 207] - NG
Ethna_UrlHandler_Test
|--- test_requestToAction_simple - OK
|--- test_requestToAction_nopathinfo - OK
|--- test_requestToAction_withparams1 - OK
|--- test_requestToAction_withparams2 - OK
|--- test_requestToAction_withparams3 - OK
|--- test_requestToAction_misc - OK
|--- test_requestToAction_prefix_suffix - OK
|--- test_actionToRequest_simple - OK
|--- test_actionToRequest_unknownaction - OK
|--- test_actionToRequest_param1 - OK
|--- test_actionToRequest_param2 - OK
Ethna_Util_Test
|--- testCheckMailAddress - OK
|--- testIsAbsolute - OK
|--- testIsRootDir - OK
|--- testGetRandom - OK
|--- testGetEra - OK
Ethna_View_404_Test
|--- test_redirect_404 - OK
Ethna_View_500_Test
|--- test_redirect_500 - OK
Ethna_View_Json_Test
|--- test_preforward_utf8 - OK
|--- test_preforward_non_utf8 - OK
|--- test_json_action - OK
Ethna_View_Redirect_Test
|--- test_preforward - OK
|--- test_redirect_action - OK
Ethna_ViewClass_FormHelper_Test
|--- test_formhelper_Text - OK
|--- test_formhelper_Textarea - OK
|--- test_formhelper_FormName - OK
Ethna_ViewClass_Test
|--- test_forward - OK
|--- test_header_integer - OK
|--- test_header_array - OK
|--- test_header_string - OK
|--- test_redirect - OK
|--- test_redirect_statuscode - OK
|--- test_setLayout - OK
|--- test_getLayout - OK
|--- test_templateExists - OK
|--- test_error - OK
FAILURES!!!
Test cases run: 64/64, Passes: 1241, Failures: 0, Exceptions: 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment