Rev 4344: (vila) Some cleanup in log tests in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri May 8 16:07:22 BST 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4344
revision-id: pqm at pqm.ubuntu.com-20090508150714-jzf02vqlrcang974
parent: pqm at pqm.ubuntu.com-20090507174741-gavb04vy1c6s0w9n
parent: v.ladeuil+lp at free.fr-20090508134019-9p02boud2y3z5ome
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2009-05-08 16:07:14 +0100
message:
  (vila) Some cleanup in log tests
modified:
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
  bzrlib/tests/blackbox/test_logformats.py test_logformats.py-20060216104208-ba5a16c83480b7e4
  bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
  bzrlib/tests/blackbox/test_push.py test_push.py-20060329002750-929af230d5d22663
  bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
    ------------------------------------------------------------
    revno: 4343.1.1
    revision-id: v.ladeuil+lp at free.fr-20090508134019-9p02boud2y3z5ome
    parent: pqm at pqm.ubuntu.com-20090507174741-gavb04vy1c6s0w9n
    parent: v.ladeuil+lp at free.fr-20090508133932-4fbx4z8fvraeyjdy
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: integration
    timestamp: Fri 2009-05-08 15:40:19 +0200
    message:
      Some cleanup in log tests
    modified:
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
      bzrlib/tests/blackbox/test_logformats.py test_logformats.py-20060216104208-ba5a16c83480b7e4
      bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
      bzrlib/tests/blackbox/test_push.py test_push.py-20060329002750-929af230d5d22663
      bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
    ------------------------------------------------------------
    revno: 4325.4.6
    revision-id: v.ladeuil+lp at free.fr-20090508133932-4fbx4z8fvraeyjdy
    parent: v.ladeuil+lp at free.fr-20090507170330-smhj6usbtj2i2d4l
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Fri 2009-05-08 15:39:32 +0200
    message:
      Fixed as per John's and Markus reviews.
      
      * bzrlib/tests/blackbox/test_push.py:
      (TestPush.test_push_with_revisionspec): Fix wrong run_bzr_error
      call. Additionnally the error regexp was wrong !
      
      * bzrlib/tests/blackbox/test_ls.py:
      (TestLS.test_ls_path, TestLS.test_kinds): Fix wrong run_bzr_error
      calls.
      
      * bzrlib/tests/__init__.py:
      (TestCase.run_bzr): Add a check to catch errors in error_regexes
      usage where people use a a string that it then iterated char by
      char for matching (which is most certainly not the intent of the
      test writer).
      
      * bzrlib/tests/blackbox/test_log.py:
      Fix run_bzr_error calls. Fix some white spaces issues (some
      expected strings were using TABs and were wrongly caught by
      test_coding_style(), but fixing the strings wasn't really a
      problem either.
    modified:
      bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
      bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
      bzrlib/tests/blackbox/test_ls.py test_ls.py-20060712232047-0jraqpecwngee12y-1
      bzrlib/tests/blackbox/test_push.py test_push.py-20060329002750-929af230d5d22663
      bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
    ------------------------------------------------------------
    revno: 4325.4.5
    revision-id: v.ladeuil+lp at free.fr-20090507170330-smhj6usbtj2i2d4l
    parent: v.ladeuil+lp at free.fr-20090506081744-cddmmug2gl2wm7ex
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Thu 2009-05-07 19:03:30 +0200
    message:
      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.
    modified:
      bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
    ------------------------------------------------------------
    revno: 4325.4.4
    revision-id: v.ladeuil+lp at free.fr-20090506081744-cddmmug2gl2wm7ex
    parent: v.ladeuil+lp at free.fr-20090506081037-095pb9q9zq42gv0o
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Wed 2009-05-06 10:17:44 +0200
    message:
      Clarify LogCatcher purpose.
      
      * bzrlib/tests/test_log.py:
      (LogCatcher.__init__): We are catching revisions, not their
      formatted logs.
    modified:
      bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
    ------------------------------------------------------------
    revno: 4325.4.3
    revision-id: v.ladeuil+lp at free.fr-20090506081037-095pb9q9zq42gv0o
    parent: v.ladeuil+lp at free.fr-20090505153134-q4bp4is9gywsmzrv
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Wed 2009-05-06 10:10:37 +0200
    message:
      More cleanups.
      
      * bzrlib/tests/test_log.py:
      (TestCaseWithoutPropsHandler.setUp): Simplify.
      
      * bzrlib/tests/blackbox/test_log.py: 
      Clean imports.
    modified:
      bzrlib/tests/blackbox/test_log.py test_log.py-20060112090212-78f6ea560c868e24
      bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309
    ------------------------------------------------------------
    revno: 4325.4.2
    revision-id: v.ladeuil+lp at free.fr-20090505153134-q4bp4is9gywsmzrv
    parent: v.ladeuil+lp at free.fr-20090505122706-hha5brmq94mld5cb
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Tue 2009-05-05 17:31:34 +0200
    message:
      Clean up test for log formats.
      
      * bzrlib/tests/blackbox/test_logformats.py:
      Update tests to actual style.
    modified:
      bzrlib/tests/blackbox/test_logformats.py test_logformats.py-20060216104208-ba5a16c83480b7e4
    ------------------------------------------------------------
    revno: 4325.4.1
    revision-id: v.ladeuil+lp at free.fr-20090505122706-hha5brmq94mld5cb
    parent: pqm at pqm.ubuntu.com-20090504033314-7mfh3y311028dk2m
    committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
    branch nick: log-tests
    timestamp: Tue 2009-05-05 14:27:06 +0200
    message:
      Some cleanups.
      
      * bzrlib/tests/blackbox/test_logformats.py: 
      Fix import, use a proper setUp method.
      
      * bzrlib/tests/test_log.py:
      (LogCatcher.__init__): Fix comment.
    modified:
      bzrlib/tests/blackbox/test_logformats.py test_logformats.py-20060216104208-ba5a16c83480b7e4
      bzrlib/tests/test_log.py       testlog.py-20050728115707-1a514809d7d49309

Diff too large for email (1370 lines, the limit is 1000).



More information about the bazaar-commits mailing list