diff options
author | Aviv Keshet <akeshet@chromium.org> | 2013-04-01 11:42:13 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-04-10 19:23:13 -0700 |
commit | b1238c3a0300f52fc91ed76033396a4dbe546311 (patch) | |
tree | 62a8d2bbca9d2057498e3c435cf21c7f541b3d08 /bin | |
parent | cb2252dcbf568bcf462cde037a12e52466b282f3 (diff) | |
download | chromite-b1238c3a0300f52fc91ed76033396a4dbe546311.tar.gz |
refactor and unittest autotest_quickmerge
Refactoring and new tests. Changes:
1) Rename autotest-quickmerge -> autotest_quickmerge so that it can be
imported as python module.
2) Refactor argument parsing and rsync command running into their own
functions.
3) Add unittest for RsyncQuickmerge.
4) Add some docstrings.
BUG=chromium:229234
TEST=unit test passes
Change-Id: I0469cf87ca6b967e554ed38f2e183578034b7ff2
Reviewed-on: https://gerrit.chromium.org/gerrit/47591
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Aviv Keshet <akeshet@chromium.org>
Diffstat (limited to 'bin')
l--------- | bin/autotest_quickmerge (renamed from bin/autotest-quickmerge) | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/bin/autotest-quickmerge b/bin/autotest_quickmerge index 72196ceea..72196ceea 120000 --- a/bin/autotest-quickmerge +++ b/bin/autotest_quickmerge |