# HG changeset patch # User Anton Shestakov # Date 1624959988 -10800 # Node ID 79a63cc9757e2eaab94cb774100aeeeeb750b3ef # Parent d28c9f359464fb1a8e59d7c61727bf3a08de1526 tests: add the other methods for debugstablerange as test cases diff -r d28c9f359464 -r 79a63cc9757e tests/test-stablerange-branchpoint.t --- 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 ================== diff -r d28c9f359464 -r 79a63cc9757e tests/test-stablerange.t --- 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 ==================