Mercurial > evolve
changeset 5991:79a63cc9757e
tests: add the other methods for debugstablerange as test cases
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 29 Jun 2021 12:46:28 +0300 |
parents | d28c9f359464 |
children | eb1333a0c290 |
files | tests/test-stablerange-branchpoint.t tests/test-stablerange.t |
diffstat | 2 files changed, 35 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-stablerange-branchpoint.t Tue Jun 29 12:16:17 2021 +0300 +++ b/tests/test-stablerange-branchpoint.t Tue Jun 29 12:46:28 2021 +0300 @@ -8,9 +8,23 @@ > evolve = > [ui] > logtemplate = "{rev} {node|short} {desc} {tags}\n" + > EOF + +#testcases basic-branchpoint branchpoint + +#if basic-branchpoint + $ cat << EOF >> $HGRCPATH + > [defaults] + > debugstablerange = --method basic-branchpoint + > EOF +#endif + +#if branchpoint + $ cat << EOF >> $HGRCPATH > [defaults] > debugstablerange = --method branchpoint > EOF +#endif Simple linear test ==================
--- a/tests/test-stablerange.t Tue Jun 29 12:16:17 2021 +0300 +++ b/tests/test-stablerange.t Tue Jun 29 12:46:28 2021 +0300 @@ -8,9 +8,30 @@ > evolve = > [ui] > logtemplate = "{rev} {node|short} {desc} {tags}\n" + > EOF + +#testcases default basic-mergepoint mergepoint + +#if default + $ cat << EOF >> $HGRCPATH > [defaults] > debugstablerange = --method default > EOF +#endif + +#if basic-mergepoint + $ cat << EOF >> $HGRCPATH + > [defaults] + > debugstablerange = --method basic-mergepoint + > EOF +#endif + +#if mergepoint + $ cat << EOF >> $HGRCPATH + > [defaults] + > debugstablerange = --method mergepoint + > EOF +#endif Simple linear test ==================