MCPcopy Create free account

hub / github.com/Tribler/tribler / functions

Functions1,819 in github.com/Tribler/tribler

Methodtest_reset_priorities_given
Test if streams can be reset to the given priority for a given pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:327
Methodtest_reset_priorities_prio
Test if streams can be reset to the given priority for all pieces.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:314
Methodtest_resolve
Test if torrent data can be resolved and a notification is sent.
src/tribler/test_unit/core/rss/test_rss.py:57
Methodtest_resolve_error
Test if no notification is not sent when a URL fails to resolve.
src/tribler/test_unit/core/rss/test_rss.py:72
Methodtest_resolve_malformed
Test if no notification is not sent when a URL resolves to bad metainfo.
src/tribler/test_unit/core/rss/test_rss.py:84
Methodtest_resolver
Test if the resolver creates a correctly resolved dict.
src/tribler/test_unit/core/socks5/test_aiohttp_connector.py:87
Methodtest_response_convert_dict_to_json
Test if base RESTResponse automatically switch to json when fed a dict.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:46
Methodtest_response_convert_list_to_json
Test if base RESTResponse automatically switch to json when fed a list.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:57
Methodtest_response_no_convert_other
Test if base RESTResponse automatically switch to json when fed a list.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:68
Methodtest_restart
Check for gotcha's with non-async adding and removing and task manager names.
src/tribler/test_unit/core/rss/test_rss.py:46
Methodtest_resume_data_failed
Test if an error is raised when loading resume data failed.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:521
Methodtest_resume_from_legacy_complete
Check if we can load legacy format with complete torrent info. Deprecated functionality, remove later.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:613
Methodtest_resume_from_legacy_no_info
Check if we can load legacy format without torrent info. Deprecated functionality, remove later.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:631
Methodtest_resume_from_legacy_pre_start
Check if we can load legacy format that has not started yet. Deprecated functionality, remove later.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:647
Methodtest_return_handled_exception
Test if a standard response can be constructed from an exception.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:79
Methodtest_root_attach_endpoint
Test if RootEndpoints can attach other endpoints.
src/tribler/test_unit/core/restapi/test_rest_endpoint.py:28
Methodtest_sanitize
Test if parameters are properly sanitized.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:31
Methodtest_sanitize_query
Test if queries are properly sanitized.
src/tribler/test_unit/core/content_discovery/test_community.py:264
Methodtest_sanitize_query_binary_fields
Test if binary fields are properly sanitized.
src/tribler/test_unit/core/content_discovery/test_community.py:280
Methodtest_save_checkpoint_disabled
Test if checkpoints are not saved if checkpointing is disabled.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:121
Methodtest_save_checkpoint_handle_no_data
Test if checkpoints are not saved if the handle specifies that it does not need resume data.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:133
Methodtest_save_checkpoint_no_handle_existing
Test if existing checkpoints are not overwritten by checkpoints without data.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:165
Methodtest_save_checkpoint_no_handle_no_existing
Test if checkpoints are saved for torrents without a handle and no existing checkpoint file.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:146
Methodtest_save_resume
Test if a download is resumed after fetching the save/resume data.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:76
Methodtest_seeders_rank_leechers
Test if a torrent with more leechers scores higher.
src/tribler/test_unit/core/database/test_ranks.py:70
Methodtest_seeders_rank_many
Test if a torrent with many seeders scores more than a 0.
src/tribler/test_unit/core/database/test_ranks.py:58
Methodtest_seeders_rank_relative
Test if a torrent with more seeders scores higher.
src/tribler/test_unit/core/database/test_ranks.py:64
Methodtest_seeders_rank_zero
Test if a torrent without seeders scores a 0.
src/tribler/test_unit/core/database/test_ranks.py:52
Methodtest_seek
Test if we can seek to a certain piece.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:119
Methodtest_select_response_payload
Test if SelectResponsePayload initializes correctly.
src/tribler/test_unit/core/content_discovery/test_payload.py:132
Methodtest_selected_files_all
Test if all files can be selected.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:220
Methodtest_selected_files_all_through_empty_list
Test if all files can be selected by selecting an empty list.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:246
Methodtest_selected_files_all_through_none
Test if all files can be selected by selecting None.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:233
Methodtest_selected_files_default
Test if the default selected files are no files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:183
Methodtest_selected_files_first
Test if the first selected file in a list of files gets correctly selected.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:207
Methodtest_selected_files_last
Test if the last selected file in a list of files gets correctly selected.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:194
Methodtest_send_event
Test if event dicts can be sent.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:161
Methodtest_send_event_illegal_chars
Test if event dicts error out if they contain illegal characters.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:178
Methodtest_send_introduction_request
If a node has sent us its peer_flag, check if an introduction_request is sent.
src/tribler/test_unit/core/tunnel/test_discovery.py:93
Methodtest_send_to
Test if we can send over an established UDP connection.
src/tribler/test_unit/core/socks5/test_client.py:138
Methodtest_send_to_no_connection
Test if we cannot send without an established UDP connection.
src/tribler/test_unit/core/socks5/test_client.py:151
Methodtest_set_bootstrap_download
Test if the bootstrap download flag is set correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:53
Methodtest_set_dest_dir
Test if the destination directory is correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:21
Methodtest_set_hops
Test if the hops are correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:29
Methodtest_set_on_old
Test if we can set a key on an old dict that is missing it.
src/tribler/test_unit/test_tribler_config.py:45
Methodtest_set_priority
Test if setting the priority calls the right methods in download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:336
Methodtest_set_proxy_settings
Test if the proxy settings can be set.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:273
Methodtest_set_safe_seeding
Test if safe seeding setting is set correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:37
Methodtest_set_seeding_ratio
Test if the individual seeding ratio is set correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:91
Methodtest_set_selected_files
Test if the selected files are set correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:45
Methodtest_set_ui_missing
Test if we can set a key in a missing ui entry.
src/tribler/test_unit/test_tribler_config.py:56
Methodtest_set_user_stopped
Test if the user stopped flag is set correctly.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_config.py:61
Methodtest_should_join_circuit
Test if we can join a circuit.
src/tribler/test_unit/core/tunnel/test_community.py:321
Methodtest_should_replace_equivalent_lower
Test if health info should replace other health info with less seeders/leechers.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:134
Methodtest_should_replace_invalid
Test if invalid health info should not replace anything.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:86
Methodtest_should_replace_not_self_checked_lower
Test if self-checked health info should replace non-self-checked health info with less seeders/leechers.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:110
Methodtest_should_replace_not_self_checked_old
Test if self-checked health info should replace old non-self-checked health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:102
Methodtest_should_replace_old
Test if newer health info should replace older health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:118
Methodtest_should_replace_own_self_checked
Test if self-checked health info should replace equal self-checked health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:94
Methodtest_should_replace_self_checked
Test if health info should replace self-checked health info.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:126
Methodtest_should_replace_unrelated
Test if trying to replace unrelated health info raises an error.
src/tribler/test_unit/core/torrent_checker/test_dataclasses.py:77
Methodtest_shutdown
Test if a call to the shutdown endpoint calls the shutdown event.
src/tribler/test_unit/core/restapi/test_shutdown_endpoint.py:14
Methodtest_shutdown
Test if the shutdown method closes the stream and clears the futures dictionary.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:602
Methodtest_shutdown_forgotten_query
Test if a call to the shutdown endpoint with a forgotten query argument still shuts down.
src/tribler/test_unit/core/restapi/test_shutdown_endpoint.py:29
Methodtest_shutdown_parent_before_event
Test if a parent shutdown does not cause errors after handling a child.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:231
Methodtest_shutdown_restart
Test if a call to the shutdown endpoint with a restart request, sets the appropriate flag.
src/tribler/test_unit/core/restapi/test_shutdown_endpoint.py:44
Methodtest_signed_payload_sign
Test if signing a SignedPayload and unpacking it, leads to the same payload.
src/tribler/test_unit/core/database/test_serialization.py:72
Methodtest_signed_payload_to_dict_signed
Test if converting a signed SignedPayload to a dict and loading it again, leads to the same payload.
src/tribler/test_unit/core/database/test_serialization.py:91
Methodtest_signed_payload_to_dict_unsigned
Test if converting an unsigned SignedPayload to a dict and loading it again, leads to the same payload.
src/tribler/test_unit/core/database/test_serialization.py:110
Methodtest_skip_check
Test if no notification is not sent when a URL resolves to bad metainfo.
src/tribler/test_unit/core/rss/test_rss.py:96
Methodtest_squash_mdblobs
Test if mdblobs can be squashed and processed again.
src/tribler/test_unit/core/database/test_store.py:45
Methodtest_squash_mdblobs_multiple_chunks
Test if multiple mdblobs can be squashed and processed again.
src/tribler/test_unit/core/database/test_store.py:64
Methodtest_start_download
Test if a torrent can be added to the download manager.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:174
Methodtest_start_download_existing_download
Test if torrents can be added when there is a pre-existing download.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:239
Methodtest_start_download_existing_handle
Test if torrents can be added when there is a pre-existing handle.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:223
Methodtest_start_download_from_magnet_keep_preselected
Test if a magnet link's selected files do not overwrite the user's selected files.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:556
Methodtest_start_download_from_magnet_no_name
Test if a download is started with `Unknown name` name when the magnet has no name.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:501
Methodtest_start_download_from_magnet_with_all_extras
Test if a download is started with all six supported extras in the URI. NOTE: libtorrent only uses the first (x.pe) peer and ignores
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:525
Methodtest_start_download_from_magnet_with_name
Test if a download is started with `Unknown name` name when the magnet has no name.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:513
Methodtest_start_download_from_url
Test if torrents can be loaded from a URL.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:479
Methodtest_start_download_from_url_404
Test if 404 errors are not caught.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:492
Methodtest_start_download_no_ti_url
Test if a ValueError is raised if we try to add a torrent without infohash or url.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:253
Methodtest_start_download_while_getting_metainfo
Test if a torrent can be added while a metainfo request is running.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:156
Methodtest_start_handle_wait_for_dht
Test if start handle waits for the DHT to be ready.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:207
Methodtest_start_handle_wait_for_dht_timeout
Test if start handle waits no longer than the set timeout for the DHT to be ready.
src/tribler/test_unit/core/libtorrent/download_manager/test_download_manager.py:195
Methodtest_stream
Test if files can be streamed from a download. Note: we read the first byte of this test file (").
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:838
Methodtest_stream_error
Test if a chunk context closes the chunk when an exception occurs.
src/tribler/test_unit/core/libtorrent/download_manager/test_stream.py:59
Methodtest_stream_no_download
Test if a graceful error is returned when no download is found.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:805
Methodtest_stream_unsatisfiable
Test if a graceful error is returned when the requested stream start is unsatisfiable.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:817
Methodtest_task_select_no_tracker
Test if we are not checking a random tracker when there are no trackers in the database.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:164
Methodtest_task_select_tracker
Test if a random tracker can be selected.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:193
Methodtest_tcp_connection_lost
Test if the tranport is set to None when a TCP connection is lost.
src/tribler/test_unit/core/socks5/test_client.py:70
Methodtest_tdef_to_metadata_dict
Test if TorrentDef instances are correctly represented by dictionaries.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:51
Methodtest_time2int
Test if time2int normalizes timestamps based on the supplied epoch.
src/tribler/test_unit/core/database/test_serialization.py:25
Methodtest_timeout_no_cb
Test if a SelectRequest can time out without a callback set.
src/tribler/test_unit/core/content_discovery/test_cache.py:18
Methodtest_timeout_with_cb
Test if a SelectRequest can time out with a callback set.
src/tribler/test_unit/core/content_discovery/test_cache.py:30
Methodtest_title_rank_exact_match
Test if an exact title match leads to a score of exactly 1.
src/tribler/test_unit/core/database/test_ranks.py:21
Methodtest_title_rank_no_match
Test if input of different titles leads to a score less than 1.
src/tribler/test_unit/core/database/test_ranks.py:27
Methodtest_torrent_checked_alert_no_pause_checkpoint
Test if no pause but a checkpoint happens if the download state is such.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:446
Methodtest_torrent_checked_alert_no_pause_no_checkpoint
Test if no pause or checkpoint happens if the download state is such.
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:428
← previousnext →1,601–1,700 of 1,819, ranked by callers