jj/lib/tests
Martin von Zweigbergk f1d7bbe508 testutils: create a function for writing a random commit to MutableRepo
We already have `create_random_commit()`, which returns a
`CommitBuilder`. Most callers directly write that to a
`MutableRepo`. That currently returns a `Commit`, but I'm about to
make it propagate errors from the backend. That would add an
`unwrap()` to this sequence, making it longer. Let's create a simple
helper for these callers to simplify this common pattern.
2022-12-26 23:30:52 -08:00
..
test_bad_locking.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_commit_builder.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_commit_concurrent.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_conflicts.rs Rename FileConflictData to ConflictHunk, use it in files.rs. 2022-12-03 15:12:40 -08:00
test_diff_summary.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_git.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_index.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_init.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_load_repo.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_merge_trees.rs commit_builder: keep MutableRepo reference 2022-12-26 23:30:52 -08:00
test_mut_repo.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_operations.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_refs.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_revset_graph_iterator.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_revset.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_rewrite.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_view.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_working_copy_concurrent.rs cleanup: let new Clippy move variables into format strings 2022-12-14 21:30:58 -08:00
test_working_copy_sparse.rs copyright: change from "Google LLC" to "The Jujutsu Authors" 2022-11-28 06:05:45 -10:00
test_working_copy.rs testutils: create a function for writing a random commit to MutableRepo 2022-12-26 23:30:52 -08:00
test_workspace.rs repo: rename BackendFactories to StoreFactories 2022-12-14 14:10:30 -08:00