You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Robert Iannucci c39a77883d [gclient] Reset to parent commit with rebase_patch_ref=False instead of master.
This makes no-rebase-patch-ref correctly populate `file_list` and work with
`git diff --cached` (i.e. they will show only the files affected by the
patchset).

Previously gclient would `reset --soft` to master. Because we didn't rebase
on top of master with `no-rebase-patch-ref`, it has roughly nothing to do
with the patchref we just checked out.

R=gbeaty@chromium.org, ltina@google.com, tandrii@chromium.org

Context:
Tricium recipes sometimes need to use no-rebase-patch-ref in order to get
accurate linenumbers in the diff (i.e. so that the tricium comments will
actually line up correctly with the patchset the user uploaded); Tricium
recipes also need to accurately get the diff file list in this mode.
Change-Id: I5f3c95cd4958cf407a83b96c238b8c55c452ac81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1895041
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
6 years ago
..
gstools
OWNERS [ninjalog_uploader] add tests 7 years ago
auth_test.py auth: Fix has_luci_context_local_auth. 6 years ago
bot_update_coverage_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
cipd_bootstrap_test.py
download_from_google_storage_unittest.py Make download_from_google_storage_unittest.py work with Python 3. 6 years ago
fix_encoding_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
gclient_eval_unittest.py Add support for multi argument ands and ors, and the same precedence with 6 years ago
gclient_scm_test.py [gclient] Reset to parent commit with rebase_patch_ref=False instead of master. 6 years ago
gclient_smoketest.py Make gclient.py warn on Python 3 6 years ago
gclient_test.py Reland "gclient_utils: buffer output as bytestrings in Annotated" 6 years ago
gclient_utils_test.py gclient_utils: Make FileRead always return a Unicode string. 6 years ago
gerrit_util_test.py Reland "gerrit_util: Refactor ReadHttpResponse and add more tests." 6 years ago
git_cache_test.py depot_tools: Run git_cache_test and git_footers_test on windows. 6 years ago
git_cl_creds_check_report.txt
git_cl_test.py git-cl: Fix some python3 compatibility errors. 6 years ago
git_common_test.py git-common: Explicitly specify utf-8 when encoding. 6 years ago
git_dates_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
git_drover_test.py git-drover: Fix tests to run on Python 3. 6 years ago
git_footers_test.py depot_tools: Run git_cache_test and git_footers_test on windows. 6 years ago
git_hyper_blame_test.py git-hyper-blame: Make tests run on Python 3. 6 years ago
git_number_test.py git-number: Make tests run on Python 3. 6 years ago
git_rebase_update_test.py git-rebase-update: Make tests run on Python 3. 6 years ago
gsutil_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
metrics_test.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
ninjalog_uploader_test.py [ninjalog] fully anonymize build stats before sending 7 years ago
owners_finder_test.py Make find_owners_test.py pass consistently. 6 years ago
owners_unittest.py depot_tools: Make owners tests run on Python 3 6 years ago
presubmit_unittest.py presubmit_support: Fix tests on Python 3. 6 years ago
recipes_test.py [recipes] Remove deprecated (ignored) --use-bootstrap flag 7 years ago
roll_dep_test.py
scm_unittest.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
subprocess2_test.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
upload_to_google_storage_unittest.py Make upload_to_google_storage.py and tests work with Python 3. 6 years ago
watchlists_unittest.py depot_tools: Make watchlist tests use mock and remove pymox. 6 years ago