jj/lib/tests
Yuya Nishihara 46d5555be4 cleanup: leverage trait upcasting, delete as_any*()
This patch also adds .downcast*() wrappers to prevent misuse of as &Any casting.
The compiler wouldn't help detect &Arc<T> as &Any, for example.

https://blog.rust-lang.org/2025/04/03/Rust-1.86.0/#trait-upcasting
2025-09-20 01:22:47 +00:00
..
runner.rs bisect: add library for running bisection 2025-09-04 14:30:52 +00:00
test_annotate.rs cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
test_bad_locking.rs tests: add a helper for writing random commit with given parents 2025-07-31 04:56:34 +00:00
test_bisect.rs cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
test_commit_builder.rs commit_builder: make .generate_new_change_id() not imply commit is duplicated 2025-08-14 08:44:32 +00:00
test_commit_concurrent.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
test_conflicts.rs merged_tree: move MergeOptions to tree_merge 2025-09-12 16:11:13 +00:00
test_default_revset_graph_iterator.rs cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
test_eol.rs working_copy: Move conlfict_marker_styles to TreeState 2025-09-03 00:40:52 +00:00
test_evolution_predecessors.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
test_fix.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
test_git.rs store: downcast to implementation type by backend_impl() 2025-09-20 01:22:47 +00:00
test_git_backend.rs store: downcast to implementation type by backend_impl() 2025-09-20 01:22:47 +00:00
test_gpg.rs ci: Skip the GPG tests if they cannot pass on macOS 2025-08-23 13:48:25 +00:00
test_id_prefix.rs object_id: rename HexPrefix::new() to ::try_from_hex() for consistency 2025-07-02 01:56:40 +00:00
test_index.rs cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
test_init.rs store: downcast to implementation type by backend_impl() 2025-09-20 01:22:47 +00:00
test_load_repo.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
test_local_working_copy.rs cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
test_local_working_copy_concurrent.rs working_copy: move SnapshotOptions::empty_for_test() to testutils 2025-09-14 03:55:09 +00:00
test_local_working_copy_sparse.rs cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
test_merge_trees.rs files, tree: make same-change conflict resolution configurable 2025-09-11 13:14:28 +00:00
test_merged_tree.rs files: rename FileMergeOptions to MergeOptions, move to merged_tree 2025-09-11 13:14:28 +00:00
test_mut_repo.rs tests: remove CommitGraphBuilder 2025-07-31 04:56:34 +00:00
test_operations.rs tests: remove CommitGraphBuilder 2025-07-31 04:56:34 +00:00
test_refs.rs tests: remove CommitGraphBuilder 2025-07-31 04:56:34 +00:00
test_revset.rs cleanup: leverage trait upcasting, delete as_any*() 2025-09-20 01:22:47 +00:00
test_revset_optimized.rs cli, lib: convert revset expressions to use Arc over Rc 2025-09-05 16:09:44 +00:00
test_rewrite.rs rewrite: make merge_commit_trees_no_resolve_without_repo() non-recursive 2025-08-20 13:58:10 +00:00
test_rewrite_duplicate.rs rewrite: make duplicate_commits() async 2025-08-06 03:12:05 +00:00
test_rewrite_transform.rs cargo: bump MSRV to 1.88 2025-09-19 01:03:21 +00:00
test_signing.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00
test_ssh_signing.rs ssh-signing: add revocation-list option 2025-07-29 12:46:36 +00:00
test_view.rs tests: remove CommitGraphBuilder 2025-07-31 04:56:34 +00:00
test_workspace.rs cli, lib: move to Rust 2024 language edition 2025-07-28 17:05:41 +00:00