~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2009-01-30 00:49:41 UTC
  • mto: (3982.1.1 bzr.integration)
  • Revision ID: v.ladeuil+lp@free.fr-20090130004941-820fpd2ryyo127vv
Add more tests, fix pycurl double handling, revert previous tracking.

* bzrlib/tests/test_http.py:
(PredefinedRequestHandler): Renamed from
PreRecordedRequestHandler.
(PredefinedRequestHandler.handle_one_request): Get the canned
response from the test server directly.
(ActivityServerMixin): Make it a true object and intialize the
attributes in the constructor. Tests can now set the
canned_response attribute before querying the server.
(TestActivity.setUp, TestActivity.tearDown,
TestActivity.get_transport, TestActivity.assertActivitiesMatch):
Extracted from test_get to be able to write other tests.
(TestActivity.test_has, TestActivity.test_readv,
TestActivity.test_post): New tests, all cases should be covered
now.

* bzrlib/transport/http/response.py:
(RangeFile.__init__, RangeFile.read, handle_response): Revert
previous tracking, both http implementations can now report
activity from the socket.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._get_ranged, PyCurlTransport._post): Revert
previous tracking.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 3890.2.7 16 years ago John Arbash Meinel A Pyrex extension is about 5x faster than the fast 993 bytes Diff Download File
.rsyncexclude 1185.33.36 19 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 3945.1.8 15 years ago Vincent Ladeuil Add more tests, fix pycurl double handling, revert 150 bytes Diff Download File
File bzr 3936.1.2 15 years ago Martin Pool Bump version to 1.12 and add news template 5.3 KB Diff Download File
bzr.ico 3688.3.3 16 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 2911.6.1 17 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 2.9 KB Diff Download File
INSTALL 2696.2.4 17 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 3904.1.1 16 years ago Ian Clatworthy Improved help on storage formats (Ian Clatworthy) 8.8 KB Diff Download File
NEWS 3945.1.8 15 years ago Vincent Ladeuil Add more tests, fix pycurl double handling, revert 311 KB Diff Download File
profile_imports.py 3696.1.1 16 years ago John Arbash Meinel Use the right timing function on win32 5.5 KB Diff Download File
README 3286 16 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 3871.1.8 15 years ago Mark Hammond merge trunk 23.9 KB Diff Download File
TODO 2382.2.5 17 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File