~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4325.4.5.

  • Committer: Vincent Ladeuil
  • Date: 2009-05-07 17:03:30 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090507170330-smhj6usbtj2i2d4l
Some cleanup in blackbox log tests.

* bzrlib/tests/blackbox/test_log.py:
(TestLog.make_minimal_branch, TestLog.make_linear_branch,
TestLog.commit_options, TestLog.check_log): New helpers.
(TestLogRevSpecs): Start splitting tests in more focused
classes. Reduce setUp scope to get better focused tests too (not
all the tests require the same branch nor its associated full
log).
(TestLogTZ): Separate timezone related test.
(TestLogVerbose): Simplify setup.
(TestLogMerges): Unify setups and use more regular commit messages
and branch nicks.
(TestLogMerges.check_log): Unify checks respecting setup
constraints.
(subst_dates): Deleted, we now have commits with fixed dates.
(TestLogDiff): Unify setups and use more regular commit messages
and branch nicks.
(TestLogUnicodeDiff): Isolate unicode test as it uses a different
setup.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: