jj/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
..
common tests: move testutils module into separate crate 2022-11-08 07:29:35 -08:00
test_alias.rs log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
test_branch_command.rs cli: make jj branch take subcommands, not flags 2022-06-06 09:02:56 -07:00
test_checkout.rs cli: drop support for ui.enable-open-commits config 2022-11-05 06:14:37 -07:00
test_commit_command.rs cli: add commit as its own command (not an alias for close) 2022-11-05 06:14:37 -07:00
test_concurrent_operations.rs cli: when merging concurrent operations, snapshot afterwards 2022-10-12 06:22:38 -07:00
test_describe_command.rs cli: make jj move/squash/unsquash ask for combined description 2022-08-30 21:41:26 -07:00
test_diff_command.rs diff: make sure word diff print final newline 2022-07-07 23:29:18 +09:00
test_edit_command.rs tests: avoid about-to-be-deleted open template keyword 2022-11-05 06:14:37 -07:00
test_git_clone.rs Fixes suggested by new version of Clippy 2022-11-03 21:38:16 -07:00
test_git_colocated.rs git: update our record of Git branches on export 2022-11-13 15:06:10 -08:00
test_git_push.rs test_git_push: create Git repo using jj commands 2022-11-13 15:29:48 -08:00
test_git_remotes.rs cli: add git remote rename subcommand 2022-10-20 11:04:16 -07:00
test_gitignores.rs tests: move testutils from src/ to tests/ 2022-04-02 14:22:58 -07:00
test_global_opts.rs Add --config-toml command-line argument for additional TOML config 2022-11-05 21:21:33 -07:00
test_init_command.rs log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
test_interdiff_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_log_command.rs revset: implement file(pattern[, candidates]) predicate 2022-10-24 01:48:00 +09:00
test_move_command.rs cli: make jj move/squash/unsquash ask for combined description 2022-08-30 21:41:26 -07:00
test_new_command.rs cli: fix crash on "jj merge whatever root" 2022-09-01 13:36:17 +09:00
test_obslog_command.rs log: move commit ID off to the right 2022-11-14 07:49:52 -08:00
test_operations.rs operations: make hostname and username configurable 2022-11-14 10:02:04 -08:00
test_print_command.rs conflicts: change diff line marker to %%%%%%% 2022-09-20 15:26:29 +09:00
test_rebase_command.rs test_rebase_command: avoid unnecessary close command 2022-11-05 06:14:37 -07:00
test_restore_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_revset_output.rs revset: report bad number of arguments with span 2022-11-03 09:41:04 +09:00
test_sparse_command.rs tests: re-run with insta crate version b9d99e87065b 2022-04-28 16:55:10 -07:00
test_split_command.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_squash_command.rs tests: use jj new instead of jj merge in tests 2022-08-31 07:51:32 -07:00
test_templater.rs git: on initial export, export all branches 2022-11-13 15:06:10 -08:00
test_touchup_command.rs Fixes suggested by new version of Clippy 2022-11-03 21:38:16 -07:00
test_undo.rs cli: show placeholder text for empty commit message 2022-05-18 09:16:04 -07:00
test_unsquash_command.rs tests: use jj new instead of jj merge in tests 2022-08-31 07:51:32 -07:00
test_untrack_command.rs cli: separate out hint in untrack message 2022-11-12 17:58:22 -08:00
test_workspaces.rs tests: avoid about-to-be-deleted close command 2022-11-05 06:14:37 -07:00