servo/components/net
Simon Sapin 1f7ebfc8a2 Make mach test-unit not recompile components after mach build
Previously, the `tests` feature flag of the `embedder_traits` crate
caused it and every crate recursively depending on it to be built twice.

This feature flag was used to provide a specific set of "resources"
when running tests. Instead, this commits overrides the `main()` function
of the test harness to change resources at runtime before running any test.

This is done by adding a dependency that has `name = "test"` in its
`[lib]` section of `Cargo.toml`. This overrides the crate found by
`extern crate test;` in code generated by `rustc --test`.
2018-10-07 13:27:23 +02:00
..
fetch Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
tests Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
blob_loader.rs Remove unused part of the return value of parse_blob_url(). 2017-01-30 15:16:27 +01:00
Cargo.toml Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
connector.rs Handle secure websockets 2018-08-16 00:24:19 +02:00
cookie.rs Implement secure and host cookie prefixes 2017-11-21 19:15:58 -08:00
cookie_storage.rs Replace a boxed iterator with impl Trait 2018-05-11 09:12:11 -07:00
data_loader.rs Replace use of rustc_serialize::base64 by base64 2017-03-26 14:15:31 +02:00
filemanager_thread.rs move top_level_browsing_context_id out of embedder msg 2018-05-23 21:46:05 +08:00
hosts.rs Replace parse-hosts crate with 10 lines of code. 2017-11-28 16:19:29 +01:00
hsts.rs delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
http_cache.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
http_loader.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
image_cache.rs Update WR (transaction API change) 2018-06-20 09:15:31 +10:00
lib.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
mime_classifier.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
resource_thread.rs Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
storage_thread.rs Save local storage at every change and not just on shutdown 2018-05-20 12:15:02 -07:00
subresource_integrity.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
websocket_loader.rs The WS protocols should be case sensitive, not insensitive 2018-08-16 15:50:50 +02:00