Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-25 | [common_test] Update common test modules to handle unicode | Siri Hansen | |
* Use UTF-8 encoding for all HTML files, except the HTML version of the test suite generated with erl2html2:convert, which will have the same encoding as the original test suite (.erl) file. * Encode link targets in HTML files with test_server_ctrl:uri_encode/1. * Use unicode modifier 't' with ~s when appropriate. * Use unicode:characters_to_list and unicode:characters_to_binary for conversion between binaries and strings instead of binary_to_list and list_to_binary. | |||
2012-11-14 | [test_server] Recognize and ignore info_reports for ct connections | Siri Hansen | |
test_server_h will now recognize info_reports written by ct connection handlers (according to the description in cth_conn_log) and ignore them as they will be completely handled by by ct_conn_log_h. Earlier test_server_h would print a tag (testcase name) before forwarding the report to error_logger_tty_h. This would cause lots of tags in the log with no info report following (since error_logger_tty_h did not handle them). | |||
2012-08-24 | [common_test] Close log files when deleting ct_conn_log_h error handler | Siri Hansen | |
Due to a bad pattern matching in ct_conn_log_h:terminate/1, log files were not closed when error handler was deleted. This has been corrected. | |||
2012-08-17 | [common_test] Add netconf client, ct_netconfc | Siri Hansen | |
The netconf client supports basic netconf functionality over SSH. In order to allow testing of both success and failure cases, it is intentionally written to allow non-standard behavior. In order for the netconf client to use the generic connection mechanism in common_test, ct_gen_conn has been updated to be more flexible: Added options: {reconnect,bool()} {forward_messages,bool()} {use_existing_connection,bool()} Allow handle_msg to return {reply,Reply,State} | {noreply,State} | {stop,Reply,State} If forward_messages==true, the ct_gen_conn callback must also implement: handle_msgs(Msg,State) -> {noreply,State} | {stop,State} |