/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-12 14:29:32 UTC
  • mto: (2145.1.1 keepalive)
  • Revision ID: v.ladeuil+lp@free.fr-20061012142932-7221fe16d2b48fa3
Shuffle http related test code. Hopefully it ends up at the right place :)

* bzrlib/tests/HttpServer.py: 
New file. bzrlib.tests.ChrootedTestCase use HttpServer. So the
class can't be defined in bzrlib.tests.HTTPUtils because it
creates a circular dependency (bzrlib.tests.HTTPUtils needs to
import bzrlib.tests).

* bzrlib/transport/http/_urllib.py: 
Transfer test server definition to bzrlib.tests.HttpServer. Clean
up imports.

* bzrlib/transport/http/_pycurl.py: 
Transfer test server definition to bzrlib.tests.HttpServer. Clean
up imports.

* bzrlib/transport/http/__init__.py: 
Transfer all test related code to either bzrlib.tests.HttpServer
and bzrlib.tests.HTTPUtils.
Fix all use of TransportNotPossible and InvalidURL by prefixing it
by 'errors.' (this seems to be the preferred way in the rest of
bzr).
Get rid of unused imports.

* bzrlib/tests/test_transport.py:
(ReadonlyDecoratorTransportTest.test_local_parameters,
FakeNFSDecoratorTests.test_http_parameters): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.

* bzrlib/tests/test_sftp_transport.py:
(set_test_transport_to_sftp): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.

* bzrlib/tests/test_selftest.py:
(TestTestCaseWithTransport.test_get_readonly_url_http): Use
HttpServer from bzrlib.tests.HttpServer instead of
bzrlib.transport.http.

* bzrlib/tests/test_repository.py: 
Does *not* use HttpServer.

* bzrlib/tests/test_http.py: 
Build on top of bzrlib.tests.HttpServer and bzrlib.tests.HTTPUtils
instead of bzrlib.transport.http.

* bzrlib/tests/test_bzrdir.py:
(ChrootedTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/branch_implementations/test_http.py:
(HTTPBranchTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/branch_implementations/test_branch.py:
(ChrootedTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/__init__.py:
(ChrootedTestCase.setUp): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.
Filename Latest Rev Last Changed Committer Comment Size
..
tree_creator 1908.2.16 19 years ago John Arbash Meinel Move all the new TreeCreator classes into separate Diff
__init__.py 2068 18 years ago Canonical.com Patch Queue Manager (mbp) benchmark updates 8.4 KB Diff Download File
bench_add.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.1 KB Diff Download File
bench_bench.py 1955.3.16 19 years ago John Arbash Meinel Switch over to Transport.append_bytes or append_fi 4 KB Diff Download File
bench_bundle.py 1908.10.1 18 years ago Carl Friedrich Bolz Fix make_kernel_like_tree_committed, which does no 11.9 KB Diff Download File
bench_cache_utf8.py 1911.2.3 19 years ago John Arbash Meinel Moving everything into a new location so that we c 7.2 KB Diff Download File
bench_checkout.py 1908.2.18 19 years ago John Arbash Meinel I think it is actually better as simple helper fun 1 KB Diff Download File
bench_commit.py 1908.3.10 19 years ago Carl Friedrich Bolz merge bzr.dev 3.1 KB Diff Download File
bench_info.py 1908.3.15 19 years ago Carl Friedrich Bolz Fix problems pointed out by John: * Actually ben 1.3 KB Diff Download File
bench_inventory.py 1757.2.16 19 years ago Robert Collins Review comments. 1.3 KB Diff Download File
bench_log.py 1908.2.7 19 years ago John Arbash Meinel Update the benchmarks to actually use the cached t 3.2 KB Diff Download File
bench_osutils.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.2 KB Diff Download File
bench_rocks.py 2063.1.1 18 years ago John Arbash Meinel spin off startup benchmarks to their own branch 936 bytes Diff Download File
bench_sftp.py 2029.1.5 19 years ago Martin Pool merge import fix 3.2 KB Diff Download File
bench_startup.py 2063.1.1 18 years ago John Arbash Meinel spin off startup benchmarks to their own branch 3.1 KB Diff Download File
bench_status.py 1908.3.11 19 years ago Carl Friedrich Bolz Use the proper functions for constructing trees in 1.6 KB Diff Download File
bench_transform.py 1908.2.11 19 years ago John Arbash Meinel Change caching logic. Don't cache at all without - 1.4 KB Diff Download File
bench_workingtree.py 1908.2.18 19 years ago John Arbash Meinel I think it is actually better as simple helper fun 2 KB Diff Download File
bench_xml.py 1934.1.18 19 years ago John Arbash Meinel Caching revision_ids costs us a little (512 vs 475 3.5 KB Diff Download File