[PATCH] bundle reordering unit tests: check some edge cases
Jeremy Kerr
jk at ozlabs.org
Sat Aug 15 13:23:29 EST 2009
Eduardo,
> While testing BundleReorderTest, I felt like adding more test cases
> to check if reordering is touching only the right patches on the
> bundle.
>
> This increases the number of patches on the test bundle to 5, and
> changes the code to do the following tests:
>
> - Reorder all patches
> - Reorder only the first 3 patches
> - Reorder only the last 3 patches
> - Reorder only the middle 3 patches
> - On all above tests, check if the 'order' field on the BundlePatch
> objects is still consistent
>
>
> Signed-off-by: Eduardo Habkost <ehabkost at redhat.com>
Thanks, applied.
Jeremy
More information about the Patchwork
mailing list