diff --git a/.gitattributes b/.gitattributes index ff7c4955..a53b37de 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ helper.py ident export-subst +/test export-ignore cps/static/css/libs/* linguist-vendored cps/static/js/libs/* linguist-vendored diff --git a/cps/templates/detail.html b/cps/templates/detail.html index 44c3619f..69e59aa5 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -60,7 +60,7 @@ {% endif %} -
Start Time: 2018-10-03 13:01:23.133262
+ +Stop Time: 2018-10-03 13:24:03.908667
+ +Duration: 0:22:40.775405
+ +Test Group/Test case | +Count | +Pass | +Fail | +Error | +Skip | +View | +
test_shelf.test_shelf | +7 | +6 | +1 | +0 | +0 | ++ Detail + | +
+ test_delete_book_of_shelf
+ |
+ PASS | +|||||
+ test_private_shelf
+ |
+ PASS | +|||||
+ test_public_private_shelf
+ |
+ PASS | +|||||
+ test_public_shelf
+ |
+ PASS | +|||||
+ test_rename_shelf
+ |
+ PASS | +|||||
+ test_shelf_database_change
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_shelf_long_name
+ |
+ PASS | +|||||
test_logging.test_logging | +4 | +3 | +1 | +0 | +0 | ++ Detail + | +
+ test_debug_log
+ |
+ PASS | +|||||
+ test_failed_login
+ |
+ PASS | +|||||
+ test_logfile_change
+ |
+ PASS | +|||||
+ test_logfile_recover
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
test_helper.calibre_helper | +11 | +11 | +0 | +0 | +0 | ++ Detail + | +
+ test_author_sort
+ |
+ PASS | +|||||
+ test_author_sort_junior
+ |
+ PASS | +|||||
+ test_author_sort_roman
+ |
+ PASS | +|||||
+ test_check_Limit_Length
+ |
+ PASS | +|||||
+ test_check_char_replacement
+ |
+ PASS | +|||||
+ test_check_chinese_Characters
+ |
+ PASS | +|||||
+ test_check_degEUR_replacement
+ |
+ PASS | +|||||
+ test_check_doubleS
+ |
+ PASS | +|||||
+ test_check_finish_Dot
+ |
+ PASS | +|||||
+ test_check_high23
+ |
+ PASS | +|||||
+ test_check_umlauts
+ |
+ PASS | +|||||
test_visiblilitys.calibre_web_visibilitys | +16 | +16 | +0 | +0 | +0 | ++ Detail + | +
+ test_about
+ |
+ PASS | +|||||
+ test_admin_SMTP_Settings
+ |
+ PASS | +|||||
+ test_admin_add_user
+ |
+ PASS | +|||||
+ test_admin_change_password
+ |
+ PASS | +|||||
+ test_admin_change_visibility_authors
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_admin_change_visibility_category
+ |
+ PASS | +|||||
+ test_admin_change_visibility_hot
+ |
+ PASS | +|||||
+ test_admin_change_visibility_language
+ |
+ PASS | +|||||
+ test_admin_change_visibility_rated
+ |
+ PASS | +|||||
+ test_admin_change_visibility_read
+ |
+ PASS | +|||||
+ test_admin_change_visibility_series
+ |
+ PASS | +|||||
+ test_admin_change_visibility_sorted
+ |
+ PASS | +|||||
+ test_checked_logged_in
+ |
+ PASS | +|||||
+ test_random_books_available
+ |
+ PASS | +|||||
+ test_user_email_available
+ |
+ PASS | +|||||
+ test_user_visibility_sidebar
+ |
+ PASS | +|||||
test_user_template.test_user_template | +14 | +11 | +0 | +0 | +3 | ++ Detail + | +
+ test_author_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_best_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_category_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_detail_random_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_hot_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_language_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_limit_book_languages
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_mature_content_settings
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_random_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_read_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_recent_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_series_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_sorted_user_template
+ |
+
+
+ PASS
+
+
+
+
+
+ |
+|||||
+ test_ui_language_settings
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_anonymous.test_anonymous | +1 | +0 | +0 | +0 | +1 | ++ Detail + | +
+ test_anonymous_user
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_ebook_convert.test_ebook_convert | +12 | +0 | +9 | +0 | +3 | ++ Detail + | +
+ test_SSL_smtp_setup_error
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_STARTTLS_smtp_setup_error
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_convert_deactivate
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_convert_email
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_convert_failed_and_email
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_convert_only
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_convert_parameter
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_convert_wrong_excecutable
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_email_failed
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_email_only
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_kindle_send_not_configured
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_smtp_setup_error
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
test_edit_books.test_edit_books | +22 | +2 | +0 | +0 | +20 | ++ Detail + | +
+ test_database_errors
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_delete_book
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_delete_format
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_author
+ |
+ PASS | +|||||
+ test_edit_category
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_comments
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_bool
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_rating
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_single_select
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_text
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_language
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_publisher
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_publishing_date
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_rating
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_series
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_title
+ |
+ PASS | +|||||
+ test_typeahead_author
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_language
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_publisher
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_series
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_tag
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_upload_cover_hdd
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_edit_books_gdrive.test_edit_books_gdrive | +22 | +0 | +0 | +0 | +22 | ++ Detail + | +
+ test_database_errors
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_delete_book
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_delete_format
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_author
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_category
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_comments
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_bool
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_rating
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_single_select
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_custom_text
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_language
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_publisher
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_publishing_date
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_rating
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_series
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_edit_title
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_author
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_language
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_publisher
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_series
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_typeahead_tag
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_upload_cover_hdd
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_login.test_login | +6 | +5 | +1 | +0 | +0 | ++ Detail + | +
+ test_login_capital_letters_user_unicode_password_passwort
+ |
+ PASS | +|||||
+ test_login_delete_admin
+ |
+
+
+ FAIL
+
+
+
+
+
+ |
+|||||
+ test_login_empty_password
+ |
+ PASS | +|||||
+ test_login_protected
+ |
+ PASS | +|||||
+ test_login_unicode_user_space_end_passwort
+ |
+ PASS | +|||||
+ test_login_user_with_space_passwort_end_space
+ |
+ PASS | +|||||
test_opds_feed.test_opds_feed | +1 | +0 | +0 | +0 | +1 | ++ Detail + | +
+ test_opds
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_updater.test_updater | +1 | +0 | +0 | +0 | +1 | ++ Detail + | +
+ test_updater
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_register.test_register | +4 | +0 | +0 | +0 | +4 | ++ Detail + | +
+ test_login_with_password
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_registering_user
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_registering_user_fail
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
+ test_resend_password
+ |
+
+
+ SKIP
+
+
+
+
+
+ |
+|||||
test_cli.test_cli | +4 | +4 | +0 | +0 | +0 | ++ Detail + | +
+ test_cli_SSL_files
+ |
+ PASS | +|||||
+ test_cli_different_folder
+ |
+ PASS | +|||||
+ test_cli_different_settings_database
+ |
+ PASS | +|||||
+ test_environ_port_setting
+ |
+ PASS | +|||||
Total | +125 | +58 | +12 | +0 | +55 | ++ |
"); + d.write(html_escape(output_list[id])); + d.write("\n"); + d.write("close\n"); + d.write("\n"); + d.close(); +} +*/ +function drawCircle(pass, fail, error, skip){ + var color = ["#5cb85c","#d9534f","#c00","#f0ad4e"]; + var data = [pass,fail,error,skip]; + var text_arr = ["pass", "fail", "error","skip"]; + + var canvas = document.getElementById("circle"); + var ctx = canvas.getContext("2d"); + var startPoint=0; + var width = 20, height = 10; + var posX = 112 * 2 + 20, posY = 30; + var textX = posX + width + 5, textY = posY + 10; + for(var i=0;i