jj/lib/tests
Martin von Zweigbergk 9502d84872 operations: make hostname and username configurable
We currently get the hostname and username from the `whoami` crate. We
do that in lib crate, without giving the caller a way to override
them. That seems wrong since it might be used in a server and
performing operations on behalf of some other user. This commit makes
the hostname and username configurable, so the calling crate can pass
them in. If they have not been passed in, we still default to the
values from the `whoami` crate.
2022-11-14 10:02:04 -08:00
..
test_bad_locking.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_commit_builder.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_commit_concurrent.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_conflicts.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_diff_summary.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_git.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_index.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_init.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_load_repo.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_merge_trees.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_mut_repo.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_operations.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_refs.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_revset.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_revset_graph_iterator.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_rewrite.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_view.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_working_copy.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_working_copy_concurrent.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_working_copy_sparse.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_workspace.rs tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00