Top Level Namespace
Defined Under Namespace
Modules: ActionHelper, AppiumHelper, AssertHelper, CNNTActionHelper, Check, CheckActionHelper, ConfigHelper, DATA, DataCenterActionHelper, Env, Hpricot, HtmlHelper, HttpHelper, HttpServerActionHelper, ISandBoxHelper, JsonHelper, Log, Log4s, MCBasePatternHelper, MY_SQL, McpackActionHelper, MockHelper, MtopHelper, Multipart, MylogHelper, Net, Network, Pairwise, ReportHelper, RobotHelper, SQLActionHelper, SSHActionHelper, SomePatternHelper, Stub, Test Classes: CaseHouse, CharHouse, ConfModifier, Context, DCHouse, DataHelper, DataHouse, EnvTest, HtmlError, HttpError, HttpRequest, HttpResponse, LogHelper, ModuleHouse, MyTest, ProcessHelper, QueryHouse, Report, StubTest, SuperTest, Table, User, UserHouse, Util, UtilTest
Constant Summary collapse
- NAMES =
%w{aa fd fef}
- PASSS =
%w{1234 34 456 546 678 123 345 654 7653 2345 2345 54 345 43 123 765 76 76 87654 2345 54 9 78 56 34 3 456 765 76 76 876 23 4 56 546 56 5456 545 46 78 9 09 87 65 6 67 9 8 7654 32 34235 678 98 7 6543 2 34 567 8 6 5432 34 567 8 654 3 3 45 67 54 3 45}
- CONF_TEST_CASE =
模块测试中总结的一些测试模式
- Author
-
liqiang01
- Data
-
2009-8-23 17:18:27
[]
- MCPACK_INTERFACE_TEST_CASE =
[]
- LOG_LEVEL =
["DEBUG", "NOTICE", "WARNING", "FATAL"]
- CRLF =
Constants ———————————————–
"\r\n"
- HTTP_PROTO =
"HTTP/1.0"
- SERVER_NAME =
"HttpServer (Ruby #{RUBY_VERSION})"
- DEFAULT_HEADER =
{ "Server" => SERVER_NAME }
- StatusCodeMapping =
Mapping of status code and error message
{ 200 => "OK", 400 => "Bad Request", 403 => "Forbidden", 405 => "Method Not Allowed", 411 => "Length Required", 500 => "Internal Server Error" }
Instance Method Summary collapse
-
#socket ⇒ Object
to-do-list:.
Methods included from Stub
#set_stub_action, #set_stub_file, #set_stub_head, #start_stub, #stop_stub
Methods included from Env
#bak_conf, #copy_conf, #get_conf, #get_thread_num, #is_process_running?, #kill_process, #modify_conf, #modify_conf_single, #recover_conf, #start_process
Methods included from MY_SQL
#db_connect, #db_disconnect, #db_do, #db_execute, #db_select_one
Methods included from Check
#_assert_log_match, #_assert_log_match_times, #_assert_no_log, #_assert_no_wflog, #_assert_wflog_match, #_assert_wflog_match_times, #assert_content, #assert_file_exist?, #assert_file_include_by_str, #assert_file_match, #assert_file_match_times, #assert_file_md5, #assert_file_not_same, #assert_file_same, #assert_file_same_by_str, #assert_head_value, #assert_include, #assert_log_match, #assert_log_match_times, #assert_no_log, #assert_process_not_running, #assert_process_running, #assert_process_threads
Methods included from DATA
#_init_file_, #file_exist?, #file_match?, #file_match_times, #file_size?, #get_all_pack, #get_mcpack_value, #include_file_str, #same_content_value, #same_file_contents, #same_file_md5, #same_file_str
Methods included from Log
#_monitor_log, #_monitor_wflog, #get_match_lines, #get_match_times, #get_match_value, #get_match_values, #has_new_log?, #monitor_log
Methods included from Network
#g_send, #nshead_send, #nshead_trans_send, #send_mcpack, #shead_send
Methods included from CNNTActionHelper
#cnnt_close, #cnnt_connect, #cnnt_create_practical_server, #cnnt_create_server, #cnnt_direct_send, #cnnt_send, #cnnt_stop_server
Methods included from SSHActionHelper
Methods included from SQLActionHelper
Methods included from McpackActionHelper
Methods included from CheckActionHelper
#assert_body, #assert_head, #core_check
Methods included from MylogHelper
Methods included from MCBasePatternHelper
#cm_transfer_pattern, #cm_transfer_pattern2, #cm_transfer_pattern_stop, #get_packs, #get_postfixes, #getpacks, #getpacks_all, #mc_assert_head_value, #mc_assert_pack, #mc_assert_pack_include, #mc_base_all_pattern, #mc_base_pattern, #mc_send, #mc_stub_send, #mc_trans_send
Methods included from SomePatternHelper
#conf_test_pattern, #mcpack_test_pattern
Instance Method Details
#socket ⇒ Object
to-do-list:
11 |
# File 'lib/action/module/httpserver_action.rb', line 11 require "socket" |